CoAP (EN)
ProtocolConstrained Application Protocol for resource-constrained devices in IoT
Definition
CoAP (Constrained Application Protocol) is a protocol specifically developed for resource-constrained devices in the Internet of Things that is based on UDP. It was designed for devices with limited computing power, memory, and bandwidth and supports the RESTful paradigm for easy integration into web applications. CoAP provides features such as multicasting and built-in support for observations, making it ideal for communication with sensors and actuators in networked systems.
Architecture
flowchart TD A[CoAP Client] -->|Request| B[CoAP Server] B -->|Response| A B --> C[CoAP Ressource] C -->|Observation| D[Client mit Interesse] E[Multicast Group] -->|Broadcast| F[Mehrere CoAP Clients]
Im Kontext
- Wird typischerweise zusammen mit DTLS (Datagram Transport Layer Security) für sichere Kommunikation verwendet
- Verwandt zu: MQTT, LwM2M, HTTP/2
- Beispiel-Einsatz: Umweltüberwachungssysteme mit batteriebetriebenen Sensoren