ESP32 Bluetooth SPP with IDF v5
Posted: Thu Mar 07, 2024 12:27 pm
Hello,
It looks like some of the configuration options in the menuconfig tool have changed for IDF v5 and this is causing the Bluetooth SPP to not be able to startup.
If you go into the folder containing your Flowcode project and then go into the folder with the same name then you should find a file called menuconfig.bat.
Double click this file and then in the window that appears, using the keyboard cursor keys go into Component Config -> Bluetooth -> Bluedroid Options.
Copy the settings shown here.
Once done here, press escape and go into Controller Options -> Bluetooth Controller Mode and change the option to BR/EDR Only.
Press S and Enter to save the configurations, then press escape several times to exit.
Hopefully Bluetooth should now work correctly in IDF v5 onwards.
It looks like some of the configuration options in the menuconfig tool have changed for IDF v5 and this is causing the Bluetooth SPP to not be able to startup.
If you go into the folder containing your Flowcode project and then go into the folder with the same name then you should find a file called menuconfig.bat.
Double click this file and then in the window that appears, using the keyboard cursor keys go into Component Config -> Bluetooth -> Bluedroid Options.
Copy the settings shown here.
Once done here, press escape and go into Controller Options -> Bluetooth Controller Mode and change the option to BR/EDR Only.
Press S and Enter to save the configurations, then press escape several times to exit.
Hopefully Bluetooth should now work correctly in IDF v5 onwards.