This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problems of combing MQTT-SN library in NRF SDK for Thread with Zephyr

Hi everyone,

Currently, I was developing an application on top of Zephyr. I notice that NRF52 SDK provides library for MQTT-SN protocol. However, my application needs to use the abstraction from Zephyr and Zephyr doesn't provide any library for MQTT-SN. I am wondering if there is a way to only port the MQTT-SN library into Zephyr.

Best,

Botong

Parents
  • Hi Botong,

     

    Unfortunately, MQTT-SN isn't available in zephyr, so any porting has to be done manually.

    Please note that at this point in time, Thread in NCS is in a developer state, and not production.

     

    Kind regards,

    Håkon

  • Thanks for your help!

    I think this is precisely not a problem of NCS, more of the NRF SDK for Thread and Zigbee.


    I can see there is a folder called mqtt_sn_client in NRF52_SDK_4.1.0_Thread/components/thread/mqtt_sn which seems to implement the gateway discovery and packet sender/receiver for mqtt-sn.

    I am wondering if it is possible to manually port this into zephyr or if there was any example to port a component into Zephyr before.

    Currently, I am trying to use the OpenThread API embedded in Zephyr to join a thread network, and hopefully, with the help of the MQTT-SN from NRF52_SDK, I am able to discover the gateway and connect to it. I want to know if this is a good way to achieve MQTT-SN in Zephyr.

Reply
  • Thanks for your help!

    I think this is precisely not a problem of NCS, more of the NRF SDK for Thread and Zigbee.


    I can see there is a folder called mqtt_sn_client in NRF52_SDK_4.1.0_Thread/components/thread/mqtt_sn which seems to implement the gateway discovery and packet sender/receiver for mqtt-sn.

    I am wondering if it is possible to manually port this into zephyr or if there was any example to port a component into Zephyr before.

    Currently, I am trying to use the OpenThread API embedded in Zephyr to join a thread network, and hopefully, with the help of the MQTT-SN from NRF52_SDK, I am able to discover the gateway and connect to it. I want to know if this is a good way to achieve MQTT-SN in Zephyr.

Children
Related