microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.24k stars 113 forks source link

esp32: more control on when to turn on the wifi #533

Open pelikhan opened 1 year ago

pelikhan commented 1 year ago

Currently, we always turn on the wifi and keep on scanning when no AP is available. However ,in many samples the WiFI is not used. IMO; turn on the WiFi should be done in code.