Hi,
i'm using the TI controller CC2564C, founding some problems in connecting my device to a HandFree.
I need to configure my device in HFP as gateway.
First of all, i'm trying to make a SDP (SDP_Service_Search_Attribute_Request) on my HandFree, sometime works and sometime not; for a lot of time i'm receiving : SDP Conn Err Rx Sz=0x0010 Code: 0
What does this error means ?
After the service discovery is done (sometimes), i do the following: HFRE_Open_Remote_HandsFree_Port.
The first question is: do i need a SDP_Service_Search_Attribute_Request before HFRE_Open_Remote_HandsFree_Port, or if i already known the MAC address and the port i can use HFRE_Open_Remote_HandsFree_Port as a first ?
Because it seems that when SDP_Service_Search_Attribute_Request succeded also HFRE_Open_Remote_HandsFree_Port succeded as in the following:
B.0: HFRE Success ID=0001
-.0: atLinkKeyRequest
-.0: GAP_Auth_Resp Ok
-.0: atPINCodeReq
-.0: GAPAuthRsp Pin Success
-.1: Unhandled GAP Auth Evt: 3
-.0: HFRE Open Port Conf ID:0x0001, Status:0x0000
-.0: HFRE Open Service Level Conn Ind ID:0x0001
-.0: RemoteSupportedFeaturesValid:1
-.0: RemoteSupportedFeatures:0x0000003F
-.0: RemoteCallHoldMultipartySupport:0x00000000
-.0: HFRE_Enable Call Line Identification
-.0: Unknown HFRE Event Received: 11
When both succeded i do the following: HFRE_Setup_Audio_Connection, receiving some information, where it seems that the audio connection is established:
B.0: btAudioConn 1 ok
-.0: HFRE Audio Connection Indication, ID: 0x0001, Status: 0x0000
-.0: HFRE Speaker Gain Indication, ID: 0x0001, Speaker Gain 0x0008
-.0: HFRE Call Waiting Notification Activation Indication, ID: 0x0001, Enabledð
-.0: Unknown HFRE Event Received: 38
But after some seconds (around 5-10 sec) i receive the following:
-.0: HFRE Close Port Indication, ID: 0x0001, Status: 0x0001
Why the remote device close the port ? What does the error mean ?
Summarizing my questions are:
- on SDP_Service_Search_Attribute_Request what the error SDP Conn Err Rx Sz=0x0010 Code: 0 does means ?
- can i use HFRE_Open_Remote_HandsFree_Port without SDP_Service_Search_Attribute_Request ?
- after HFRE_Setup_Audio_Connection what the indication HFRE Close Port Indication, ID: 0x0001, Status: 0x0001 does means ?