WiFi & BT not required, how?

gjt211
Posts: 1
Joined: Thu Mar 22, 2018 8:14 am

WiFi & BT not required, how?

Postby gjt211 » Thu Mar 22, 2018 8:55 am

I want to use the ESP32 just as a MCU without the WiFi and BT functionality.
I also don't want to enable then later. Off, forever.
I have been searching trying to find a definitive answer about this with mixed results.

If I don't include "WiFi.h", does that mean the radios will be disabled and stay disabled?

I found that if I include "WiFi.h" and then put

Code: Select all

WiFi.mode(WIFI_OFF);
btStop();
then this disables the radios, but it adds a bucket load of size to the compiled code.

Hopefully there is a simple answer.

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: WiFi & BT not required, how?

Postby ESP_igrr » Thu Mar 22, 2018 9:48 am

With Arduino-esp32, If you don't include WiFi.h, then WiFi will stay disabled. Same for BT.

Who is online

Users browsing this forum: No registered users and 71 guests