-
Notifications
You must be signed in to change notification settings - Fork 606
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
ESP32: hfp_hf_demo crashed when received or initiated a phone call #107
Comments
hi! In both cases, it crashes because BTstack's packet handler is called from interrupt context. 0x40083aae: r_assert_err at ??:? Feel free to post your logs as issues at github/esp-idf to make them aware that more people would like to use SCO on he ESP32. In general, we still don't know how to receive/send SCO packets with the ESP32 - espressif/esp-idf#1118 Without that, even if it wouldn't crash, HFP cannot be used. |
Thank you very much for the feedback! Highly appreciated. I will create an issue at github/esp-idf as suggested. |
Hi, HFP works(SCO over HCI) fine with esp-idf bluedriod stack... but only with CVSD codec. Sound is not good (8000hz only). I used i2s mems mic for input and external i2s DAC for output(used both i2s buses). I`m want to use mSBC codec and tried the bluekitchen stack... and output buffer transmitted to i2s have only zeros in HFP bluekitchen example. |
hi. few quetions:
For BTstack: please try the current version of develop, with this week update to sco over hci config. I tried this week, see espressif/esp-idf#1118 |
|
Thanks a lot! with BTstack-develop works. mSBC+PLC+SCO_DEMO_MODE_SINE i hear the remote phone and the remote phone hear a sinus. Perfect! Next step is add i2s mems microphone. |
Dear all,
I've referred to this issue #82 and this issue #1118 on the esp-idf's repository to set up my ESP32 board as a Bluetooth headset connected to my iPhone. I'm using the develop branch with latest esp-idf. I've got the connection working and I can enter 'd' to query network operator and 'i' to initiate phone call. However, right after the phone call is made or the phone rang, the program crashed (core dump) as attached below.
Thank you,
Nuntipat
Error message when receiving a phone call
Error message when initiate a phone call
The text was updated successfully, but these errors were encountered: