IoT Connectivity Protocols
IoT connectivity protocols are the rules that let sensors, actuators, gateways, and services exchange data. A working design combines a physical link, a network path, and an application protocol that fit the device's power, range, data, and reliability limits.
itComputer architecture and hardware | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Don't Panic
Don't Panic — IoT Connectivity Protocols
IoT connectivity is not a single protocol that gets stamped onto a sensor like a postage mark. It is a stack: a link gets a device to its first neighbor, a network moves packets, transport carries an exchange, and an application protocol decides what the exchange means. The hardware brochure may list three radios and a heroic range number. It has not, sadly, designed the system.
Start at the workload. A remote meter that reports a small value occasionally has different needs from a nearby wearable, a building controller, or a mobile tracker. Range, energy, available infrastructure, message age, and the radio environment choose the lower layers. Only then does it make sense to ask about MQTT, brokered publish-and-subscribe messaging, or CoAP, resource-oriented request and response for constrained nodes.
The names that cause the most trouble occupy different floors of the building. Bluetooth Low Energy carries nearby wireless communication. Thread makes an IPv6 mesh over IEEE 802.15.4. Zigbee adds its own network and application model over the same radio family. LoRaWAN sends small, infrequent wide-area messages through gateways. MQTT can sit above several of those paths. Comparing MQTT with Bluetooth is rather like comparing a filing system with a bicycle. Both may be present. Neither answers the other's question.
The middle boxes also deserve labels. A border router forwards IP packets between links. A gateway terminates or translates one application model into another. An MQTT broker accepts sessions and routes publications by topic. One appliance can perform all three jobs, which is convenient until a missing measurement turns up and everyone stares at the same appliance with different theories.
Security needs a similarly unromantic map. Link security protects local peers. TLS or DTLS protects a transport connection. OSCORE can protect CoAP application data across an intermediary. Encryption tells you where plaintext may exist; authorization still decides which identity may use a topic or resource. Secure boot, credential rotation, update integrity, and decommissioning remain waiting outside the protocol boundary with clipboards.
The surprise is that normal traffic is often the easy part. A complete energy cycle includes waking, joining, handshakes, listening, retries, and reconnecting. An outage can make a fleet retry together, drain batteries, and overload gateways or brokers. Bound queues and message age, use backoff, and make repeated commands safe.
Read the slides when you need the layer map and the decision path. Use the cheatsheet to compare links, MQTT delivery, CoAP behavior, security placement, and diagnostic signals. The practice reference supplies safe commands for observing MQTT and CoAP boundaries. The exercise then makes the brokered fan-out and duplicate-handling problem visible on a local broker, where the only thing at risk is a small amount of afternoon.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://mqtt.org/
Supports
- MQTT lightweight publish-and-subscribe architecture, broker role, constrained-device use, Quality of Service levels, sessions, and security orientation
- Intro, slides, cheatsheet, quiz, reference rationale, narration, and infographic source material
- https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html
Supports
- Normative MQTT packets, connections, topics, filters, retained messages, wills, sessions, reason codes, and delivery behavior
- MQTT claims and quiz answers throughout the course
- https://www.rfc-editor.org/rfc/rfc7252
Supports
- CoAP constrained-network purpose, request and response model, methods, message types, tokens, message identifiers, discovery, proxies, and caching
- Intro, slides, cheatsheet, practice, quiz, links, narration, infographic source material, and 2014 timeline event
- https://www.rfc-editor.org/rfc/rfc7641
Supports
- CoAP Observe registration and notification behavior
- https://www.rfc-editor.org/rfc/rfc7959
Supports
- CoAP block-wise transfer of larger representations
- https://www.rfc-editor.org/rfc/rfc8613
Supports
- End-to-end CoAP application data protection across intermediaries and quiz question 8
- https://www.rfc-editor.org/rfc/rfc4944
Supports
- IPv6 transmission and adaptation over IEEE 802.15.4 networks
- Layering claims, quiz question 10, and the 2007 timeline event
- https://www.rfc-editor.org/rfc/rfc6550
Supports
- IPv6 routing for low-power lossy networks, DODAG organization, objective functions, and the 2012 timeline event
- https://www.bluetooth.com/learn-about-bluetooth/tech-overview/
Supports
- Bluetooth Classic and Low Energy distinctions plus point-to-point, broadcast, and mesh topologies
- Intro, slides, cheatsheet, quiz, and narration
- https://www.bluetooth.com/bluetooth-resources/the-bluetooth-low-energy-primer/
Supports
- Bluetooth LE radio, controller, host, advertising, connection, ATT, GATT, security, and power orientation
- Reference-link rationale
- https://www.bluetooth.com/learn-about-bluetooth/key-attributes/range/
Supports
- Bluetooth range factors including spectrum, PHY, transmit power, receiver sensitivity, antennas, path loss, and environment
- Intro, cheatsheet, quiz question 9, and narration
- https://www.bluetooth.com/wp-content/uploads/Files/Specification/HTML/Core-54/out/en/consolidated-table-of-contents---compliance-requirements/version-history-and-acknowledgments.html
Supports
- Bluetooth Core 4.0 adoption date and Low Energy introduction for the 2010 timeline event
- https://www.bluetooth.com/blog/introducing-bluetooth-mesh-networking/
Supports
- July 2017 Bluetooth mesh introduction, many-to-many topology, and intended network scale
- The 2017 timeline event
- https://threadgroup.org/what-Is-thread/overview
Supports
- Thread IPv6-based low-power mesh, device roles, border-router relationship, and device-to-cloud path
- Intro, slides, cheatsheet, quiz, links, narration, and infographic source material
- https://www.threadgroup.org/Portals/0/documents/support/Thread%20Network%20Fundamentals_v3.pdf
Supports
- Thread addressing, routing roles, sleepy end-device behavior, and border-router network relationships
- https://threadgroup.org/Newsroom/Press-Release/thread-wireless-networking-protocol-now-available
Supports
- Thread specification release date, IP-based wireless purpose, and the 2015 timeline event
- https://csa-iot.org/all-solutions/zigbee/
Supports
- Zigbee full-stack mesh, IEEE 802.15.4 relationship, clusters, device model, certification, security, and interoperability scope
- Intro, slides, cheatsheet, quiz, links, and narration
- https://resources.lora-alliance.org/document/what-is-lorawan
Supports
- LoRaWAN end-device, gateway, network architecture, device classes, and low-power wide-area orientation
- Intro, slides, cheatsheet, quiz, links, and narration
- https://blog.lora-alliance.org/what-is-lorawan
Supports
- LoRaWAN focus on small message volumes and exclusions for large data and real-time communication
- Intro, cheatsheet, and quiz question 7
- https://lora-alliance.org/wp-content/uploads/2020/11/2015_-_lorawan_specification_1r0_611_1.pdf
Supports
- LoRaWAN 1.0 released status and January 2015 date for the timeline
- https://www.3gpp.org/news-events/3gpp-news/nb-iot-complete
Supports
- NB-IoT completion in Release 13 and its relationship with eMTC and EC-GSM-IoT
- Intro, slides, cheatsheet, quiz, links, narration, and the 2016 timeline event
- https://csa-iot.org/newsroom/matter-arrives/
Supports
- Matter 1.0 specification, certification, test tools, SDK release, and cross-brand IP application interoperability
- Intro, slides, links, narration, and the 2022 timeline event
- https://www.oasis-open.org/2014/10/30/mqtt-version-3-1-1-becomes-an-oasis-standard/
Supports
- October 2014 MQTT 3.1.1 OASIS approval and the 2014 timeline event
- https://www.oasis-open.org/2019/03/21/mqtt-v5-0-oasis-standard-published/
Supports
- March 2019 MQTT 5.0 OASIS approval, protocol scope, and the 2019 timeline event
- https://mosquitto.org/man/mosquitto_sub-1.html
Supports
- mosquitto_sub host, port, CA, topic, wildcard, QoS, verbose, and system-topic commands in the practice reference
- https://mosquitto.org/man/mosquitto_pub-1.html
Supports
- mosquitto_pub topic, payload, QoS, retained, empty-message, connection, and TLS options in the practice reference
- https://libcoap.net/doc/reference/develop/man_coap-client.html
Supports
- coap-client methods, URIs, discovery, payload, content format, observe duration, and command examples in the practice reference
- https://github.com/sindresorhus/awesome
Supports
- Discovery path to the Awesome IoT and Hybrid Apps list
- https://github.com/weblancaster/awesome-IoT-hybrid
Supports
- Discovery of RIOT, Contiki, Node-RED, and the Eclipse IoT ecosystem for Awesome Links curation
- https://doc.riot-os.org/c_tutorials/coap/
Supports
- RIOT CoAP client and server tutorial, gcoap module, IPv6 stack, and network-device relationship
- RIOT awesome-link rationale
- https://docs.contiki-ng.org/en/develop/
Supports
- Contiki-NG resource-constrained operating system, low-power IPv6 stack, 6LoWPAN, RPL, CoAP, MQTT, TSCH, border-router, and simulator documentation
- Contiki-NG awesome-link rationale
- https://cookbook.nodered.org/mqtt/
Supports
- Node-RED recipes for MQTT publication, subscription, retained messages, and broker connections
- Node-RED awesome-link rationale
- https://eclipse.dev/paho/clients/python/docs/
Supports
- Paho Python MQTT client connection, publication, subscription, callbacks, and supported protocol versions
- Paho awesome-link rationale
- https://mosquitto.org/
Supports
- Eclipse Mosquitto open-source broker, MQTT versions, lightweight placement, C client library, and command-line clients
- Mosquitto landscape entry
- https://docs.emqx.com/en/emqx/latest/
Supports
- EMQX clustered MQTT broker, topic routing, integrations, multi-protocol gateways, and deployment editions
- EMQX landscape entry
- https://www.hivemq.com/products/mqtt-broker/
Supports
- HiveMQ enterprise MQTT broker placement for event routing, operations, and large deployments
- HiveMQ landscape entry
- https://www.espressif.com/en/products/socs/esp32-c6
Supports
- ESP32-C6 Wi-Fi, Bluetooth Low Energy, IEEE 802.15.4, Thread, and Zigbee radio support
- ESP32-C6 landscape entry
- https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/api-guides/coexist.html
Supports
- Shared-radio time-division coexistence among Wi-Fi, Bluetooth, and IEEE 802.15.4
- https://www.silabs.com/wireless/zigbee/efr32mg24-series-2-socs
Supports
- EFR32MG24 OpenThread, Zigbee, Bluetooth Low Energy, Bluetooth mesh, Matter, and multiprotocol support
- EFR32MG24 landscape entry
- https://www.nordicsemi.com/Products/nRF9160
Supports
- nRF9160 integrated LTE-M and NB-IoT modem, application processor, IP stack, GNSS, security, and operator relationship
- nRF9160 landscape entry
- https://www.quectel.com/product/lpwa-bg95-cat-m1-cat-nb2-egprs-series/
Supports
- BG95 LTE Cat M1, Cat NB2, EGPRS, GNSS, module-interface, and LPWA placement
- Quectel BG95 landscape entry
- https://www.semtech.com/products/wireless-rf/lora-connect/sx1262
Supports
- SX1262 sub-gigahertz LoRa transceiver and physical-link placement below LoRaWAN
- Semtech SX1262 landscape entry
- https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html
Supports
- Operational consequences of MQTT persistent sessions, offline QoS 1 message queues, expiry, reconnection, and bounded recovery behavior
- Field Notes cards on offline session policy and backlog behavior
- https://www.hivemq.com/blog/resilience-engineering-of-an-mqtt-client-application/
Supports
- Practitioner guidance on MQTT client reconnection, backpressure, and fault injection with an unreliable network path
- Field Notes cards on reconnect behavior and recovery testing
