File: coap-server.txt.in

package info (click to toggle)
libcoap 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,540 kB
  • ctags: 1,419
  • sloc: ansic: 10,982; sh: 4,486; makefile: 215
file content (89 lines) | stat: -rw-r--r-- 1,882 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// -*- mode:doc; -*-
// vim: set syntax=asciidoc,tw=0:

coap-server(5)
==============
:doctype: manpage
:revdate: @REVDATE@
:man source:   coap-server
:man version:  @PACKAGE_VERSION@
:man manual:   coap-server Manual

NAME
-----
coap-server - CoAP Server based on libcoap

SYNOPSIS
--------
*coap-server* [*-A* addr] [*-g* group] [*-p* port] [*-v* num]

DESCRIPTION
-----------
*coap-server* is a CoAP server which simulate 6LoWPAN devices which can be
addressed via the CoAP protocol.

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

EXAMPLES
--------
* Example
----
coap-server -A ::1
----
Let the server listen on localhost (port 5683).

* Example
----
coap-server -A ::1 -p 13011
----
Quite the same, except listening port is '13011' (and not the default port
5683).

* Example
----
coap-server -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-server -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>