ESP32 #19: MQTT Secure HTTPS TLS/SSL WebSocket CloudMQTT Subscribe Example

Опубликовано: 21 Март 2026
на канале: pcbreflux
13,532
98

#ESP32 #MQTT Secure via HTTPS #Websocket Example for subscribing to a topic. The C-Source-code uses esp-idf with make from command line make or you can use Eclipse (import include.xml for the includepaths). Tested with cloudmqtt.com iot.eclipse.org and test.mosquitto.org

Source-code
https://github.com/pcbreflux/espressi...
uses
xtensa 5.2.0
esp-idf commit c78aa138b061407c555e8913c0e46ec81a658eb3
(20160206)

MQTT V3.1.1
http://docs.oasis-open.org/mqtt/mqtt/...

The WebSocket Protocol
https://tools.ietf.org/html/rfc6455

Eclipse Paho MQTT C/C++ client for Embedded platforms
https://github.com/eclipse/paho.mqtt....

ESP32 MQTT Eclipse Paho client component
http://esp32.com/viewtopic.php?f=18&t...

Kolban's book on ESP32
https://leanpub.com/kolban-ESP32