-
Notifications
You must be signed in to change notification settings - Fork 7.6k
When compiling the code including the BluetoothSerial.h file, it prompts: undefined reference #6308
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
Comments
Bluetooth Serial or SPP (Serial Port Profile) is part of BT 2.1 and uses RFCOMM to connect two peer devices. ESP32-C3 has only BLE support. There is no SPP in BLE. |
Closing it, given that there is nothing to be done, as already explained. |
@SuGlider Maybe put a note on the readme for BluetoothSerial that bluetooth classic is only supported on ESP32 |
GATT (Generic Attribute profile is a BLE profile, it defines specifications for two BLE devices to communicate through Service and Characteristic, the two parties of GATT communication are Client/Server relationship, Peripheral is GATT Server, Central is the GATT Client, all the communications, both are initiated by Client, and receive the response from Server. |
the example of: SerialToSerialBT from Arduino IDE, passed compiling for ESP32 Dev Module, failed for ESP32 S3 Dev module, why? |
SerialBT uses Bluetooth Classic protocol based on BR/EDR, which is only supported by the old ESP32. For more details about comparing BT and BLE: |
Board
ESP32C3
Device Description
ESP32C3kit
Hardware Configuration
An I2C Device
Version
v2.0.2
IDE Name
Arduino
Operating System
Windows10
Flash frequency
80
PSRAM enabled
yes
Upload speed
115200
Description
I found that when compiling the code including the BluetoothSerial.h file, the console reported a lot of undefined references
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: