1// -*- mode:doc; -*- 2// vim: set syntax=asciidoc,tw=0: 3 4coap-server(5) 5============== 6:doctype: manpage 7:man source: coap-server 8:man version: @PACKAGE_VERSION@ 9:man manual: coap-server Manual 10 11NAME 12----- 13coap-server - CoAP Server based on libcoap 14 15SYNOPSIS 16-------- 17*coap-server* [*-A* addr] [*-g* group] [*-p* port] [*-v* num] 18 19DESCRIPTION 20----------- 21*coap-server* is a CoAP server which simulate 6LoWPAN devices which can be 22addressed via the CoAP protocol. 23 24OPTIONS 25------- 26*-A* addr:: 27 The local address of the interface which the server has to listen. 28 29*-g* group:: 30 Join specified multicast 'group' on startup. 31 32*-p* port:: 33 The 'port' on the given address the server will be waitung for connections. 34 The default port is 5683 if not given any other value. 35 36*-v* num:: 37 The verbosity level to use (default: 3, maximum is 9). 38 39EXAMPLES 40-------- 41* Example 42---- 43coap-server -A ::1 44---- 45Let the server listen on localhost (port 5683). 46 47* Example 48---- 49coap-server -A ::1 -p 13011 50---- 51Quite the same, except listening port is '13011' (and not the default port 525683). 53 54* Example 55---- 56coap-server -A 2001:db8:81a8:0:6ef0:dead:feed:beef -v 5 57---- 58The listening address is set to '2001:db8:81a8:0:6ef0:dead:feed:beef' and the 59verbosity level is set to '5'. 60 61* Example 62---- 63coap-server -A 2001:db8:81a8:0:6ef0:dead:feed:beef -g FF02:FD 64---- 65Set listening address to '2001:db8:81a8:0:6ef0:dead:feed:beef' and join the 66All CoAP Nodes multicast group 'FF02:FD'. 67 68FILES 69------ 70There are no configuration files. 71 72EXIT STATUS 73----------- 74*0*:: 75 Success 76 77*1*:: 78 Failure (syntax or usage error; configuration error; document 79 processing failure; unexpected error) 80 81BUGS 82----- 83Please report bugs on the mailing list for libcoap: 84libcoap-developers@lists.sourceforge.net 85 86AUTHORS 87------- 88The libcoap project <libcoap-developers@lists.sourceforge.net> 89