table of contents
- bookworm 4.3.1-1
- testing 4.3.4-1
- unstable 4.3.4-1.1
- experimental 4.3.4-1.1~exp1
COAP-RD(5) | coap-rd Manual | COAP-RD(5) |
NAME¶
coap-rd, coap-rd-gnutls, coap-rd-mbedtls, coap-rd-openssl, coap-rd-notls - CoAP Resource Directory based on libcoap
SYNOPSIS¶
coap-rd [-g group] [-p port] [-v num] [-w [port][,secure_port]] [-A address] [-G group_if] [-T max_token_size] [-V num] [[-h hint] [-k key]] [[-c certfile] [-n] [-C cafile] [-R trusted_casfile]]
For coap-rd versions that use libcoap compiled for different (D)TLS libraries, coap-rd-notls, coap-rd-gnutls, coap-rd-openssl, coap-rd-mbedtls or coap-rd-tinydtls may be available. Otherwise, coap-rd uses the default libcoap (D)TLS support.
DESCRIPTION¶
coap-rd is a simple CoAP Resource Directory server that can handle resource registrations using the protocol CoAP (RFC 7252).
OPTIONS¶
-g group
-p port
-v num
-w [port][,secure_port]
-A address
-G group_if
-T max_token_size
-V num
OPTIONS - PSK¶
(If supported by underlying (D)TLS library)
-h hint
-k key
OPTIONS - PKI¶
(If supported by underlying (D)TLS library)
-c certfile
-n
-C cafile
-R trust_casfile
EXAMPLES¶
coap-rd -A ::1
Let the server listen on localhost (port 5683).
coap-rd -A ::1 -k mysecretKey -h myhint
Let the server listen on localhost (port 5683 and 5684) with the server set up for PSK authentication.
coap-rd -A ::1 -p 13011
Quite the same, except listening port is 13011 (and not the default port 5683).
coap-rd -A 2001:db8:81a8:0:6ef0:dead:feed:beef -v 5
The listening address is set to 2001:db8:81a8:0:6ef0:dead:feed:beef and the verbosity level is set to 5.
coap-rd -A 2001:db8:81a8:0:6ef0:dead:feed:beef -g FF02::FD
Set listening address to 2001:db8:81a8:0:6ef0:dead:feed:beef and join the All CoAP Nodes multicast group FF02::FD.
FILES¶
There are no configuration files.
EXIT STATUS¶
0
1
BUGS¶
Please report bugs on the mailing list for libcoap: libcoap-developers@lists.sourceforge.net or raise an issue on GitHub at https://github.com/obgm/libcoap/issues
AUTHORS¶
The libcoap project <libcoap-developers@lists.sourceforge.net>
01/31/2024 | coap-rd 4.3.4 |