Other Parts Discussed in Thread: CC2540, CC2640R2F
I have (had) been successfully using BTool v1.41.16 for OAD testing for several days. I don't think I changed anything, but started fighting a failure to establish a link with BTool for several hours, so I started to write this post.
The error was:
--------------------------------------------------------------------
In order to provide a clean log, I cleared the log, (re)scanned, (re)established a link, but Establish Link succeeded.
Today it failed again. Clearing the log is not helping...
Successful link Log:
[1] : <Tx> - 04:42:11.264
-Type : 0x01 (Command)
-OpCode : 0xFE04 (GAP_DeviceDiscoveryRequest)
-Data Length : 0x03 (3) byte(s)
Mode : 0x03 (3) (All)
ActiveScan : 0x01 (1) (Enable)
WhiteList : 0x00 (0) (All)
Dump(Tx):
0000:01 04 FE 03 03 01 00 .......
--------------------------------------------------------------------
[2] : <Rx> - 04:42:11.273
-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 : 0xFE04 (GAP_DeviceDiscoveryRequest)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 04 FE 00 .........
--------------------------------------------------------------------
[3] : <Rx> - 04:42:21.518
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x04 (4) bytes(s)
Event : 0x0601 (1537) (GAP_DeviceDiscoveryDone)
Status : 0x00 (0) (Success)
NumDevs : 0x00 (0)
Dump(Rx):
0000:04 FF 04 01 06 00 00 .......
--------------------------------------------------------------------
[4] : <Tx> - 04:42:24.525
-Type : 0x01 (Command)
-OpCode : 0xFE09 (GAP_EstablishLinkRequest)
-Data Length : 0x09 (9) byte(s)
HighDutyCycle : 0x00 (0) (Disable)
WhiteList : 0x00 (0) (Disable)
AddrTypePeer : 0x00 (0) (Public)
PeerAddr : B0:B4:48:D7:C9:04
Dump(Tx):
0000:01 09 FE 09 00 00 00 04 C9 D7 48 B4 B0 ..........H..
--------------------------------------------------------------------
[5] : <Rx> - 04:42:24.547
-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 : 0xFE09 (GAP_EstablishLinkRequest)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 09 FE 00 .........
-----------------------------------------------------------
Any clues for the clueless.