nRF5 SDK v14.2.0
CoAP
This information applies to the following SoftDevice: S132

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 RFC 7252 for details.

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

The examples included in this SDK provide LED state information about 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 are detailed in the following pages:

Server

Observable Server

Client

Observer Client

Block transfer server


Documentation feedback | Developer Zone | Subscribe | Updated