I am using the Arduino IDE version of the SDK for ESP32. The time it takes for me to get an IP address is usually around 1000 - 1050ms (using WPA). The time it takes to connect to an MQTT broker varies. Anywhere from 1.4s to 3s. I am using cloudmqtt.com for a test connection. Does anyone have any better times than this?
The idea is that a battery powered solution can connect quickly to a router, connect to MQTT broker, send a message, receive any messages queued waiting for it to arrive, and then go back to sleep.
Has anyone done any current consumption tests and connection times for the ESP32 in deep sleep mode and implementing an MQTT broker?
Thanks for any help you can provide!
Connection time, MQTT connect time, and current draw?
Re: Connection time, MQTT connect time, and current draw?
Hi Brolly!
I have your same timing here.
Did you find any solution to shorten the MQTT connection time?
Regards
I have your same timing here.
Did you find any solution to shorten the MQTT connection time?
Regards
Who is online
Users browsing this forum: No registered users and 28 guests