Hi,
I am using CC3200 SDK 1.2.0's MQTT Client example, CC3200 works as a MQTT Client.
CCS version: 6.1.2.00015
SDK version: 1.2.0
1) Disconnected by Server and client try re-connect to server
When it was disconnected by the server (using CCS, pause execution in debuggin, such that no PING request is send to server and let the server side regard as keep alive timeout), The MQTT Client example can notify this and execute to a LOOPFOREVER statement.
Since i would like to test CC3200 is able to re-connect to the MQTT server when connection is lost, i modified the code to run from the beginning of the task MqttClient(). But after connection lost and when comes to the sl_ExtLib_MqttClientConnect() again, this function always return fail.
2) Actively executing disconnect function in Client side and the client try re-connect to server
The function sl_ExtLib_MqttClientDisconnect() is added to the main task MqttClient()'s PUSH_BUTTON_SW3_PRESSED response. But when executing this funciton, the program just hang.
Does anyone know to test with the re-connect issue?
Thanks!
Eric