MQTT-SN and SRV records

53 views
Skip to first unread message

Benjamin Damm

unread,
Jan 31, 2017, 8:15:31 PM1/31/17
to MQTT
Hello folks,

I'm working on a design for using MQTT-SN over a number of large and established IoT networks.  Using SRV discovery would be a nice additional capability to support, but I don't want to design in something if there is no consensus on what an SRV record for MQTT-SN/DTLS would look like.

Is there a consensus?

The mqtt-sn tooling I've seen so far doesn't seem to indicate any de-facto support.  This is unlike the MQTT tooling, where (e.g. mosquitto) has:
"_secure-mqtt._tcp.%s"

Something analogous would be:
"_secure-mqtt-sn._udp.%s"

This has two problems, though; 1) it is un-necessarily wordy, where "_mqtts-sn._udp.%s" could be just as good, and 2) MQTT-SN's name change of course mixes things up, so maybe "_secure-mqtt-s._udp.%s" is expected.

Unfortunately SEARCHGW is not an option for the network I am working with at the moment.

Thanks,
-Ben


Benjamin Damm

unread,
Feb 1, 2017, 2:01:21 PM2/1/17
to MQTT
No responses on this front, so I'm going to go ahead and assume _mqtt-sn._udp.%s, both for DTLS and non-DTLS cases.
Reply all
Reply to author
Forward
0 new messages