As per application, we need dual mode HFP- one as Server port which connects to phone and another as remote open port which connects to remote device.So, I am using CC2564, since it allows dual HFP.
I've tried connecting Phone to server port of device - It works fine.
I've also tried establishing port connection and SCO connection between two remote devices - It works great.
when I try to do both at a time - I'm getting SCO interval rejection from one of the port(remote port)
Sequence followed in code:
1. HFRE_Open_Remote_HandsFree_Port - To connect to remote device.
2. HFRE_Setup_Audio_Connection - As soon as remote device initiates this command, I'm getting error status in etHFRE_Audio_Connection_Indication event as 0x01(HFRE_AUDIO_CONNECTION_STATUS_UNKNOWN_ERROR) and BT_LOgger shows error status = 0x1c in HCI_Setup_Synchronous _Call_Back_Event,which indicates SCO interval rejection.
PFA logs from BT_logger for reference.