A2DP sink cannot control volume with iphone

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Hrithik
Level 3
Level 3
25 sign-ins 25 replies posted First solution authored

Hi Infineon Team,

We are working with iMX8MM based on Android 11OS and using CYW43455 chip for BT and WiFi.
Our project requires A2DP sink and we have already tested and verified this feature with Android and iOS based phones.

But with iPhones, the volume control is not working, which is working perfectly with all Android phones. We tested with iOS 16 and above and its not working.

Could you please guide us in how to enable this?

Thanks,
Hrithik

0 Likes
13 Replies
Tushar_b
Moderator
Moderator
Moderator
100 replies posted First like given 25 solutions authored

Hi,

We are working on this and will keep you posted.

Regards,

Tushar

0 Likes
lock attach
Attachments are accessible only for community members.
Tushar_b
Moderator
Moderator
Moderator
100 replies posted First like given 25 solutions authored

Hi, 

Could you please use the following .hcd file and let us know the issue exists. 

Regards,

Tushar

 

0 Likes
Hrithik
Level 3
Level 3
25 sign-ins 25 replies posted First solution authored

Hi @Tushar_b ,

Thanks for the response.
Using this .hcd file, the bluetooth doesnt get paired with iPhone!

I could see the below logs during the pairing process:
BluetoothBondStateMachine: Bond address is:D8:DC:40:ED:53:AC
bt_btif_config: btif_get_device_type: Device [d8:dc:40:ed:53:ac] type 1
bt_btif_dm: get_cod remote_cod = 0x007a020c
BluetoothBondStateMachine: Entering PendingCommandState State
bt_btif_dm: get_cod remote_cod = 0x007a020c
bt_btif_config: btif_get_device_type: Device [d8:dc:40:ed:53:ac] type 1
bt_btif_dm: get_cod remote_cod = 0x007a020c
BluetoothBondStateMachine: bondStateChangeCallback: Status: 0 Address: D8:DC:40:ED:53:AC newState: 1
bt_btif_config: btif_get_device_type: Device [d8:dc:40:ed:53:ac] type 1
BluetoothBondStateMachine: Bond State Change Intent:D8:DC:40:ED:53:AC BOND_NONE => BOND_BONDING
BluetoothEventManager: Got bonding state changed for D8:DC:40:ED:53:AC, but we have no record of that device.
BluetoothDatabase: updateDatabase D8:DC:40:ED:53:AC
android.hardware.bluetooth.hci_packetizer: OnDataReady: Unexpected EOF reading the payload!
android.hardware.bluetooth.hci_packetizer: OnDataReady: Unexpected EOF reading the payload!
android.hardware.bluetooth.hci_packetizer: OnDataReady: Unexpected EOF reading the payload!
android.hardware.bluetooth.hci_packetizer: OnDataReady: Unexpected EOF reading the payload!
android.hardware.bluetooth.hci_packetizer: OnDataReady: Unexpected EOF reading the payload!
android.hardware.bluetooth.hci_packetizer: OnDataReady: Unexpected EOF reading the payload!
android.hardware.bluetooth.hci_packetizer: OnDataReady: Unexpected EOF reading the payload!
bt_btif_config: btif_get_device_type: Device [d8:dc:40:ed:53:ac] type 1
bt_btif_dm: get_cod remote_cod = 0x007a020c
bt_stack: [ERROR:metric_id_allocator.cc(181)] BluetoothMetricIdAllocatorFailed to forget device because device is not in paired_device_cache_
BluetoothBondStateMachine: bondStateChangeCallback: Status: 0 Address: D8:DC:40:ED:53:AC newState: 0
bt_btif_config: btif_get_device_type: Device [d8:dc:40:ed:53:ac] type 1
BluetoothBondStateMachine: Bond State Change Intent:D8:DC:40:ED:53:AC BOND_BONDING => BOND_NONE

 

Kindly help me resolve this issue.

Thanks,
Hrithik

0 Likes
Tushar_b
Moderator
Moderator
Moderator
100 replies posted First like given 25 solutions authored

Hi Hrithik, 

Could you please share the CYW43455 module details and the previous .hcd file version?

Regards,

Tushar 

0 Likes
lock attach
Attachments are accessible only for community members.
Hrithik
Level 3
Level 3
25 sign-ins 25 replies posted First solution authored

Hi @Tushar_b ,

Could you state what details you require for CYW43455 module?
Basically, this uses default broadcom HAL for its working.

Similarly, we are using default .hcd file as it was present in A11 repository.
How do I check the version of .hcd file? I am attaching the file for reference.

Thanks,
Hrithik

0 Likes
Hrithik
Level 3
Level 3
25 sign-ins 25 replies posted First solution authored

Hi @Tushar_b ,

Any update on this issue?

Actually its a critical issue and we are basically stuck as even no fail logs are getting generated.

So, kindly help me here.

Thanks,
Hrithik

0 Likes
Tushar_b
Moderator
Moderator
Moderator
100 replies posted First like given 25 solutions authored

Hi Hrithik, 

Yes, we observed the issue while using the "BCM4345C0_003.001.025.0190.0000" hcd file.

We tested the attached .hcd and able to control the volume from phone.

Ensure to cross verify with the multiple Iphone for testing or unpair the previous device and initiate the connection again. 

Regards,

Tushar

0 Likes
lock attach
Attachments are accessible only for community members.
Tushar_b
Moderator
Moderator
Moderator
100 replies posted First like given 25 solutions authored
 
0 Likes
Hrithik
Level 3
Level 3
25 sign-ins 25 replies posted First solution authored

Hi @Tushar_b ,

Using this FW file, A2DP sink works with iPhone but the original issue i.e android volume slider doesnt change when we change volume from iPhone.

If we set the volume at mid level from android screen, no sound is heard even if iphone volume is at max.
If we set the volume at max from android screen, using iPhone volume controls, volume gets changed. But we want the android slider to be in sync with iphone volume controls.

We tested with 3 different iPhones (iOS 16 and iOS 13) and we observed same results. Also, we are not able to observe any logs coming at that moment of volume controlling.

Kindly help us here.

Thanks,
Hrithik

0 Likes
Hrithik
Level 3
Level 3
25 sign-ins 25 replies posted First solution authored

Hi @Tushar_b ,

Along with the .hcd file, maybe there's something else also to be enabled? Or some NVRAM parameter changes?

Could you please look into this issue as its getting very critical ?

Thanks,
Hrithik

0 Likes
Tushar_b
Moderator
Moderator
Moderator
100 replies posted First like given 25 solutions authored

Hi Hrithik, 

We are checking with the concerned SW team and will update you soon. 

Regards,

Tushar

0 Likes
Tushar_b
Moderator
Moderator
Moderator
100 replies posted First like given 25 solutions authored

Hi Hrithik, 

Can you please move this query to Mycase system.

You can follow below to enter Mycase system.

https://www.infineon.com/export/sites/default/en/about-infineon/company/contacts/support/images/Leaf...

Regards,

Tushar

 

0 Likes
Hrithik
Level 3
Level 3
25 sign-ins 25 replies posted First solution authored

Hi @Tushar_b ,

I have created the case as you mentioned.

FYI, case number is IFX-230214-843572.

Thanks,
Hrithik

0 Likes