README
1Example of libcoap running on Contiki-NG
2========================================
3
4To run the example, do
5
6 $ make
7 $ sudo ./server.native
8
9and query `coap://[fd00::302:304:506:708]/time?ticks` with any coap tool,
10or query `coap://[fd00::302:304:506:708]/.well-known/core`
11
12This will
13
14* download Contiki-NG from the upstream git sources
15* build the server application
16* run the server application, creating a virtual network device tap0 (unless
17 that exists)
18* configure your network interface to make the server accessible.
19
20* return the appropriate response from the server to the client.
21
22The server creates a resource for 'time' with a query 'ticks'. This is
23reported for `.well-known/core`. The work flow for adding more resources does
24not differ from regular libcoap usage.
25