coap-rd man page

coap-rd ā€” A CoAP Resource Directory based on libcoap

Synopsis

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

Description

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

Options

-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.

Examples

coap-rd -A ::1

Let the server listen on localhost (port 5683).

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

Success

1

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

Bugs

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

Authors

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

Referenced By

coap(7).

07/25/2019 coap-rd 4.2.0 coap-rd Manual