Hi, I am using the mqtt example, and I am interested in stability against wifi connection problems.
This is the situation: I start the example, send some messages and then switch off the wifi router. After that the device hangs an no longer responds to button press. But it is able to reconnect to the router after I switch it on.
Here is the output of the console.
[09:34:32:802] ␍[GEN::INFO] recived a message 0␊
[09:34:41:186] ␍[GEN::INFO] APP_MQTT_PUBLISH␍␊
turn off the router
[09:34:41:186] ␊
[09:34:41:186] ␍Device disconnected from the AP on an ERROR..!! ␊
[09:34:45:996] ␍[GEN::TRACE] MQTT CLIENT CB: DISCONNECT␍␊
[09:34:51:515] ␊
[09:34:51:515] ␍[GEN::TRACE] CONTEXT THREAD: MQTTClient_run RETURN␍␊
[09:34:51:522] ␊
[09:34:51:522] ␍[GEN::TRACE] CONTEXT THREAD: MQTT CLIENT DELETED␊
[09:34:51:529] ␍[GEN::TRACE] CONTEXT THREAD EXIT␍␊
[09:34:51:529] ␊
[09:34:51:529] ␍[GEN::TRACE] MQTT APP THREAD: DISCONNECT␍␊
[09:34:51:538] ␊
[09:34:51:538] ␍[GEN::INFO] MQTT_EVENT_SERVER_DISCONNECT␍␊
[09:34:51:538] ␊
turn on the router
[09:34:51:538] ␍[WLAN EVENT] STA Connected to the AP: Miljor2 , BSSID: a4:52:6f:0:da:f2␊
[09:35:16:642] ␍[NETAPP EVENT] IP acquired by the device␊
[09:35:16:642] ␍Device disconnected from the AP on an ERROR..!! ␊
[09:35:20:649] ␍[WLAN EVENT] STA Connected to the AP: Miljor2 , BSSID: a4:52:6f:0:da:f2␊
[09:35:29:048] ␍[NETAPP EVENT] IP acquired by the device␊
[09:35:29:058] ␍[network]SL_WLAN_EVENT_STA_ADDED ␊
[10:22:52:777] ␍␍When device is in AP mode and any client connects to it..␍␊
[10:22:52:777] ␍[NETAPP EVENT] IP Leased to Client: IP=192.168.44.100 , ␍␊
[10:22:52:777] ␍