IoT / Lightweight Protocols =========================== These protocols are optimized for constrained environments such as IoT devices, where low bandwidth, power, and processing capabilities are key considerations. .. toctree:: :maxdepth: 1 :hidden: :includehidden: CoAP .. list-table:: :widths: 15 65 20 :header-rows: 1 * - Protocol - Description - Use Case * - CoAP (Constrained Application Protocol) - A lightweight protocol designed for use in resource-constrained environments. Built over UDP and uses a RESTful model similar to HTTP, optimized for low overhead communication. - Sensor data collection, remote monitoring, and IoT applications. .. tab-set:: .. tab-item:: CoAP **RFC:** RFC 7252 **Main Features:** - Lightweight protocol optimized for constrained devices and networks - Based on REST architecture; uses HTTP-like methods (GET, POST, PUT, DELETE) - Operates over UDP (port 5683), supports multicast - Low overhead and efficient binary header format - Built-in reliability with retransmission and deduplication - DTLS support for secure communication **Use Cases:** - IoT sensor data collection and telemetry - Remote monitoring in constrained or battery-powered environments - Smart home or industrial control systems - Communication in LPWAN, 6LoWPAN, and other low-power networks **Alternative Protocols:** - MQTT – Lightweight publish-subscribe protocol over TCP - HTTP/HTTPS – RESTful communication in more capable devices - LwM2M – Device management built on top of CoAP - AMQP – Reliable messaging protocol for larger systems .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: Learn More About CoAP **Let us learn more about CoAP:** * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`CoAP Version&RFC Details ` * :ref:`CoAP Basic Setup on Ubuntu using IPv4 ` * :ref:`CoAP Basic Setup on Ubuntu using IPv6 ` * :ref:`CoAP Protocol Packet Details ` * :ref:`CoAP Usecases ` * :ref:`CoAP Basic Features ` * :ref:`CoAP Feature : Lightweight Protocol ` * :ref:`CoAP Feature : RESTful Architecture ` * :ref:`CoAP Feature : UDP Based Communication ` * :ref:`CoAP Feature : Asynchronous Messaging ` * :ref:`CoAP Feature : Bulit In Reliability ` * :ref:`CoAP Feature : Low Header Overhead ` * :ref:`CoAP Feature : Resource Discovery ` * :ref:`CoAP Feature : Multicast Support ` * :ref:`CoAP Feature : Observe Option ` * :ref:`CoAP Feature : Security Support ` * :ref:`Reference links ` .. button-link:: ./CoAP.html :color: primary :shadow: :expand: Jump to "CoAP"