Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile BluetoothSerial error #271

Closed
BrainDamage193 opened this issue Jan 24, 2025 · 1 comment
Closed

Can't compile BluetoothSerial error #271

BrainDamage193 opened this issue Jan 24, 2025 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@BrainDamage193
Copy link

BrainDamage193 commented Jan 24, 2025

Im trying to compile the ESP32_BluetoothSerial.h on a Waveshare ESP32S3 Board and i always get some error link with my bluetoothserial library. I tried older version of the ESP32 boards package and i can't get it to work

this is my error :

C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL16_spp_send_bufferv+0x10): undefined reference to `esp_spp_write'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL8_stop_btv$isra$0+0x8): undefined reference to `esp_spp_disconnect'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL8_stop_btv$isra$0+0xc): undefined reference to `esp_spp_deinit'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x38): undefined reference to `esp_bt_gap_register_callback'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x3c): undefined reference to `esp_spp_register_callback'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x40): undefined reference to `esp_spp_enhanced_init'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x44): undefined reference to `esp_bt_gap_set_device_name'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x48): undefined reference to `esp_bt_gap_set_security_param'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial5beginE6Stringbb+0x4c): undefined reference to `esp_bt_gap_set_cod'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial7connectE6String+0x18): undefined reference to `esp_bt_gap_set_scan_mode'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZN15BluetoothSerial7connectE6String+0x1c): undefined reference to `esp_bt_gap_start_discovery'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x30): undefined reference to `esp_bt_gap_resolve_eir_data'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\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_cancel_discovery'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x44): undefined reference to `esp_spp_start_discovery'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL13esp_bt_gap_cb21esp_bt_gap_cb_event_tP21esp_bt_gap_cb_param_t+0x48): undefined reference to `esp_bt_gap_pin_reply'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\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_bt_gap_ssp_confirm_reply'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x18): undefined reference to `esp_spp_start_srv'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL10esp_spp_cb18esp_spp_cb_event_tP18esp_spp_cb_param_t+0x1c): undefined reference to `esp_spp_connect'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `_spp_send_buffer()':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:174:(.text._ZL16_spp_send_bufferv+0x32): undefined reference to `esp_spp_write'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `_ZL8_stop_btv$isra$0':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:734:(.text._ZL8_stop_btv$isra$0+0x13): undefined reference to `esp_spp_disconnect'
C:/Users/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:736:(.text._ZL8_stop_btv$isra$0+0x19): undefined reference to `esp_spp_deinit'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `BluetoothSerial::begin(String, bool, bool)':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:670:(.text._ZN15BluetoothSerial5beginE6Stringbb+0xfe): undefined reference to `esp_bt_gap_register_callback'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `_init_bt':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:677:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x10a): undefined reference to `esp_spp_register_callback'
C:/Users/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:693:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x126): undefined reference to `esp_spp_enhanced_init'
C:/Users/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:695:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x131): undefined reference to `esp_bt_gap_set_device_name'
C:/Users/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:707:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x164): undefined reference to `esp_bt_gap_set_security_param'
C:/Users/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:716:(.text._ZN15BluetoothSerial5beginE6Stringbb+0x16f): undefined reference to `esp_bt_gap_set_cod'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `BluetoothSerial::disconnect()':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:1086:(.text._ZN15BluetoothSerial10disconnectEv+0x1a): undefined reference to `esp_spp_disconnect'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `BluetoothSerial::connect(String)':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:974:(.text._ZN15BluetoothSerial7connectE6String+0x6b): undefined reference to `esp_bt_gap_set_scan_mode'
C:/Users/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\BluetoothSerial\src/BluetoothSerial.cpp:982:(.text._ZN15BluetoothSerial7connectE6String+0x84): undefined reference to `esp_bt_gap_start_discovery'
C:/Users/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `get_name_from_eir':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\arduino\sketches\1189C43BA5CF82C8EF783D38A7243490\libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function `esp_spp_cb(esp_spp_cb_event_t, esp_spp_cb_param_t*)':
C:\Users\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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/olivi/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\olivi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\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

exit status 1

Compilation error: exit status 1`

@BrainDamage193 BrainDamage193 added the question Further information is requested label Jan 24, 2025
@jimwhitelaw
Copy link
Collaborator

I think that your issue might be related to this: espressif/arduino-esp32#6308 (comment)

ESP32S3 is only compatible with BLE. Perhaps the BLE lib & example here (ELMduino BLE Support) may work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants