Tool/software: TI-RTOS
Hi Michael & Team,
This is relating an old question I had asked where the MQTT connection wouldn't success after many failed attempts (when there is an internet outage). Though it rarely happened during our development (once or twice and we could not replicate), it once happened in one production board where I had to reset the board to resume its operations.
Since I couldn't find a reason or solution, the only option left would be to call sl_Stop(200) and sl_Start(NULL, NULL, NULL) when there is mqtt connection failure. I tried it on my debugging board (for few hours) and it seems fine, however I need to understand its drawbacks before I push it to production. Can someone please help me to understand the actual impact of invoking sl_Stop and sl_Start frequently? Does it reconnect to the WiFi in every cycle or will it get a new IP address on each cycle ? Does it impact any other threads like scheduling, gpio read/write, ota, ntp, file read/write ?
I am on 2.40.01.01 and using CC3220MODA boards.
Appreciate quick support.
Regards
Zac