Compilation error

#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
#include <BluetoothSerial.h>


BluetoothSerial SerialBT;

Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver();
...............................................................itd...................................

c:/users/sekad/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\sekad\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\BluetoothSerial\src/BluetoothSerial.cpp:547: undefined reference to esp_bt_gap_pin_reply' c:/users/sekad/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\sekad\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\BluetoothSerial\src/BluetoothSerial.cpp:558: undefined reference to esp_bt_gap_ssp_confirm_reply'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1
Can anyone help, I'm using ESP32 S, it keeps giving me an error. I installed blutotch, I still get this error.

AFAIK the ESP32-S3 does not have Bluetooth. It has BLE.

Does ESP32_BleSerial work you you?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.