| name | iot-protocols |
| description | Integration of advanced IoT protocols for Zephyr RTOS. Covers OpenThread mesh networking, Matter-over-Thread device development, Golioth Cloud SDK patterns, and LoRaWAN basics. Trigger when building smart home devices, wide-area sensor networks, or cloud-integrated hardware fleets. |
Zephyr IoT Protocols
Implement production-ready IoT communication using industry-standard mesh, wide-area, and cloud protocols.
Core Workflows
1. OpenThread Mesh
Build robust, low-power mesh networks using the integrated OpenThread stack.
2. Matter-over-Thread
Create interoperable smart home devices using the Matter standard.
- Reference: matter_devices.md
- Key Tools: Matter Clusters, BLE Commissioning, ZAP tool.
3. Golioth Cloud SDK
Connect your fleet to the cloud for real-time state sync, telemetry, and OTA.
- Reference: golioth_sdk.md
- Key Tools: LightDB,
golioth_system_client, remote logging.
4. LoRaWAN Basics
Deploy long-range, low-power sensor networks.
- Reference: lorawan_basics.md
- Key Tools:
CONFIG_LORA, LoRa PHY, Adaptive Data Rate (ADR).
Quick Start (OpenThread Shell)
# Enable OpenThread with Shell
CONFIG_NET_L2_OPENTHREAD=y
CONFIG_OPENTHREAD_SHELL=y
ot dataset init new
ot dataset commit active
ot thread start
Professional Patterns (Ecosystem Design)
- Commissioning via BLE: Use the
connectivity-ble skill patterns to handle Matter or Thread commissioning for a seamless user experience.
- Cloud-Mesh Gateways: Implement Thread Border Routers to bridge local mesh traffic to Golioth or other cloud backends.
- Battery Optimization: Use Sleepy End Device (SED) modes for Thread/LoRaWAN nodes to achieve multi-year battery life.
Automation Tools
Examples & Templates
Validation Checklist
Resources
- References:
openthread_integration.md: Thread networking and Zephyr APIs.
matter_devices.md: Smart home integration with Matter.
golioth_sdk.md: Fleet management and real-time state sync.
lorawan_basics.md: Long-range sensor networking.
- Scripts:
dataset_kv_check.py: Provisioning dataset checker.
- Assets:
thread_dataset_template.env: Thread dataset template.