1COAP-RD(5) coap-rd Manual COAP-RD(5)
2
3
4
6 coap-rd - A CoAP Resource Directory based on libcoap
7
9 coap-rd [-A addr] [-g group] [-p port] [-v num]
10
12 coap-rd is a simple CoAP Resource Directory server that can handle
13 resource registrations using the protocol CoAP (RFC 7252).
14
16 -A addr
17 The local address of the interface which the server has to listen.
18
19 -g group
20 Join specified multicast group on startup.
21
22 -p port
23 The port on the given address the server will be waitung for
24 connections. The default port is 5683 if not given any other value.
25
26 -v num
27 The verbosity level to use (default: 3, maximum is 9). Above 7,
28 there is increased verbosity in GnuTLS logging.
29
31 · Example
32
33 coap-rd -A ::1
34
35 Let the server listen on localhost (port 5683).
36
37 · Example
38
39 coap-rd -A ::1 -p 13011
40
41 Quite the same, except listening port is 13011 (and not the default
42 port 5683).
43
44 · Example
45
46 coap-rd -A 2001:db8:81a8:0:6ef0:dead:feed:beef -v 5
47
48 The listening address is set to 2001:db8:81a8:0:6ef0:dead:feed:beef and
49 the verbosity level is set to 5.
50
51 · Example
52
53 coap-rd -A 2001:db8:81a8:0:6ef0:dead:feed:beef -g FF02:FD
54
55 Set listening address to 2001:db8:81a8:0:6ef0:dead:feed:beef and join
56 the All CoAP Nodes multicast group FF02:FD.
57
59 There are no configuration files.
60
62 0
63 Success
64
65 1
66 Failure (syntax or usage error; configuration error; document
67 processing failure; unexpected error)
68
70 Please report bugs on the mailing list for libcoap:
71 libcoap-developers@lists.sourceforge.net
72
74 The libcoap project <libcoap-developers@lists.sourceforge.net>
75
76
77
78coap-rd 4.2.0 07/25/2019 COAP-RD(5)