Imp.net.latchwifipower() benefit


#1

I’ve read the documentation on imp.net.latchwifipower()
Since we are using imp with permanent supplies, I’m curious to know what sort of benefit we’d see in terms of connection time. Is it milliseconds or seconds?

thanks,
Regan


#2

Depends on which imp and what SPI flash speed you have set. This has no effect on 005 which keeps the WiFi side “up” all the time.

On 003 and 004 firmware is loaded from SPI flash. It’s about 0.5s to load firmware on 004 at fastest speed as I remember, and this removes that time so that a reconnect would be even quicker. The boot is in the background anyway, so unless you’re also trying to access SPI flash from your application, the boot time isn’t necessarily a big thing in terms of getting in your way.

To see how it affects your application just give it a try?