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.
CC2652R is handled by BTOOL with SDK 6.20
CC2640R2F SDK 5.30 5824.CC2640.rar
And part of logs in BTOOL. There are some other reasons for the disconnection like 0x3E. I tried to close other BLE devices, but fails.
[1] : <Tx> - 06:46:12.865 -Type : 0x01 (Command) -OpCode : 0xFE62 (GapInit_connect) -Data Length : 0x0A (10) byte(s) PeerAddrType : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID) PeerAddr : 60:77:71:C7:9F:A2 InitiatingPhy : 0x01 (1) ( INIT_PHY_1M) Timeout : 0x0000 (0) Dump(Tx): 0000:01 62 FE 0A 00 A2 9F C7 71 77 60 01 00 00 .b......qw`... -------------------------------------------------------------------- [2] : <Rx> - 06:46:12.879 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x11 (17) (bleAlreadyInRequestedMode) OpCode : 0xFE62 (GapInit_connect) DataLength : 0x00 (0) Dump(Rx): 0000:04 FF 06 7F 06 11 62 FE 00 ......b.. -------------------------------------------------------------------- [3] : <Warning> - 06:46:42.858 GAP Link Establish Request Timeout -------------------------------------------------------------------- [4] : <Tx> - 06:47:24.059 -Type : 0x01 (Command) -OpCode : 0xFE62 (GapInit_connect) -Data Length : 0x0A (10) byte(s) PeerAddrType : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID) PeerAddr : 60:77:71:C7:9F:A2 InitiatingPhy : 0x01 (1) ( INIT_PHY_1M) Timeout : 0x0000 (0) Dump(Tx): 0000:01 62 FE 0A 00 A2 9F C7 71 77 60 01 00 00 .b......qw`... -------------------------------------------------------------------- [5] : <Rx> - 06:47:24.074 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x11 (17) (bleAlreadyInRequestedMode) OpCode : 0xFE62 (GapInit_connect) DataLength : 0x00 (0) Dump(Rx): 0000:04 FF 06 7F 06 11 62 FE 00 ......b.. -------------------------------------------------------------------- [6] : <Warning> - 06:47:54.079 GAP Link Establish Request Timeout -------------------------------------------------------------------- [7] : <Rx> - 06:48:08.667 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x14 (20) bytes(s) Event : 0x0605 (1541) (GAP_EstablishLink) Status : 0x00 (0) (SUCCESS) DevAddrType : 0x00 (0) (ADDRTYPE_PUBLIC) DevAddr : 60:77:71:C7:9F:A2 ConnHandle : 0x0000 (0) ConnRole : 0x08 (8) ( Central) ConnInterval : 0x0050 (80) ConnLatency : 0x0000 (0) ConnTimeout : 0x07D0 (2000) ClockAccuracy : 0x00 (0) Dump(Rx): 0000:04 FF 14 05 06 00 00 A2 9F C7 71 77 60 00 00 08 ..........qw`... 0010:50 00 00 00 D0 07 00 P...... -------------------------------------------------------------------- [8] : <Tx> - 06:48:08.669 -Type : 0x01 (Command) -OpCode : 0x2022 (HCI_LE_SetDataLength) -Data Length : 0x06 (6) byte(s) Handle : 0x0000 (0) TxOctets : 0x00FB (251) TxTime : 0x0848 (2120) Dump(Tx): 0000:01 22 20 06 00 00 FB 00 48 08 ." .....H. -------------------------------------------------------------------- [9] : <Info> - 06:48:08.742 Device Connected Handle = 0x0000 Addr Type = 0x00 (ADDRTYPE_PUBLIC) BDAddr = 60:77:71:C7:9F:A2 -------------------------------------------------------------------- [10] : <Rx> - 06:48:08.733 -Type : 0x04 (Event) -EventCode : 0x000E (HCI_CommandCompleteEvent) -Data Length : 0x06 (6) bytes(s) Packets : 0x01 (1) OpCode : 0x2022 (HCI_LE_SetDataLength) Status : 0x00 (0) (SUCCESS) Handle : 0x0000 (0) Dump(Rx): 0000:04 0E 06 01 22 20 00 00 00 ...." ... -------------------------------------------------------------------- [11] : <Info> - 06:48:09.254 Device Disconnected Handle = 0x0000 Addr Type = 0x00 (ADDRTYPE_PUBLIC) BDAddr = 60:77:71:C7:9F:A2 -------------------------------------------------------------------- [12] : <Rx> - 06:48:09.252 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x0606 (1542) (GAP_TerminateLink) Status : 0x00 (0) (SUCCESS) ConnHandle : 0x0000 (0) Reason : 0x3E (62) (FAILED_TO_ESTABLISH) Dump(Rx): 0000:04 FF 06 06 06 00 00 00 3E ........> -------------------------------------------------------------------- [13] : <Tx> - 06:48:16.341 -Type : 0x01 (Command) -OpCode : 0xFE62 (GapInit_connect) -Data Length : 0x0A (10) byte(s) PeerAddrType : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID) PeerAddr : 60:77:71:C7:9F:A2 InitiatingPhy : 0x01 (1) ( INIT_PHY_1M) Timeout : 0x0000 (0) Dump(Tx): 0000:01 62 FE 0A 00 A2 9F C7 71 77 60 01 00 00 .b......qw`... -------------------------------------------------------------------- [14] : <Rx> - 06:48:16.361 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (0) (SUCCESS) OpCode : 0xFE62 (GapInit_connect) DataLength : 0x00 (0) Dump(Rx): 0000:04 FF 06 7F 06 00 62 FE 00 ......b.. -------------------------------------------------------------------- [15] : <Rx> - 06:48:16.456 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x14 (20) bytes(s) Event : 0x0605 (1541) (GAP_EstablishLink) Status : 0x00 (0) (SUCCESS) DevAddrType : 0x00 (0) (ADDRTYPE_PUBLIC) DevAddr : 60:77:71:C7:9F:A2 ConnHandle : 0x0000 (0) ConnRole : 0x08 (8) ( Central) ConnInterval : 0x0050 (80) ConnLatency : 0x0000 (0) ConnTimeout : 0x07D0 (2000) ClockAccuracy : 0x00 (0) Dump(Rx): 0000:04 FF 14 05 06 00 00 A2 9F C7 71 77 60 00 00 08 ..........qw`... 0010:50 00 00 00 D0 07 00 P...... -------------------------------------------------------------------- [16] : <Tx> - 06:48:16.461 -Type : 0x01 (Command) -OpCode : 0x2022 (HCI_LE_SetDataLength) -Data Length : 0x06 (6) byte(s) Handle : 0x0000 (0) TxOctets : 0x00FB (251) TxTime : 0x0848 (2120) Dump(Tx): 0000:01 22 20 06 00 00 FB 00 48 08 ." .....H. -------------------------------------------------------------------- [17] : <Info> - 06:48:16.546 Device Connected Handle = 0x0000 Addr Type = 0x00 (ADDRTYPE_PUBLIC) BDAddr = 60:77:71:C7:9F:A2 -------------------------------------------------------------------- [18] : <Rx> - 06:48:16.504 -Type : 0x04 (Event) -EventCode : 0x000E (HCI_CommandCompleteEvent) -Data Length : 0x06 (6) bytes(s) Packets : 0x01 (1) OpCode : 0x2022 (HCI_LE_SetDataLength) Status : 0x00 (0) (SUCCESS) Handle : 0x0000 (0) Dump(Rx): 0000:04 0E 06 01 22 20 00 00 00 ...." ... -------------------------------------------------------------------- [19] : <Rx> - 06:48:16.767 -Type : 0x04 (Event) -EventCode : 0x003E (HCI_LE_GenericReportEvent) -Data Length : 0x0C (12) bytes(s) LE Event Code : 0x04 (4) (HCI_LE_ReadRemoteUsedFeaturesCompleteEvent) LE Event Code : 0x04 (4) (HCI_LE_ReadRemoteUsedFeaturesCompleteEvent) Status : 0x00 (0) (SUCCESS) ConnectionId : 0x0000 (0) Features : 0x00000000000059FF (23039) ( Encryption Connection_Parameters_Request Reject_Extended_Indication Slave_Features_Exchange Ping Data_Packet_Length_Extension Privacy Extended_Scanner_Filter_Policies PHY_2M Coded_PHY Extended_Advertising Channel_Selection_Algorithm_2) Dump(Rx): 0000:04 3E 0C 04 00 00 00 FF 59 00 00 00 00 00 00 .>......Y...... -------------------------------------------------------------------- [20] : <Info> - 06:48:36.968 Device Disconnected Handle = 0x0000 Addr Type = 0x00 (ADDRTYPE_PUBLIC) BDAddr = 60:77:71:C7:9F:A2 -------------------------------------------------------------------- [21] : <Rx> - 06:48:36.967 -Type : 0x04 (Event) -EventCode : 0x00FF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x0606 (1542) (GAP_TerminateLink) Status : 0x00 (0) (SUCCESS) ConnHandle : 0x0000 (0) Reason : 0x08 (8) (SUPERVISION_TIMEOUT_TERM) Dump(Rx): 0000:04 FF 06 06 06 00 00 00 08 ......... --------------------------------------------------------------------
Why they cannot establish a connection?
Hi,
Thank you for reaching out.
As you manage to have a stable connection between the phone and the CC2640R2F, I guess the issue is likely to be in the CC2652R.
Best regards,
Hi,
I suspect the host test running on CC2652R is not compatible with the firmware running on CC2640R2F.
When I test CC2640R2F with Btool. The Btool is connected to a CC2640R2F Launchpad with host test from the same SDK version that is running on the target CC2640R2F board.
-kel