Bluetooth: transferring a call from source to receiver?

I have one Android phone (Samsung S Duos) that will work as SOURCE, and one audio development kit, i.e. CSR 8670, that will work as SINK. I try to activate the a2dp profile, and then I transfer the incoming call of my phone (Samsung S Duos) to the kit (CSR 8670), but I can not achieve this. Please help me overcome this problem.

+6
source share
1 answer

A2DP uses ACL packets, voice calls (speakerphone) uses SCO packets over the air. The sound "Call" goes through the SCO channel, so it is impossible to "technically" route calls to the A2DP receiver (unless you make some big hacks that do not meet the BT specification). Ideally, you should use HFP for audio calls.

HCI can transmit both ACL and SCO. BT chips often have a PCM interface to which you can route SCO data, but it is usually not available if you cannot access the chip PINs.

Also, try asking some exact questions (with log / code) so that we can really help you. If you ask a few general questions, it is difficult to answer them.

0
source

Source: https://habr.com/ru/post/972116/


All Articles