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 for the ESP32 using Espruino in deep sleep mode? I would like to compare it with other tests people have done using the Arduino IDE.
Thanks for any help you can provide!