C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL16_spp_send_bufferv+0x18): undefined reference to `esp_spp_write'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL8_stop_btv$isra$0+0x8): undefined reference to `esp_spp_disconnect'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL8_stop_btv$isra$0+0xc): undefined reference to `esp_spp_deinit'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x38): undefined reference to `esp_bt_gap_register_callback'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x3c): undefined reference to `esp_spp_register_callback'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x40): undefined reference to `esp_spp_enhanced_init'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x44): undefined reference to `esp_bt_gap_set_device_name'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x48): undefined reference to `esp_bt_gap_set_security_param'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x4c): undefined reference to `esp_bt_gap_set_cod'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x38): undefined reference to `esp_bt_gap_resolve_eir_data'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x40): undefined reference to `esp_bt_gap_cancel_discovery'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x4c): undefined reference to `esp_spp_start_discovery'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x50): undefined reference to `esp_bt_gap_pin_reply'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x54): undefined reference to `esp_bt_gap_ssp_confirm_reply'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x24): undefined reference to `esp_bt_gap_set_scan_mode'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x28): undefined reference to `esp_spp_start_srv'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x2c): undefined reference to `esp_spp_connect'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `_spp_send_buffer()':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:174:(.text._ZL16_spp_send_bufferv+0x32): undefined reference to `esp_spp_write'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `_ZL8_stop_btv$isra$0':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:734:(.text._ZL8_stop_btv$isra$0+0x13): undefined reference to `esp_spp_disconnect'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:736:(.text._ZL8_stop_btv$isra$0+0x19): undefined reference to `esp_spp_deinit'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `BluetoothSerial::begin(String, bool, bool)':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:670:(.text._ZN15BluetoothSerial5beginE6Stringbb+0xfe): undefined reference to `esp_bt_gap_register_callback'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `_init_bt':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:677:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x10a): undefined reference to `esp_spp_register_callback'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:693:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x126): undefined reference to `esp_spp_enhanced_init'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:695:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x131): undefined reference to `esp_bt_gap_set_device_name'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:707:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x164): undefined reference to `esp_bt_gap_set_security_param'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:716:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x16f): undefined reference to `esp_bt_gap_set_cod'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `esp_bt_gap_cb(esp_bt_gap_cb_event_t, esp_bt_gap_cb_param_t*)':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:129:(.text._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x11e): undefined reference to `esp_bt_gap_resolve_eir_data'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:473:(.text._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x170): undefined reference to `esp_bt_gap_cancel_discovery'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `get_name_from_eir':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:131:(.text._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x1fe): undefined reference to `esp_bt_gap_resolve_eir_data'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `esp_bt_gap_cb(esp_bt_gap_cb_event_t, esp_bt_gap_cb_param_t*)':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:474:(.text._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x25a): undefined reference to `esp_spp_start_discovery'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:536:(.text._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x41a): undefined reference to `esp_bt_gap_pin_reply'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:546:(.text._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x444): undefined reference to `esp_bt_gap_ssp_confirm_reply'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Temp\arduino\sketches\0131BC7572C082E0EA6F18340FFA8C4F\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `esp_spp_cb(esp_spp_cb_event_t, esp_spp_cb_param_t*)':
C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:248:(.text._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x7e): undefined reference to `esp_bt_gap_set_scan_mode'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:253:(.text._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x9b): undefined reference to `esp_spp_start_srv'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:274:(.text._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x196): undefined reference to `esp_spp_connect'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:298:(.text._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x212): undefined reference to `esp_spp_disconnect'
C:/Users/dhana/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial\src/BluetoothSerial.cpp:383:(.text._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x2fe): undefined reference to `esp_spp_disconnect'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "BluetoothSerial.h"
Used: C:\Users\dhana\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\BluetoothSerial
Not used: C:\Users\dhana\Documents\Arduino\libraries\BluetoothSerial
exit status 1
Compilation error: exit status 1
can anyone knows help mw