DHCP is terribly slow and takes around 4 seconds
No, scan and connect to access point is the time consumer, not DHCP.
Using channel and bssid in Wifi.connect() speeds this up to one sec, watch issue #1640 and #1595.
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
No, scan and connect to access point is the time consumer, not DHCP.
Using channel and bssid in Wifi.connect() speeds this up to one sec,
watch issue #1640 and
#1595.