|Re: [paho-dev] Using Paho embedded-C client for Arduino|
Hi guys,my C++ MQTT-SN client library for XBee might be the one of the candidate.communication is conducted by the ZBee Stack Class though.My library is running on Arduino Fio(32KB ROM, 2KB RAM), mbed and raspberry Pi.
RTOS is not required. (single thread)supporting functions arePUBLISH, SUBSCRIBE,UNSUBSCRIBE,WILLMSG,WILLTOPIC,REGISTERSEARCHGW, CONNECT, PINGREQ are conducted automatically.QoS 0, 1Sleep mode is supported for Aruduino.library is already opened in the GitHub.The library consists of 4 classes- Framework for Arduino- MQTT-SN client <==== this class methods are what you want.- MQTT-SN <==== change to MQTT- ZBee Stack <==== change to TCPIP Class2014-04-25 0:02 GMT+09:00 Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx>:
the mbed community want to have an "official" mbed MQTT library. Various MQTT libraries have been imported or written in past, with varying levels of completeness. A port of Nick O'Leary's Arduino client is one. Now they would like something more complete, to promote.
So I've been working with Sam and Doug in particular from this team: http://mbed.org/teams/mqtt/, on a portable MQTT client library, eventually in 3 layers (http://modelbasedtesting.co.uk/?p=94). All the code I've written is under the Eclipse license, and I intend the master code to be in Paho.
I'm excited about this work because:
1. it should be ultra-portable across OSes and networking libraries, and really lightweight
2. I'm hoping it will be the last MQTT C/C++ client library I will ever have to write!
3. It's a perfect model for an MQTT-SN client library (already started)
We're hoping that we'll be able to work with other embedded OS communities (e.g. FreeRTOS) subsequently.
On 04/24/2014 03:15 PM, Mike Milinkovich wrote:
On 24/04/2014 9:58 AM, Ian Craggs wrote:
I'm hoping the C++ API layer I'm working on for mbed (and will be pulled back into Paho)
I am curious about any links that we may be building with the mbed community. Can you talk a little more about what's going on there?
icraggs@xxxxxxxxxx IBM United Kingdom
Committer on Paho, Mosquitto
Back to the top