1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/gcoap: adjust README after taking URI as input

This commit is contained in:
Fabian Hüßler 2024-05-14 08:54:41 +02:00
parent a5b6c4c051
commit 7e97ee8571

View File

@ -62,15 +62,15 @@ The port defaults to 5683 for the `gcoap` and to 5684 for the `gcoap_dtls` examp
- For IPv6 setup (network interface can be omitted)
> coap get [fe80::d8b8:65ff:feee:121b%6]:5683 /.well-known/core
> coap get coap://[fe80::d8b8:65ff:feee:121b%6]:5683/.well-known/core
- For IPv4 setup
> coap get 192.168.2.135:5683 /.well-known/core
> coap get coap://192.168.2.135:5683/.well-known/core
- When including the module `sock_dns` for domain resolution
> coap get example.com:5683 /.well-known/core
> coap get coap://example.com:5683/.well-known/core
CLI output: