This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HFPAG Demo OpenAudioGatewayClient Problem



Hi,


I'm stuck for the problem.

I tried to connect a BT headset which has CSR chip to the HFPAG.

First I did Inquiry and ServiceDiscovery.

And then I did OpenAudioGatewayClient and PinCodeResponse, but the stack received two unknown HFRE event 11 & 38 from the headset.

Finally, the headset was disconnected.

What do they mean?

What is the cause?

Stack logs are as follows.

HFAGRE16>openaudiogatewayclient 1 1
Bluetooth Device Address: 0x00XXXXXXXXXX
Open Remote HandsFree Port = 0001
HFRE_Open_Remote_HandsFree_Port: Function Successful ID = 0001.
OpenRemoteHandsFreePort: HFRE_Update_Current_Control_Indicator_Status Function Status 0.

HFAGRE16>
atLinkKeyRequest: 0x00XXXXXXXXXX
GAP_Authentication_Response() Success.

HFAGRE16>
atPINCodeRequest: 0x00XXXXXXXXXX

Respond with the command: PINCodeResponse

HFAGRE16>pincoderesponse YYYY
PINCodeResponse.
GAP_Authentication_Response(), Pin Code Response Success.

HFAGRE16>
atLinkKeyCreation: 0x00XXXXXXXXXX
Link Key: 0xZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Link Key Stored locally.

HFAGRE16>
HFRE Open Port Confirmation, ID: 0x0001, Status: 0x0000.

HFAGRE16>
HFRE Open Service Level Connection Indication, ID: 0x0001
RemoteSupportedFeaturesValid: TRUE
RemoteSupportedFeatures: 0x0000009B
RemoteCallHoldMultipartySupport: 0x00000000
HFRE_Enable Call Line Identification

HFAGRE16>
Unknown HFRE Event Received: 11.

HFAGRE16>HFRE Speaker Gain Indication, ID: 0x0001, Speaker Gain 0x0009.

HFAGRE16>HFRE Call Waiting Notification Activation Indication, ID: 0x0001, Enabled: TRUE.

HFAGRE16>
Unknown HFRE Event Received: 38.

HFAGRE16>
HFRE Close Port Indication, ID: 0x0001, Status: 0x0001.

Best regards,
Ryuya Okada

  • Hi Ryuya,

    Can you share a sniffer log to check this ?

    The event 11 corresponds to: etHFRE_Disable_Sound_Enhancement_Indication (AT+NREC=0) & 38 corresponds to: etHFRE_Response_Hold_Status_Indication (AT+BTRH?) . You can handle these in HFRE_Event_Callback(). Please also see "HFRE_Event_Type_t" for more details.

    Regards,
    Gigi Joseph.
  • Hi Joseph,

    Thank you for your reply.

    OK, but I found that TI packet sniffer did not work on CC256x.

    In order to sniff packets, do I have to buy a packet sniffer tool?

    I would like to do that free of charge as much as possible.

    Do you have any idea?

    Regards,

    Ryuya Okada