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

Reliable MQTT connection in poor LTE signal? BSD library hangs.

Here is an issue I am having when using MQTT in a poor (RSRP < 15) LTE signal environment 

Condition:

nRF Connect SDK v1.3

modem firmware v1.2

TLS Socket is configured as non-blocking.

Modem does not notify any CEREG status when MQTT dropout.

 

Under this condition, when MQTT dropped, MQTT client can only attempt re-opening the socket until it's successful.

With this circumstance, frequently attempt re-opening the socket will cause the BSD library to hang. The device needs to be restarted

 

Is there any reliable method for re-connecting MQTT in a poor LTE signal environment?

Parents Reply Children
No Data
Related