CoAP
(CoAP)
An application protocol designed for constrained devices, with semantics close to HTTP over UDP.
Educational content in scientific-draft form; a specialist should review it before it is adopted as an academic reference. No measurement or performance result that was not actually obtained is shown here.
Protocol card
| Transport | UDP |
|---|---|
| Range | Depends on the network |
| Data rate | Depends on the network |
| Power consumption | Low overhead |
| Topology | Client–server |
How it works
A lightweight request/response model with support for observation (Observe) and acknowledgement.
Security
Usually secured through DTLS.
Role in AIoT
A lightweight alternative to HTTP on small devices.
Use cases
- Very constrained devices
Advantages
- Lightweight
- Close to REST
Limitations
- Less tool support than HTTP
- UDP handling by firewalls
Official links
Official external links open in a new window; they were not checked automatically, so if a page address changes, go back to the official organisation's site.
References
- Z. Shelby, K. Hartke, C. Bormann. The Constrained Application Protocol (CoAP) — RFC 7252. RFC Editor (IETF) (2014). DOI Link not checked automatically
Simulations and labs run inside your browser. Nothing you enter and none of the conversations is stored on the server. Privacy policy
