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


Thanks for the clarification. 

Could you please comment on this ?

1. As I understand, there is no MQTT-SN server exists today. May be Roger can comment when this will be available.

2. What I understand is, MQTT-SN is really implemented with Gateways interacting with MQTT Server. How does the Gateway implementation look like, a forwarder or an aggregator?

Thanks, Santos

On Fri, Jan 13, 2017 at 10:39 PM, Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

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:

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 (, the Ian Craggs’ session at EclipseCon 2015 ( 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 (, and after reading Ian Craggs’ slides from EclipseCon, the Nicholas J. Humfrey’s one ( .


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 (, but I can´t see MQTT-SN in current Mosquitto source code ( 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
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

paho-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top