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

MQTT-SN over Thread

Hello, 

I have been using Nordic mqttsn examples (publisher/subscriber) along with an OperThread Border Router. So far I haven't changed the parameters of the Thread Network and everything has been working fine.

I have now created a new Thread network from the Border Router web interface (the one reachable through the Border Router IP address): the commissioning procedure to allow a new device to enter the newly formed network works fine but the device is not able to find a mqtt gateway anymore.

I wonder if I am missing any modifications due to the new Thread Network: all that I have done is to set new parameters (i.e. PAN ID, Network key, name, ...) on the web interface.

Thanks for the support.

Parents
  • Hello,

    I have now created a new Thread network from the Border Router web interface

    What does this mean? What Border Router web interface do you refer to?

    What sort of device is the mqtt gateway? is that a Nordic Device? What state is it in? Is it looking for a network? Did it form it's own network? 

    Best regards,

    Edvin

  • The web inteface is the one that can be reached at the Router IP address:

    The router I'm using is the one provided by Nordic (I followed instructions here: Border Router.

    All I did was to form a new network using the tab "Form". Commissionig works fine: the cli on the device running the mqtt-sn example shows the correct thread parameters. Only thing is that it cannot find a valid mqtt gateway.

    I wonder if I have to change some gateway parameters on the border router side, since I have changed the network parameters. Is this the case?


    Thanks

Reply
  • The web inteface is the one that can be reached at the Router IP address:

    The router I'm using is the one provided by Nordic (I followed instructions here: Border Router.

    All I did was to form a new network using the tab "Form". Commissionig works fine: the cli on the device running the mqtt-sn example shows the correct thread parameters. Only thing is that it cannot find a valid mqtt gateway.

    I wonder if I have to change some gateway parameters on the border router side, since I have changed the network parameters. Is this the case?


    Thanks

Children
  • Perhaps you have some old network configurations in one of the chips. Try to call "sudo wpanctl status" and compare it to the network data on your mqtt-sn device.

    Either way, I suggest you completely erase the flash on both devices (using "nrfjprog --eraseall") and re-flash them, so that you know that neither of the devices have any old flash garbage before you start the projects.

    Best regards,

    Edvin

Related