Paul,
thanks for the feedback on the gateway. The more MQTT-SN options
we provide the better, then you can choose whatever suits your
solution best. I'm not wedded to any particular approach, my main
concern is just practical development schedules, as we can't do
everything at once. The gateway is available right now, hopefully
Mosquitto will have MQTT-SN (UDP) support at some stage, a general
MQTT-SN to MQTT-SN forwarder would be good too.
Ian
On 01/16/2017 05:21 PM, Paul Kierstead
wrote:
I've been using the gateway with ZigBee in a very
limited deployment (only one device 24x7, another device
intermittently) for some time now and it is working pretty well.
I plan to convert several devices which currently use a
proprietary protocol over to MQTTSN soon. ish.
I've had mixed feelings on if the best way to go is a
separate agent which listens and forwards over UDP to a
MQTT-SN gateway/broker or if the gateway/broker should have a
plug-in architecture which doesn't rely on UDP. I think that
is a good discussion at some point. A UDP forwarder has the
significant advantage of flexibility in language, etc. The
current gateway has enough separation to plug in a new network
type (say BLE) at compile time, but it is fairly complex code.
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
_______________________________________________
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
--
Ian Craggs
icraggs@xxxxxxxxxx IBM United Kingdom
Eclipse Paho Project Lead; Committer on Eclipse Mosquitto;
Tech Lead in IBM Watson IoT Platform
|