1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/net/nanocoap_cli
Teufelchen 1ac0c2cdd1
Merge pull request #20961 from maribu/tests/net/nanocoap_cli/modernize
tests/net/nanocoap_cli: make use of XFA for shell commands
2024-11-25 10:31:13 +00:00
..
main.c tests/net/nanocoap_cli: make use of XFA for shell commands 2024-11-06 21:31:55 +01:00
Makefile examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
Makefile.ci boards/weact-g030f6: add new board 2024-02-05 00:45:42 +01:00
nanocli_client.c Merge pull request #20961 from maribu/tests/net/nanocoap_cli/modernize 2024-11-25 10:31:13 +00:00
nanocli_server.c tests/net/nanocoap_cli: make use of XFA for shell commands 2024-11-06 21:31:55 +01:00
README.md tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
request_handlers.c tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
tinydtls_keys.h tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00

nanocoap Test App

Provides a CLI based tool for interactive or scripted testing of nanocoap client and server operation. Top level commands are listed below. To see command syntax, enter the command with no other text (for example, just "client").

server

Options are limited to start to start listening, and optionally the port on which to listen. Provides these resources:

/value
Reads/Writes an unsigned 8-bit integer.

/.well-known/core
Reads the list of resources. Expects a block2 based request or else returns at most the first 16 bytes of the list.

client

Provides get/put/post to an address for a resource, with an optional payload. A request always is sent confirmably due to a limitation of the nanocoap request generation facility.

inet6

Lists IPv6 address for each network interface. This listing is helpful for tap based testing, where the link local address is generated by the operating system.