ESP32 - Disable WiFi / Power Management


I was wondering about two things. I didn’t find anything relevant in the documentation so I thought to ask here.

  1. Is it possible to disable the WiFi of ESP32 and only use the BT?
  2. Is any power management supported for the ESP32?

Hi @niag,

thanks for your questions.

Wifi is not enabled until you initialize the esp32net.wifi module by importing and calling auto_init. However, all the esp32 wifi functions and the memory structure are still in the VM. I think it is possible to create a BT only VM removing all the unneded wifi (and TLS) code from it.
About powersaving, there is no support yet; something very basic like deep sleep functionality is in pipeline for the next Zerynth release in september.

However, if you need a customized VM for your project (i.e. BT only + custom main clock frequency) just drop us a line and we will be happy to assist you.