Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Using Paho embedded-C client for Arduino

Hi guys,

>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 Class


The library consists of 4 modules
- Framework for Arduino  
- MQTT-SN client <====   this class methods might be what you want to know.
- MQTT-SN      <==== change to MQTT
- ZBee Stack   <====  change to TCPIP Class




2014-04-25 6:23 GMT+09:00 Tomoaki Yamaguchi <tomoaki@xxxxxxxxxxxxx>:
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 are
PUBLISH, SUBSCRIBE,UNSUBSCRIBE,WILLMSG,WILLTOPIC,REGISTER

SEARCHGW, CONNECT, PINGREQ are conducted automatically.
QoS 0, 1 

Sleep 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 Class




2014-04-25 0:02 GMT+09:00 Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx>:

Mike,

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.

Ian



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)

Ian,

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?


--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Committer on Paho, Mosquitto

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev



--
         
               Tomoaki  YAMAGUCHI



--
         
               Tomoaki  YAMAGUCHI

Back to the top