-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Hands-free example shows battery level event instead on ring indication on iPhone (IDFGH-4674) #6486
Comments
Hi @barkow Thanks |
Hi @barkow We used iPhone 11 pro max to test. We didn't repeat your question. The operating system is 14.4. Thanks |
@barkow Thanks for reporting, however we could not reproduce the issue locally, would you please help share if any updates for the issue? Thanks. |
I'm trying to compile the example with more debug information active to give you more information on my issue. I will update this issue asap. |
I tried to activate more debug information, especially I activated the BTA_HF_CLIENT_AT_DUMP. Unfortunately it results in errors due to a stack overflow in BTU_TASK. I would be happy to get some support to debug the original issue. |
Hi @barkow I'm sorry, as @munho-espressif said, we test with iPhone 11 ProMax with iOS version 14.4, but we cannot reproduce the issue you come up with. We provided the air log, the AT command we send and the response from iPhone is right. So, could you please update the iOS with your phone and test it again? Thanks |
I managed to activate BTA_HF_CLIENT_AT_DUMP without crashes by massively increasing the BT stack size and changing the log level of AT command specific reports to warning. Please see the log below. According the initial answer to
|
…he HF application layer and the actually received indicator. Closes #6486
…he HF application layer and the actually received indicator. Closes #6486
…he HF application layer and the actually received indicator. Closes #6486
…he HF application layer and the actually received indicator. Closes #6486
…he HF application layer and the actually received indicator. Closes #6486
Environment
git describe --tags
to find it):framework-espidf 3.40200.210118 (4.2.0)
xtensa-esp32-elf-gcc --version
to find it):toolchain-xtensa32 2.80400.210114 (8.4.0)
Problem Description
I have tested the Bluetooth classic hands-free unit example. I want to get a ring indication from my phone. When I connect with my Android phone, I can see the ring indication event. But when I connect with my iPhone, I get battery level indication events, when my phone rings.
Expected Behavior
Get ring indication event when connected to iPhone and incoming call
Actual Behavior
Battery level indication event when connected to iPhone and incoming call
Steps to reproduce
Code to reproduce this issue
HFP Example: https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/classic_bt/hfp_hf
Debug Logs
Android 8.0.0:
Now, when I call the Android phone, I get this output
iPhone iOS 14.3
When I call my iPhone now, I get a battery level report event. The battery is reported 1 as soon as the phone rings and 0, when the phone stops ringing.
Other items if possible
n/a
The text was updated successfully, but these errors were encountered: