Hi,
I am studying Thread with MQTT-SN examples, and I got some trouble with the disconnection of the publisher.
Here is my configurations:
SDK: nRF5_SDK_for_Thread_and_Zigbee_v3.2.0_9fade31
Example:
2 PCA10056 using mqttsn_client_publisher
1 PCA10056 using mqttsn_client_subscriber
IDE: SEGGER Embedded Studio for ARM Release 4.30c Build 2019120200.40763 Windows x64
MQTT-gateway and MQTT-broker is running on RPI3B with RaspPi_OT_Border_Router_Demo_v3.1.0-1.alpha.img.
step1: Thread network is make of 1 mqttsn_client_publisher (publisher_1) , 1 mqttsn_client_subscriber and 1 OTBR. the two client found the gateway and connected, and their transimition is work fine.
step2: Another mqttsn_client_publisher (publisher_2) join into the network, the publisher_2 found the gateway, and connected, but the publisher_1 would dicsonnected from the gateway as soon as the publisher_2 published.
the publisher_1 would receive the disconnted (MQTTSN_EVENT_DISCONNECTED) logs as I press Button_4 to try to publish.
It seem like the publisher_1 was kicked offline by publisher_2.
How could I handle this to support more than one publisher always keep online at the same time?