Hi , I would like to use the esp32 Bluetooth on the help page it says "BT Legacy functionality must be switched on via the sdkconfig file"
but I don't have any idea how to do that anyone can help, please?
ESP32 Bluetooth SPP
-
- Posts: 186
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 54 times
- Been thanked: 26 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: ESP32 Bluetooth SPP
Hello,
In the Flowcode project directory should be a folder that is created when you compile. Inside this folder is a file called sdkconfig.
Open this file with a text editor e.g. notepad++ and look for this section.
Once you've done this save the config file and recompile the project.
Hope that helps.
In the Flowcode project directory should be a folder that is created when you compile. Inside this folder is a file called sdkconfig.
Open this file with a text editor e.g. notepad++ and look for this section.
The default is that BLE_ONLY is enables and so need to change the setting to look like this instead.# Bluetooth
Code: Select all
#
# Bluetooth
#
CONFIG_BT_ENABLED=y
#
# Bluetooth controller
#
# CONFIG_BTDM_CTRL_MODE_BLE_ONLY is not set
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y
# CONFIG_BTDM_CTRL_MODE_BTDM is not set
Hope that helps.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: ESP32 Bluetooth SPP
Hi Ben,
I have edited the file as you told me but I still can't see the esp when
I scan the Bluetooth for new devices.
Also, I noticed that if I Initialize WLAN and BT together the esp will not boot correctly and panic
can WLAN and Bluetooth be used together?
I have edited the file as you told me but I still can't see the esp when
I scan the Bluetooth for new devices.
Also, I noticed that if I Initialize WLAN and BT together the esp will not boot correctly and panic
can WLAN and Bluetooth be used together?
- Attachments
-
- sdkconfig.rar
- (8.88 KiB) Downloaded 500 times
-
- Flowcode1.fcfx
- (15.9 KiB) Downloaded 465 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: ESP32 Bluetooth SPP
Hello,
Reading around the subject it looks like BT and WIFI should be able to run at the same time on the ESP, but this does not specifically mention the EDR mode.
I'll see if I can find out any further info for you.
Reading around the subject it looks like BT and WIFI should be able to run at the same time on the ESP, but this does not specifically mention the EDR mode.
I'll see if I can find out any further info for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: ESP32 Bluetooth SPP
Good morning
I have the same problem, I programmed the device with this file and modified the "sdkconfig" file as indicated but I don't see the ble on the phone; I noticed, however, that the modified and saved file, when I compile the next time the modification, the file returns as before the modification. do you have any news?
Best Regards
I have the same problem, I programmed the device with this file and modified the "sdkconfig" file as indicated but I don't see the ble on the phone; I noticed, however, that the modified and saved file, when I compile the next time the modification, the file returns as before the modification. do you have any news?
Best Regards