Connection time, MQTT connect time, and current draw?

brolly759
Posts: 13
Joined: Sun Jun 02, 2019 9:00 pm

Connection time, MQTT connect time, and current draw?

Postby brolly759 » Sun Jun 02, 2019 9:07 pm

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!

borelg
Posts: 6
Joined: Sat Dec 07, 2019 5:54 pm

Re: Connection time, MQTT connect time, and current draw?

Postby borelg » Tue Dec 24, 2019 10:00 am

Hi Brolly!

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 33 guests