Hi,
I want to run the Thread MQTT-SN Publisher and Subscriber example using the nrf52840 DK and the nrf52840 Dongle I have on hand.
I was able to sucessfully build and flash the DK with either Subscriber or Publisher, and verify that it was working when using the dongle as a TTM.
Scavaging around old posts I was able to change the .ld file to
FLASH (rx) : ORIGIN = 0x1000, LENGTH = 0xfb000
RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 0x3fff8
ot_flash_data (r) : ORIGIN = 0xfc000, LENGTH = 0x4000
and change the board to BOARD_PCA10059 in the Makefile, then build and flash the Dongle with the Publisher code.
However, while debugging the Subscriber code on the DK, it does not seem to connect to the Dongle.
What else do I need to change to get the example running on this devices? (at the moment, investing in another DK is not an option due to cost and delivery times).
Does this example need a 3rd device running the Gateway? From what I understood, a gateway exists only to connect the Thread network to the Wifi network. The documentation talks about setting up a Raspberry PI for this but I would rather see the subscriber talking to the publisher first before complicating the setup even further.
I'm using Ubuntu and command line tools. For debugging I used Segger Embedded Studio.
Best regards,
Gunar