Other Parts Discussed in Thread: CC3200
Hello,
I try to connect a CC256xCQFN-EM stacked on an MSP432 and extended with a CC3200 AUDIO BOSTERPACK with a car-unit. I use the "HFP Demo Ag" code and my boards are connected like in "Copyright © 2016, Texas Instruments Incorporatedwww.ti.com Hardware Setup 7SWRU497A–November 2016–Revised August 20" page 7.
I can pair the bt-stack with my car-unit and I can open an audiogateway client. I can use manageaudio 1 to setup audio. I try to open a bluetooth call via the bluetooth stack, but all other commands like ringIndication sendCallWaiting, give me the error (-1005) and close the audioAgClient. Also the client closes when I push the call button on my car-unit.
Here are my HCI commands:
----------------------------------------------------------------------------------------------------------------------------
HFP AG>pair 3
GAP_Initiate_Bonding (Dedicated): Function Successful.
HFP AG>
atLinkKeyRequest: 0x009D6B211CF7
GAP_Authentication_Response() Success.
HFP AG>
atPINCodeRequest: 0x009D6B211CF7
Respond with the command: PINCodeResponse
HFP AG>pincoderesponse 12345
PINCodeResponse.
GAP_Authentication_Response(), Pin Code Response Success.
HFP AG>
atLinkKeyCreation: 0x009D6B211CF7
Link Key: 0xD253DD228E8CBB88EE2D6040C160EF0D
Link Key Stored locally.
HFP AG>
atAuthenticationStatus: 0 Board: 0x009D6B211CF7
HFP AG>servicediscovery 3 12
SDP_Service_Search_Attribute_Request(Handsfree) Success.
HFP AG>
SDP Service Search Attribute Response Received (Size = 0x0010)
Service Record: 1:
Attribute ID 0x0000
Type: Unsigned Int = 0x00010002
Attribute ID 0x0001
Type: Data Element Sequence
Type: UUID_16 = 0x111E
Type: UUID_16 = 0x1203
Attribute ID 0x0002
Type: Unsigned Int = 0x00000832
Attribute ID 0x0004
Type: Data Element Sequence
Type: Data Element Sequence
Type: UUID_16 = 0x0100
Type: Data Element Sequence
Type: UUID_16 = 0x0003
Type: Unsigned Int = 0x01
Attribute ID 0x0005
Type: Data Element Sequence
Type: UUID_16 = 0x1002
Attribute ID 0x0006
Type: Data Element Sequence
Type: Unsigned Int = 0x656E
Type: Unsigned Int = 0x006A
Type: Unsigned Int = 0x0100
Attribute ID 0x0009
Type: Data Element Sequence
Type: Data Element Sequence
Type: UUID_16 = 0x111E
Type: Unsigned Int = 0x0107
Attribute ID 0x0100
Type: Text String = Hands-Free unit
Attribute ID 0x0311
Type: Unsigned Int = 0x003F
HFP AG>openaudiogatewayclient 3 1
Bluetooth Device Address: 0x009D6B211CF7
Open Remote HandsFree Port = 0001
HFRE_Open_Remote_HandsFree_Port: Function Successful ID = 0001.
OpenRemoteHandsFreePort: HFRE_Update_Current_Control_Indicator_Status Function Status 0.
HFP AG>
atLinkKeyRequest: 0x009D6B211CF7
GAP_Authentication_Response() Success.
HFP AG>
HFRE Open Port Confirmation, ID: 0x0001, Status: 0x0000.
HFP AG>
HFRE Available Codec List Indiocation, ID: 0x0001 NumCodecs: 2 [ 1 2 ]
HFP AG>
HFRE Open Service Level Connection Indication, ID: 0x0001
RemoteSupportedFeaturesValid: TRUE
RemoteSupportedFeatures: 0x000000FF
RemoteCallHoldMultipartySupport: 0x00000000
HFRE_Enable Call Line Identification
HFP AG>
HFRE Disable Sound_Enhancement Indication, ID: 0x0001
HFRE_Send_Terminating_Response (erOK) :: Res = 0
HFP AG>
HFRE_Current_Calls_List_Indication
HFRE_Send_Terminating_Response (erOK) :: Res = 0
HFP AG>HFRE Call Line Identification Notification Activation Indication, ID: 0x0001, Enabled: TRUE.
HFP AG>HFRE Call Waiting Notification Activation Indication, ID: 0x0001, Enabled: TRUE.
HFP AG>
HFRE_Extended_Error_Result_Activation_Indication_Data ENable: 1
HFRE_Send_Terminating_Response (erOK) :: Res = 0
HFP AG>
HFRE_Current_Calls_List_Indication
HFRE_Send_Terminating_Response (erOK) :: Res = 0
HFP AG>HFRE Network Operator Selection Format Indication, ID: 0x0001 Format: 3.
HFP AG>HFRE Network Operator Selection Indication, ID: 0x0001.
HFP AG>manageaudio 1
HFRE_Send_Select_Codec:: Codec = 2, Res = 0
HFP AG>
HFRE Codec Select Confirmation, ID: 0x0001 AcceptedCodec=2
Setup WBS with Audio for ACL handle 0x0001
HFRE_Setup_Audio_Connection: Function Successful.
HFRE_Setup_Audio_Connection:: Res = 0
HFP AG>
HFRE Audio Connection Indication, ID: 0x0001, BDADDR=0x009D6B211CF7, Status: 0x0000.
HFP AG>callwaiting 01732123
HFRE_Send_Call_Waiting_Notification() Failure: -1005.
Function Error.
HFP AG>callindication
HFRE Close Port Indication, ID: 0x0001, Status: 0x0001.
-----------------------------------------------------------------------------------------------------------------------------
Maybe you can help my with my problem.
Best regards
J.Vetter