Other Parts Discussed in Thread: CC2652R, CC2640R2F
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC2652R 主题中讨论的其他器件: CC2640、 CC2640R2F
CC2652R 由 BTOOL 使用 SDK 6.20进行处理
CC2640R2F SDK 5.30 e2e.ti.com/.../5824.CC2640.rar
和 BTOOL 中的部分日志。 断开连接还有其他一些原因、例如0x3E。 我尝试关闭其他 BLE 设备、但失败了。
[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 .........
--------------------------------------------------------------------
为什么他们无法建立连接?