-
Notifications
You must be signed in to change notification settings - Fork 0
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
Just some resources. #1
Comments
Jumping off https://github.com/pschatzmann/ESP32-A2DP We see a link to classic BT section https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/classic_bt In which we see two very relevant examples: Hands-Free Audio Gateway -- the Audio Gateway makes your device act as a phone, i.e. connectable to a headset. Hands-Free Unit -- the Unit means headset. So if we merge these two examples we should be able to prototype this |
First let's get the HF Unit code installed and see if we can pair to it with the phone as though it's a headset! |
https://www.youtube.com/watch?v=At8PDQ3g7FQ - audio output instructions https://www.youtube.com/watch?v=0jR-QNTfydA - bluetooth hfp microphone easier to understrand hopefully than idf and his code: |
closest we got is with a raspberry pi!
https://unix.stackexchange.com/questions/175930/change-default-port-for-pulseaudio-line-out-not-headphones ofono is also related. this code doesn't seem that hard to read frankly https://www.toolbox.com/tech/how-to/blogs/howto-capture-specific-pulse-audio-streams-021017/ |
Device DC:52:85:E1:60:48 DFH Phone |
Linux audio bluetooth is pretty shit. Nice recap of how I am feeling now here given my galaxy buds are piping audio fine from calls (after the BCM2070 patch file was added) yet do not provide any mic to linux. https://www.reddit.com/r/galaxybuds/comments/g4so4t/using_the_microphone_on_ubuntu_1804/fpk5ego/ |
https://github.com/pschatzmann/ESP32-A2DP
https://github.com/pschatzmann/arduino-audio-tools/wiki/Examples
https://github.com/atomic14/esp32_audio
https://www.reddit.com/r/esp32/comments/nmwugf/how_to_connect_esp32_to_bluetooth_headphones/
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/esp_hf_ag.html
https://www.reddit.com/r/esp32/comments/mvgrwf/bluetooth_micheadset_to_eps32/
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/classic_bt.html
https://github.com/espressif/esp-idf/tree/c69f0ec/examples/bluetooth/bluedroid/classic_bt/a2dp_sink
espressif/esp-adf#648
https://en.wikipedia.org/wiki/List_of_Bluetooth_profiles#Hands-Free_Profile_(HFP)
The text was updated successfully, but these errors were encountered: