DOKK / manpages / debian 10 / libcoap2-bin / coap-rd-gnutls.5.en
COAP-RD(5) coap-rd Manual COAP-RD(5)

coap-rd - A CoAP Resource Directory based on libcoap

coap-rd [-A addr] [-g group] [-p port] [-v num]

coap-rd is a simple CoAP Resource Directory server that can handle resource registrations using the protocol CoAP (RFC 7252).

-A addr

The local address of the interface which the server has to listen.

-g group

Join specified multicast group on startup.

-p port

The port on the given address the server will be waitung for connections. The default port is 5683 if not given any other value.

-v num

The verbosity level to use (default: 3, maximum is 9). Above 7, there is increased verbosity in GnuTLS logging.

•Example

coap-rd -A ::1

Let the server listen on localhost (port 5683).

•Example

coap-rd -A ::1 -p 13011

Quite the same, except listening port is 13011 (and not the default port 5683).

•Example

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.

•Example

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.

There are no configuration files.

0

Success

1

Failure (syntax or usage error; configuration error; document processing failure; unexpected error)

Please report bugs on the mailing list for libcoap: libcoap-developers@lists.sourceforge.net

The libcoap project <libcoap-developers@lists.sourceforge.net>

04/13/2019 coap-rd 4.2.0