nes-proj/examples/coap
2019-02-09 09:58:33 +01:00
..
coap-example-client Exclude z1 from some Makefiles: not all examples can be built on z1 due to limited memory 2019-01-14 14:55:34 +00:00
coap-example-server Merge branch 'develop' into coap-example-periodic-resource-interval-fix 2019-02-09 09:58:33 +01:00
coap-plugtest-server
README.md

CoAP examples: client, server, and plugtest server

  • coap-example-server: A CoAP server example showing how to use the CoAP layer to develop server-side applications.
  • coap-example-client: A CoAP client that polls the /actuators/toggle resource every 10 seconds and cycles through 4 resources on button press (target address is hard-coded).
  • coap-plugtest-server: The server used for draft compliance testing at ETSI IoT CoAP Plugtests. Erbium (Er) participated in Paris, France, March 2012 and Sophia-Antipolis, France, November 2012 (configured for native).

The examples can run either on a real device or as native. In the latter case, just start the executable with enough permissions (e.g. sudo), and you will then be able to reach the node via tun. A tutorial for setting up the CoAP server example and querying it is provided on the wiki.