刚上电的时候芯片正常连接网络,MQTT正常运行,之后我通过按键触发smartlink网络配置,并连接上网,然后重新初始化MQTT的时候发现老是失败,发现程序卡在sl_ExtLib_MqttClientConnect,然后我在重新配置网络之前先sl_ExtLib_MqttClientDisconnect,然后在初始化MQTT还是卡在连接上。。。纠结了几天了,还是不知道怎么办,有没有谁帮忙解答一下!!我如果要切换网络,之前之后我该怎么操作MQTT。。。在下感激不尽!!!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
刚上电的时候芯片正常连接网络,MQTT正常运行,之后我通过按键触发smartlink网络配置,并连接上网,然后重新初始化MQTT的时候发现老是失败,发现程序卡在sl_ExtLib_MqttClientConnect,然后我在重新配置网络之前先sl_ExtLib_MqttClientDisconnect,然后在初始化MQTT还是卡在连接上。。。纠结了几天了,还是不知道怎么办,有没有谁帮忙解答一下!!我如果要切换网络,之前之后我该怎么操作MQTT。。。在下感激不尽!!!
先关闭也不行,不知道是我参数赋的不对还是怎么,一直不行。还在尝试找原因,不行的话只能加看门狗复位了。