MQTT for Photon, Spark Core
MQTT publish/subscribe library for Photon, Spark Core version 0.3.7.
Source Code
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.
Example
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.
Arduino compatible
This library is Arduino compatible. Arduino version is here.