Enabling Bluetooth options in SDK configuration editor

accacca
Posts: 33
Joined: Mon Aug 06, 2018 4:59 pm

Enabling Bluetooth options in SDK configuration editor

Postby accacca » Thu Aug 04, 2022 11:15 am

I am started a ESP32 project from Wifi example (We work with an old ESP32-WROOM development board)
Now I added the bluetooth SPP code but compiler terminate with error: file "esp_bt.h" not found

I checked my SDK config and I don't found the bluetooth options
My editor menu
bt1.jpg
bt1.jpg (20.71 KiB) Viewed 1069 times
and "bt_spp_fvs_acceptor" example menu
BT2.jpg
BT2.jpg (22.54 KiB) Viewed 1069 times
How I can enable the Bluetooth options ?

I have also create a sdkconfig.defaults with these items (copied from example code)

Code: Select all

CONFIG_BT_ENABLED=y
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=n
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y
CONFIG_BTDM_CTRL_MODE_BTDM=n
CONFIG_BT_CLASSIC_ENABLED=y
CONFIG_BT_SPP_ENABLED=y
CONFIG_BT_BLE_ENABLED=n
but I can't enable bluetooth options and I can't solve the compiler error
Anyone can help thanks

accacca
Posts: 33
Joined: Mon Aug 06, 2018 4:59 pm

Re: Enabling Bluetooth options in SDK configuration editor

Postby accacca » Sat Aug 06, 2022 8:15 am

mistake mistake mistake....
Solved!
Inside the components folder of my project I have create a folder "bt"
SAME name of the bluetooth folder contained in the system components folder

Who is online

Users browsing this forum: No registered users and 153 guests