nRF51 IoT SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
CoAP

The Constrained Application Protocol (CoAP) is a UDP based transfer protocol for use with constrained nodes and constrained (e.g., low-power, lossy) networks. CoAP is based on RESTful API.

CoAP is an IETF standard, see https://datatracker.ietf.org/doc/rfc7252 for details.

Request response module is used for interaction between the server and client endpoints. Server exposes resources that the client can get, update, delete.

Examples included in this SDK provide provide LED state information of LED_3 and LED_4 as resources. The client application can change the state of the LEDs using a CoAP PUT request. These examples do not support DELETE or POST operations.


CoAP_Overall.svg
Figure 1: Setup of CoAP examples.


CoAP Server and Client Example applications detailed below:

Nordic's CoAP Server Applications

Nordic's CoAP Client Applications