Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
This content is provided by the library maintainer and has not been validated or approved.
MQTT publish/subscribe library for Photon, Spark Core version 0.3.8.
This lightweight library source code are only 2 files. firmware -> MQTT.cpp, MQTT.h.
Application can use QOS0,1,2 and retain flag when send a publish message.
Some sample sketches for Spark Core and Photon included(firmware/examples/).
- mqtttest.ino : simple pub/sub sample.
- mqttqostest.ino : QoS1, QoS2 publish and callback sample.
This library is Arduino compatible. Arduino version is here.