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.

CC2564B: HFGAGDemo issue with Hands Free earphones

Other Parts Discussed in Thread: BOOST-CC2564MODA, CC256XMS432BTBLESW, CC3200AUDBOOST

Hi,

I'm trying to follow the HFGAG Demo step by step guide shown here :

processors.wiki.ti.com/.../CC256x_TI’s_Bluetooth_Stack_Basic_HFGAGDemo_APP

I'm using a couple of standard BL earphones but I'm stuck at the some point with both .

I'm not able to use the OpenAudioGatewayClient api because I'm not able to retrieve the SP Port has defined on the wiki.

Hereunder my log.

can you suggest how to move on ?

Thanks

HFAGRE16>servicediscovery 3 12
SDP_Service_Search_Attribute_Request(Handsfree) Success.

HFAGRE16>
atPINCodeRequest: 0x001167007a2d

Respond with the command: PINCodeResponse

HFAGRE16>servicediscovery 3 12
SDP_Service_Search_Attribute_Request(Handsfree) Success.

HFAGRE16>
atPINCodeRequest: 0x001167007a2d

Respond with the command: PINCodeResponse

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

HFAGRE16>
atLinkKeyCreation: 0x001167007a2d
Link Key: 0x64ca56adc0f7736e6e24c5a283c7d6d1
Link Key Stored locally.

HFAGRE16>
SDP Service Search Attribute Response Received (Size = 0x0010)
Service Record: 1:
Attribute ID 0x0000
Type: Unsigned Int = 0x00010003
Attribute ID 0x0001
Type: Data Element Sequence
Type: UUID_16 = 0x111e
Type: UUID_16 = 0x1203
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 = 0x02
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 = 0x0105
Attribute ID 0x0100
Type: Text String = Hands-free unit
Attribute ID 0x0311
Type: Unsigned Int = 0x001a

HFAGRE16>openaudiogatewayclient 3 1
Bluetooth Device Address: 0x001167007a2d
Open Remote HandsFree Port = 0001
HFRE_Open_Remote_HandsFree_Port() Failure: -103.
Function Error.

  • Paolo,

    Are you using the OpenHFServer command as described in the Demo guide wiki?

    Best regards,
    Vihang
  • Hi Vihang,

    I'm using only the "Client Setup" because I'm using standard BL HFP earphones instead of a TI demo for the Server .
    Do I'm wrong with this setup ?
    Target is to emulate a smartphone acting like HFP-AG .

    What I'm not able to found is the SSP port opened by the Server on the earphones and so I'm not able to run the openaudiogatewayclient command.

    Paolo
  • Hi Paolo,

    The error -103 above refers to the BTPS_ERROR_FEATURE_NOT_AVAILABLE. Please note that some of the old Bluetopia releases like MSP430 and TIVA do not have HFP Demo in Audio Gateway (AG) role. These SDKs do not support HFP AG role and they only have Hands Free (HF) role.

    If you are using one of these platforms, please try this use-case on the MSP432 (MSP-EXP432P401R + BOOST-CC2564MODA + CC3200AUDBOOST). The CC256XMS432BTBLESW supports both AG and HF roles of the HFP.

    Best regards,
    Vihang