README.md
1# libcoap client example
2
3This example shows how to configure a client to use libcoap
4
5## Fast configuration (Between RIOT instances):
6
7Preparing the logical interfaces:
8
9 sudo ./../../dist/tools/tapsetup/tapsetup --create 2
10
11## Client invocation
12For the client:
13
14 PORT=tap0 make term
15 coapc coap://[ip6-address]/some/path
16
17The IP address to connect to needs to be that as returned by libcoap_server,
18or that of the tap0 interface, etc.
19
20## Handling the static memory allocation
21
22libcoap for RIOT is using the `sys/memarray` module and therefore there
23are certain limits. Said resources are defined in `libcoap/src/coap_mem.c`,
24but can be overwritten at compile time.
25