MQTT topic /joined
- This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Lora Network Server › MQTT topic /joined
Tagged: /joined MQTT
Good morning,
I am trying to use the MQTT topic /lora/+/joined to see when end devices are restarting in the field. When a device restarts, it has to rejoin the network before it can send packets.
When I tested this idea with the reset button on my development board I noticed that while the device goes through the process of joining the network my mosquitto_sub -t lora/+/joined remains blank.
My lora-network-server.log shows the following:
9:16:5:697|INFO| ED:00-80-00-00-00-00-a6-58|DEV-ADDR|Found End Device in DB 600002d
9:16:5:702|INFO| ED:00-80-00-00-00-00-a6-58|QUEUE-TX|JOIN SIZE: 33
9:16:5:703|INFO| ED:00-80-00-00-00-00-a6-58|JOINREQ-OK|JOINS: 20934 UP: 726499
9:16:5:719|INFO| ED:00-80-00-00-00-00-a6-58|JOIN-ACCEPT|DevAddr: 0600002D
9:16:5:720|INFO| ED:00-80-00-00-00-00-a6-58|SCHED-TX|Use RX1 TOA:1656 ms
Am I trying to use /joined for something it wasn’t designed to do?
Regards,
Jaco Marais
Try mosquitto_sub -v -t lora/+/joined
The message is blank, only a topic will be sent.
Thank you!
Works perfectly.