Code Examples
Ready-to-use MQTT-based examples for different platforms and environments.
STM32Cube MQTT Client - a FreeRTOS-based implementation for STM32 microcontrollers using generic AT command-based cellular modems like SIM7000
Python 3 - suitable for use on Single Board Computers (SBCs) like
Raspberry Pi
and some Industrial IoT gatewaysMicroPython - a fun and easy way of creating the device firmware
Arduino / PlatformIO - a pre-configured project that supports over 15 connectivity-enabled boards, including the
Espressif ESP32
,Raspberry Pi Pico W
,Nano 33 IoT
,Nano RP2040 Connect
,UNO R4 WiFi
,Seeed Wio Terminal
, etc.Plain C with the
Mosquitto
library - tailored for advanced use cases needing high performance, compact size, or system-level integrationLua - ready for deployment on
OpenWrt
-based routers and SBCs likeOnion Omega2
HTML5 / JavaScript - thanks to the
WebSocket
technology, this example can be used directly from the browserESP-IDF Cellular - for Espressif ESP32 devices with a cellular modem
Last updated
Was this helpful?