1Example of libcoap running on lwIP 2================================== 3 4To run the example, do 5 6 $ make 7 $ sudo ./server 8 9(and in a second terminal) 10 11 $ sudo ip a a dev tap0 192.168.0.1/24 12 13and query `coap://192.168.0.2/` with any coap tool. 14 15This will 16 17* download lwip and lwip-contrib from the upstream git sources 18* apply a required patch to lwip 19* build the server application 20* run the server application, creating a virtual network device tap0 (unless 21 that exists) 22* configure your network interface to make the server accessible. 23 24The server does not create any resources (it exposes an empty 25`.well-known/core`), but the work flow for adding more resources does not 26differ from regular libcoap usage. If you seem to run out of memory creating 27the resources, tweak the number of pre-allocated resources in `lwippools.h`. 28