mqtt_connect(&client) does not return any value during operation, and the program is stuck in mqtt_connect(&client) and does not come out

When I connected mqtt on nRF9160, I found a strange problem, which caused the device to freeze and become bricked. The location cause was found to appear in err = mqtt_connect(&client), mqtt_connect(&client) does not return any value when running, and the program is stuck mqtt_connect(&client) does not come out. What is going on? It is easy to reproduce after a period of normal operation. The device is running on ncs1.5.1, modem V1.2.3.

Below is my mqtt file:

Parents Reply
  • Hi,

    I am very glad to receive your reply. Unfortunately, we have such a problem, because our customers are currently running devices using ncs1.3.0 and modem v1.2.3, and ncs1.3.0 does not support modem upgrades , So according to what you said, the modem needs to be upgraded to 1.2.7. This method cannot be achieved. Is there any way to solve this problem without upgrading the modem?

Children
No Data
Related