-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
BluetoothSerial shows up as audio device on macOS, immediately disconnects #1304
Comments
Same here on MacOS 10.13.4 Sorry but the BTSerial demo is simply not functional? |
oh, the Bluetooth service class is hardcoded as a speaker on IDF: https://github.com/espressif/esp-idf/blob/f620a3c4f35cb715e5b6e37e8556ec2278628660/components/bt/bluedroid/include/bt_target.h#L578 |
ESP32 bluetooth is showing as speakers on Android as well, but Bluetooth Serial is working fine as shown in my little tutorial. Cannot not test on MAC or iOS though. |
@copercini This define appears to set the default via |
I looked at the output of macOS' Console application while I attempted to connect to the device: the process |
@me-no-dev The necessary functionality appears to have been added in espressif/esp-idf@789edc0. Would it be possible to update IDF to at least this commit? |
You can update the code yourself if you want to test. #1142 |
@lbernstone Thank you for the pointer. I just tried this, following your instructions - would you mind helping me a bit further? First, I found the idf-update branch in this repository. Unfortunately it looks like its IDF is a few versions behind espressif/esp-idf@789edc0 still. Next I tried compiling
How do I go from here? Which of the above would you use? Should copying Thanks in advance. |
Same issue solved: https://www.esp32.com/viewtopic.php?f=13&t=6099 Now the only problem is with the outdated IDF version of this core |
Here is a recompiled IDF with the default COD set to the changed values, if anyone else needs this as a workaround till this repo updates IDF again: https://github.com/gohai/arduino-esp32/commit/2c772325ffe94173f1674583c6e9cafb07826df0 |
Hardware:
Board: Adafruit ESP32 Feather
Core Installation/update date: April 10 2018
IDE name: Arduino 1.8.5
Flash Frequency: 80MHz
Upload Speed: 921600
Description:
Running the SerialToSerialBT example shows up as an "audio" device on macOS 10.13.4. The device disconnects on its own soon after pairing. Thus, it cannot be used currently. (See screenshot for details.)
The text was updated successfully, but these errors were encountered: