Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] MQTT-SN - Where to start from

Hi Adrian,

this is a good place to ask.

An MQTT-SN to MQTT gateway is currently being worked on and is available in the gateway branch of the Paho MQTT-SN repository:

    https://github.com/eclipse/paho.mqtt-sn.embedded-c/tree/gateway

This enables MQTT-SN clients to connect to Mosquitto or any other MQTT broker.   We are very interested in any feedback you have on it.  I think it's more capable than the gateway I was describing in the presentation you mention, so should be suitable for a wide variety of applications.

MQTT-SN is not yet implemented in Mosquitto - Roger would like to add it, but has a lot on his plate already, so I don't think it's likely to arrive anytime soon.

Ian Craggs

On 13/01/17 09:58, Moran Adrian wrote:

Hi everyone,

In first place, sorry if this is not the correct distribution list to ask my question (is not uniquely related to Paho client).

 

I have been reading about MQTT-SN protocol for few days, reading the specification (http://mqtt.org/new/wp-content/uploads/2009/06/MQTT-SN_spec_v1.2.pdf), the Ian Craggs’ session at EclipseCon 2015 (https://www.eclipsecon.org/na2015/sites/default/files/slides/MQTT-SN-2015.odp) and other ‘less official’ sites.

 

I know the technology is little bit immature yet, but I would like to start with some tests using MQTT-SN. When I started using MQTT I quickly recognized two main reference software (Paho as client and Mosquitto as broker), but in the case of MQTT-SN I can´t see any winning ‘reference code’ to be used. Is there any pure C Paho version that supports this protocol? I see this (https://github.com/eclipse/paho.mqtt-sn.embedded-c), and after reading Ian Craggs’ slides from EclipseCon, the Nicholas J. Humfrey’s one (https://github.com/njh/mqtt-sn-tools) .

 

On the other side, I would need a Gateway to talk to. Of course I initially thought in Mosquitto and I saw that the feature is proposed (https://www.eclipse.org/proposals/technology.mosquitto/), but I can´t see MQTT-SN in current Mosquitto source code (https://github.com/eclipse/mosquitto). Does it means that the protocol is not implemented yet in Mosquitto?

 

Finally, I saw in Paho MQTT-SN Embedded C client that it has code for a Gateway. I understand that it will be a tiny Gateway to be used on very resource limited devices, right? I mean, if the device is not so constrained Mosquitto alternative would be suitable, right?

 

I don´t mind if some features are not implemented on the selected client/gateway, I could try to implement them myself and contribute to the community.

Thank you so much for your guidance and sorry in the mail is too offtopic for this list.

 

Adrián M.



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top