I'm finding something odd with the little ESP-01 ESP8266 modules. The first connection attempt, after starting the program, takes a loong time - typically 6-8 seconds. Subsquent connections are really quick - typically under 1mSec. Is this expected? If so, why the huge difference? Can I force the first connect to be fast by forcing, for example, the channel, encryption or other features? I have complete control over both the stations and AP, as all are running on ESP-01s, creating their own isolated, private network.
I think the question was are you using AT commands or something else on your ESP-01 and are you « bare metal » over Serial sending yourself the commands or are you using a library to drive those AT commands?
J-M-L:
I think the question was are you using AT commands or something else on your ESP-01 and are you « bare metal » over Serial sending yourself the commands or are you using a library to drive those AT commands?
The result is the same either way.
Regards,
Ray L.