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

Santos,

I originally contributed RSMB to the Eclipse Mosquitto project out of historical interest - as a repository of code which might be useful.  At that point, I envisaged that MQTT-SN support would be added to Mosquitto within a couple of years, and that RSMB would really be consigned to the category of historical interest only.  I've not maintained RSMB in the intervening years because of this.

Roger wanted to refactor the internals of Mosquitto to use an event library before adding MQTT-SN support.  There were problems that caused this refactoring to be delayed, and Roger has had his hands full with support and new feature requests, so as far I am aware, MQTT-SN support in Mosquitto is still a while off.

In any case, I think that using an MQTT-SN gateway alongside Mosquitto is a good solution, perhaps the best.  It certainly may be the most flexible. MQTT-SN can be used over UDP, but potentially also over other low level transports - ZigBee, serial, others.  It may be easier to add a wide variety of such support in one or more gateways rather than in Mosquitto itself.

Ian

On 16/01/2017 13:00, Santos Das wrote:
Hi Benjamin,

Thank you. Really helpful information, as always.

The RSMB does serve the purpose. But, I am a bit worried about its difference with Mosquitto. Would you kindly clarify while its add the support for MQTT-SN, what does it miss out?

Also, what is the plan for supporting MQTT-SN in Mosquitto?

I am going through the other links which you posted on this. Really good info.

Thank you once again.

Regards, Santos

On Mon, Jan 16, 2017 at 4:43 PM, Benjamin Cabé <benjamin@xxxxxxxxxxx> wrote:

Hi Santos,

 

RSMB does support MQTT-SN https://github.com/eclipse/mosquitto.rsmb

 

Benjamin -

 

De : <paho-dev-bounces@xxxxxxxxxxx> au nom de Santos Das <santos.das@xxxxxxxxx>
Répondre à : General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Date : lundi 16 janvier 2017 à 08:19
À : General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Objet : Re: [paho-dev] MQTT-SN - Where to start from

 

Hi,

 

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@xxxxxxxxxxxxxxxxxxxx.uk> 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:

    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

 

_______________________________________________ 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

 

_______________________________________________ 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

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