Wow, this should be the reason. Thank you !!!I'm not a Bluetooth expert, but my guess would be that Bluetooth Serial is a BT Classic protocol. The ESP32C3 only supports BTLE.
Search found 2 matches
- Sun Aug 08, 2021 3:40 am
- Forum: ESP32 Arduino
- Topic: I am having trouble compiling the example of ESP32C3
- Replies: 3
- Views: 9046
Re: I am having trouble compiling the example of ESP32C3
- Sat Aug 07, 2021 5:03 pm
- Forum: ESP32 Arduino
- Topic: I am having trouble compiling the example of ESP32C3
- Replies: 3
- Views: 9046
I am having trouble compiling the example of ESP32C3
I am having trouble using the example of ESP32C3. The used sketch is shown as follow:
#include <BluetoothSerial.h>
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
BluetoothSerial SerialBT ...
#include <BluetoothSerial.h>
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
BluetoothSerial SerialBT ...