1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/nanocoap_cli
bors[bot] 429de92251
Merge #19346 #19512 #19513 #19514
19346: pkg/tinydtls: allow build for AVR r=benpicco a=benpicco



19512: SUBSYSTEMS.md: add jia200x to subsystems r=benpicco a=jia200x



19513: boards/nrf52840dongle/doc: Update nrfutil pointers r=benpicco a=chrysn

### Contribution description

Nordic changed its nrfutil; this change adjust to it.

I'm not fully happy with recommending that tool at all due to its bad quality (see rambling in https://github.com/RIOT-OS/RIOT/issues/19511), but short of soldering on a debug header or touch-probing it with wires it's the only way in to the device. I may later add follow-up recommendations to switch to riotboot, but this now at least fixes the immediate issue.

### Testing procedure

* Look at the updated documentation.

### Issues/PRs references

Closes: https://github.com/RIOT-OS/RIOT/issues/19511

19514: dist/testbed-support: remove obsolete boards from iotlab archi r=benpicco a=aabadie



Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
Co-authored-by: Jose Alamos <jose@alamos.cc>
Co-authored-by: chrysn <chrysn@fsfe.org>
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2023-04-26 15:40:08 +00:00
..
main.c tests/nanocoap_cli: add DTLS support 2023-01-13 00:17:33 +01:00
Makefile tests/nanocoap_cli: define CoAP resources as XFA 2023-02-28 20:13:18 +01:00
Makefile.ci tests: update Makefile.ci where tinyDTLS is used 2023-04-26 10:31:35 +02:00
nanocli_client.c Merge #18134 #18738 #18939 #19118 2023-01-10 11:25:32 +00:00
nanocli_server.c tests/nanocoap_cli: provide coap_request_ctx_t 2022-11-22 10:41:32 +01:00
README.md tests: add CLI app for nanocoap testing 2019-01-08 08:25:04 -05:00
request_handlers.c tests/nanocoap_cli: define CoAP resources as XFA 2023-02-28 20:13:18 +01:00
tinydtls_keys.h tests/nanocoap_cli: add DTLS support 2023-01-13 00:17:33 +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.