MQTT-SN in Zephyr: Lightweight Messaging for Constrained Devices
summary
Zephyr contains a working MQTT-SN client library plus a UDP/IP reference transport and example code contributed in 2022 and used in a cat tracker and OpenThread nodes. Supported features include gateway discovery and topic aliasing with wildcard subscription mapping; missing features are predefined topics and publish-before-connect. Practical limits surface: sleepy devices top out at about 18 hours, topic alias tables can exhaust memory, and there are no built-in DTLS/reliability guarantees so end-to-end security and QoS need extra work.
AI-written summary · about
chapters (7)
- 0:00MQTT and MQTT-SN intro
- 2:37MQTT-SN for constrained devices
- 4:25MQTT vs MQTT-SN
- 6:52MQTT-SN features
- 8:14MQTT-SN challenges
- 10:00MQTT-SN in Zephyr RTOS
- 11:24Real-world use cases and conclusion
related talks
12mMQTT-SN in Zephyr: Lightweight Messaging for Constrained Devices
45mImplementing Network Protocols in Zephyr Project
36mConnecting Zephyr Devices at Scale Using Open Source Solutions
42mZbus - the Lightweight and Flexible Zephyr Message Bus
30mZephyr ❤️ Internet: How Zephyr Speeds Implementation for New IoT Devices
20mZephyr Network Subsystem Status and Overview
49mThe Zephyr™ Project – An Updated Overview
46mBluetooth Mesh and Zephyr
