1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/nanocoap_cli
2022-02-28 14:53:08 +01:00
..
main.c tests/nanocoap_cli: add url command 2022-02-24 12:20:05 +01:00
Makefile treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
Makefile.ci boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
nanocli_client.c tests: add missing includes 2022-02-28 14:53:08 +01:00
nanocli_server.c tests/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
README.md tests: add CLI app for nanocoap testing 2019-01-08 08:25:04 -05:00
request_handlers.c test/nanocoap_cli: include kernel_defines.h 2022-02-12 18:30:58 +01: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.