When esp_mqtt_client_start was caleed, it takes 7 seconds to return connected state. Then I set up that it took lower than 1 second to connect from the launch to return OK. Is there any way to shorten the time ahead?
When esp_mqtt_client_start was caleed, it takes 7 seconds to return connected state. Then I set up that it took lower than 1 second to connect from the launch to return OK. Is there any way to shorten the time ahead?
Read less
hello, It isn't experiencing a "bottleneck" problem. I believe that every time his device reconnects to the wifi, there is a delay. The amount of time it takes to connect to wifi can vary depending on your proximity to the network and can take several seconds. I experienced the same issue witRead more
hello,
It isn’t experiencing a “bottleneck” problem. I believe that every time his device reconnects to the wifi, there is a delay. The amount of time it takes to connect to wifi can vary depending on your proximity to the network and can take several seconds.
I experienced the same issue with remote sensors that required deep sleep in order to conserve battery. It was necessary for a sensor to re-connect to the network after an incident that caused it to awaken from deep slumber. The system as a whole was slowed down by the normalisation of connection time required for sensor synchronisation. Espressif’s ESP-Now is the answer it offers to this specific issue.
See less