WiFi & BT not required, how?

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

then this disables the radios, but it adds a bucket load of size to the compiled code.

Hopefully there is a simple answer.

Posts: 1690
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 19 guests