Hello,
I've been trying to run the OpenThread mqttsn_client_publisher example from the SDK. I have also set up the border router according to the tutorial on the infocenter website. I haven't modified the border router image neither have i modified the example. I just run it straight away.
However, when the mqtt client tries to find the gateway i get the following output in my terminal:
00> <info> app_timer: RTC: initialized. 00> 00> <info> app: Thread version : OPENTHREAD/20180926-01143-g8a1992e2; NRF52840; Dec 10 2019 22:48:00 00> 00> <info> app: Network name : OpenThread 00> 00> <info> app: Thread interface has been enabled. 00> 00> <info> app: 802.15.4 Channel : 11 00> 00> <info> app: 802.15.4 PAN ID : 0xABCD 00> 00> <info> app: Radio mode : rx-on-when-idle 00> 00> <warning> app_timer: RTC instance already initialized. 00> 00> <info> app: State changed! Flags: 0x011FD33D Current role: 1 00> 00> 00> 00> <info> app: State changed! Flags: 0x008010E4 Current role: 2 00> 00> 00> 00> <info> app: State changed! Flags: 0x00000200 Current role: 2 00> 00> 00> 00> <info> app: State changed! Flags: 0x00000001 Current role: 2 00> 00> 00> 00> <info> app: MQTT-SN event: Gateway discovery procedure has finished. 00> 00> 00> 00> <info> app: MQTT-SN event: Gateway discovery result: 0x3.
I looked up the definition of 0x3 and it says that the gateway is not found. What i find strange is that the device is correctly connected to the border router as a child.
Is this a known problem? If so, how could i solve it?
Regards,
Jamie