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

nRF52840 and MQTT-SNGateway example

I am trying to work through the MQTT-SN Examples that comes with the Thread SDK.  When I use the prebuilt image for the Raspberry PI 3 board everything works great however I would like to setup the router on a BeagleBone Black from scratch.  

To build this I went through the border router setup from the openthread site (https://openthread.io/guides/border-router/build  ).  I also went through the MQTT-SNGateway installation from the Eclipse Github page (https://github.com/eclipse/paho.mqtt-sn.embedded-c/tree/master/MQTTSNGateway ).  I configured the gateway with the same settings as from the prebuilt Raspberry PI image.  Once everything is setup and running the MQTTSN publisher is unable to find the gateway (using the JLinkRTTClient to watch what is happening) so I think I am missing something.  I am able to ping one dev board from the other so they can communicate.  

Is there a page that walks you through the steps that Nordic used to configure the prebuilt Raspberry Pi image? 

Thanks,

Parents
  • Compile MQTT-SNGateway with IPv6 support an you will get response from it:

    git diff
    diff --git a/MQTTSNGateway/Makefile b/MQTTSNGateway/Makefile
    index 1fd2233..2cda721 100644
    --- a/MQTTSNGateway/Makefile
    +++ b/MQTTSNGateway/Makefile
    @@ -15,7 +15,7 @@ SRCDIR := src
    SUBDIR := ../MQTTSNPacket/src

    OS := linux
    -SENSORNET := udp
    +SENSORNET := udp6
    TEST := tests


    Also in gateway.conf add this lines:

    GatewayUDP6Port = 47193
    GatewayUDP6Broadcast = ff03::1
    GatewayUDP6If = wpan0

    Thanks,

Reply
  • Compile MQTT-SNGateway with IPv6 support an you will get response from it:

    git diff
    diff --git a/MQTTSNGateway/Makefile b/MQTTSNGateway/Makefile
    index 1fd2233..2cda721 100644
    --- a/MQTTSNGateway/Makefile
    +++ b/MQTTSNGateway/Makefile
    @@ -15,7 +15,7 @@ SRCDIR := src
    SUBDIR := ../MQTTSNPacket/src

    OS := linux
    -SENSORNET := udp
    +SENSORNET := udp6
    TEST := tests


    Also in gateway.conf add this lines:

    GatewayUDP6Port = 47193
    GatewayUDP6Broadcast = ff03::1
    GatewayUDP6If = wpan0

    Thanks,

Children
No Data
Related