I would like using the http://www.eclipse.org/paho/clients/c/embedded/ Eclipse Paho MQTT library with my Spark Core development. Before trying using this library I would like knowing if the library is suited to be ported/used to/with Spark Core?
There are a couple of implementations of MQTT libraries but not the Eclipse PAHO in particular.
I’ve ported The Arduino PubSub Library http://knolleary.net/arduino-client-for-mqtt/ but it was a bit of a hack and I didn’t release it. However Chris Howard has done a better port of it over here. https://community.spark.io/t/mqtt-library-and-sample/2111 It works well but since the “deep update” I’m having problems with stability of code using TCP. My cores are crashing in just under 24 hours with a MQTT broker connection up all the time.
I just noticed a MQTT library in the shared libaries in the online IDE, I haven’t given that a go yet.
I’ve recently started playing with the MQTT library. I just wanted to say that getting a reliable MQTT library up and running would do wonders for making Sparkcores more IoT friendly. It opens up so much.