Part Number: CC2564
Other Parts Discussed in Thread: CC256XSTBTBLESW,
MCU use stm32f407, CC256XSTBTBLESW TI Dual-mode Bluetooth? stack on STM32F4 MCUs
log:
OpenStack().
Bluetooth Stack ID: 1
WBS Support initialized.
Device Chipset: 4.1
BTPS Version : 4.0.2.1
Project Type : 6
FW Version : 7.26
App Name : HFPAGDemo
App Version : 0.3
LOCAL BD_ADDR: 0x0017E9E57D52
GAP_Set_Connectability_Mode(cmConnectable).
GAP_Set_Discoverability_Mode(dmGeneralDiscoverable, 0).
GAP_Set_Pairability_Mode(pmPairableMode).
GAP_Register_Remote_Authentication() Success.
******************************************************************
* Command Options: Inquiry, DisplayInquiryList, Pair, *
* EndPairing, PINCodeResponse, PassKeyResponse, *
* UserConfirmationResponse, *
* SetDiscoverabilityMode, SetConnectabilityMode,*
* SetPairabilityMode, *
* ChangeSimplePairingParameters, *
* GetLocalAddress, SetLocalName, GetLocalName, *
* SetClassOfDevice, GetClassOfDevice, *
* GetRemoteName, ManageAudio, *
* OpenAudioGatewayClient, CloseAgClient, *
* ServiceDiscovery, UpdateControlIndicators, *
* CallWaiting, SendCallerIdNotification, *
* SetRingIndication, RingIndication, *
* SetVoiceRecognitionActivation, *
* SetSpeakerGain, SetMicroPhoneGain, *
* DisableRemoteSoundEnhancement, *
* SendOperatorInfo, SendIncomingCallState, *
* SendSubNumber, SendCallList, *
* Help *
******************************************************************
HFAGRE16>inquiry
Return Value is 0 GAP_Perform_Inquiry() SUCCESS.
HFAGRE16>
GAP Inquiry Entry Result: 0x485AB6D16CA8.
HFAGRE16>
GAP Inquiry Entry Result: 0x0C1DAF96C1D5.
HFAGRE16>
HFAGRE16>
GAP Inquiry Entry Result: 0x0019223A8108.
HFAGRE16>
GAP_Inquiry_Result: 3 Found.
GAP Inquiry Result: 1, 0x485AB6D16CA8.
GAP Inquiry Result: 2, 0x0C1DAF96C1D5.
GAP Inquiry Result: 3, 0x0019223A8108.
HFAGRE16>pair 3
GAP_Initiate_Bonding (Dedicated): Function Successful.
HFAGRE16>
HFAGRE16>
atLinkKeyRequest: 0x0019223A8108
GAP_Authentication_Response() Success.
HFAGRE16>
atPINCodeRequest: 0x0019223A8108
Respond with the command: PINCodeResponse
HFAGRE16>PINCodeResponse 0000
PINCodeResponse.
GAP_Authentication_Response(), Pin Code Response Success.
HFAGRE16>
atLinkKeyCreation: 0x0019223A8108
Link Key: 0x24E5894B9DC97268CF18FDA6BEAA63BC
Link Key Stored locally.
HFAGRE16>
atAuthenticationStatus: 0 Board: 0x0019223A8108
HFAGRE16>
HFAGRE16>ServiceDiscovery 3 11
SDP_Service_Search_Attribute_Request(Headset) Success.
HFAGRE16>
HFAGRE16>
SDP Service Search Attribute Response Received (Size = 0x0010)
Service Record: 1:
Attribute ID 0x0000
Type: Unsigned Int = 0x00010001
Attribute ID 0x0001
Type: Data Element Sequence
Type: UUID_16 = 0x1108
Type: UUID_16 = 0x1131
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 = 0x1108
Type: Unsigned Int = 0x0102
Attribute ID 0x0100
Type: Text String = Headset
Attribute ID 0x0302
Type: Boolean = TRUE
HFAGRE16>OpenAudioGatewayClient 3 1
Bluetooth Device Address: 0x0019223A8108
Open Remote HandsFree Port = 0001
HFRE_Open_Remote_HandsFree_Port: Function Successful ID = 0003.
OpenRemoteHandsFreePort: HFRE_Update_Current_Control_Indicator_Status Function Status 0.
HFAGRE16>
HFAGRE16>
atLinkKeyRequest: 0x0019223A8108
GAP_Authentication_Response() Success.
HFAGRE16>
HFRE Open Port Confirmation, ID: 0x0003, Status: 0x0000.
HFAGRE16>
HFRE Open Service Level Connection Indication, ID: 0x0003
RemoteSupportedFeaturesValid: TRUE
RemoteSupportedFeatures: 0x000000BF
RemoteCallHoldMultipartySupport: 0x00000000
HFRE_Enable Call Line Identification
HFAGRE16>
Unknown HFRE Event Received: 11.
HFAGRE16>HFRE Speaker Gain Indication, ID: 0x0003, Speaker Gain 0x000C.
HFAGRE16>HFRE Call Waiting Notification Activation Indication, ID: 0x0003, Enabled: TRUE.
HFAGRE16>
Unknown HFRE Event Received: 38.
HFAGRE16>
HFRE Close Port Indication, ID: 0x0003, Status: 0x0001.
Last,"HFAGRE16>Unknown HFRE Event Received: 38. HFAGRE16> HFRE Close Port Indication, ID: 0x0003, Status: 0x0001." why there is some unknow HFRE Event Received, HFRE Close Port Indication?
codec wm8960 pole master, mclk is 12.288. we have test set 16K, 48K sample rates. CC2564MODAE REV 1.0 , On the CC2564 board R42 2.048MHz MCLK from wm8960, R41data alignment clock from wm8960, R44 PCM input data for cc2564 from wm8960, but R43 have no data send out. Is the case relevanted codec or headset?
C:\TI\Connectivity\CC256X BT\CC256x STM32 Bluetopia SDK\v4.0.2.2\FreeRTOS\STM3240G-EVAL\Samples\HFPAGDemo
Is there some para should to be configed? codec, or others? Thanks!