Skip to content

Commit

Permalink
examples/gcoap: adjust README after taking URI as input
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian18 committed May 14, 2024
1 parent a5b6c4c commit 7e97ee8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/gcoap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 7e97ee8

Please sign in to comment.