1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/nanocoap_cli
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
..
main.c all: remove traces of kernel_types.h 2020-11-25 17:52:34 +01:00
Makefile examples / tests: pull in sock API not implementation 2020-09-07 08:45:25 +02:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
nanocli_client.c tests/nanocoap_cli: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +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 tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +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.