MQTT-SN with LARA-R6, SARA-R5 and SARA-R422

We are excited to make available support for MQTT Anywhere using a Thingstream SIM and the native MQTT-SN client on the  u-blox LARA-R6, SARA-N3, SARA-R5 and SARA-R422x modules.


For SARA-N3, firmware version A01.04 or newer is required.


For SARA-R5, "00B" module versions are not supported.  "01B" or newer modules with at least firmware version 03.30,A00.01 are needed.  


For SARA-R422x, a SARA-R422S or SARA-R422M8S module with firmware version 00.12,A00.00 or newer is needed. 


Please note the following:



You can follow the instructions in the AT Commands Manual for how to use the MQTT-SN Client.:

Some simple examples to get you up and running quickly are listed below.

For the fastest network registration on your Thingstream SIM, we suggest to set AT+URAT=9,7.  This speeds up the network scan time by disabling NBIoT where there are very few available networks.


Setup


Using the MQTT-SN Client

Once you have completed the MQTT client configuration, you will need to set up the packet switched data configuration to use the TSUDP APN and you can proceed with the MQTT-SN commands.








To receive messages on your module, you need to subscribe to a topic.



Now if you publish a message to "my/subscribe/topic " you will see it arrive on the  module.  You can use the "Send Message" function in the management console to send a test message.  Check out the guide here to see how.