I am trying to use BTool with my CC2640R2 running the host_test app from simplelink_cc2640r2_sdk_4_10_00_10, i have loaded the .hex from the blestack folder.
I am initialising the device as peripheral + central and then make the device discoverable and connectable.
My other device is scanning and connecting to it. So far all good.
After the connection is established I can see some events coming from the device that BTool is not able to decode.
Could you please help me to understand where these events are coming from, what they mean and how i could stop them?
[23] : <Rx> - 03:27:15.229
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x03 (3) bytes(s)
Event : 0x0603 (1539) (GAP_MakeDiscoverable)
Status : 0x00 (0) (Success)
Dump(Rx):
0000:04 FF 03 03 06 00 ......
--------------------------------------------------------------------
[24] : <Info> - 03:27:30.571
Device Connected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = 00:1A:7D:DA:71:0A
--------------------------------------------------------------------
[25] : <Rx> - 03:27:30.488
-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) (Public)
DevAddr : 00:1A:7D:DA:71:0A
ConnHandle : 0x0000 (0)
ConnRole : 0x04 (4) (Peripheral)
ConnInterval : 0x0006 (6)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x0C80 (3200)
ClockAccuracy : 0x01 (1)
Dump(Rx):
0000:04 FF 14 05 06 00 00 0A 71 DA 7D 1A 00 00 00 04 ........q.}.....
0010:06 00 00 00 80 0C 01 .......
--------------------------------------------------------------------
[26] : <Error> - 03:27:33.563
Could Not Convert Some Of The Data In The Following Message
(A Specific Message Handler Is Needed To Process The Data)
--------------------------------------------------------------------
[27] : <Warning> - 03:27:33.573
The Last 9 Bytes In The Following Message Were Not Decoded
(Message Has More Than The Expected Number Of Data Bytes)
--------------------------------------------------------------------
[28] : <Rx> - 03:27:33.561
-Type : 0x04 (Event)
-EventCode : 0x003E (HCI_LE_SpecialMetaDataEvent)
-Data Length : 0x09 (9) bytes(s)
Raw : 81 00 00 1E F8 FF FF FF 1F
Dump(Rx):
0000:04 3E 09 81 00 00 1E F8 FF FF FF 1F .>..........
--------------------------------------------------------------------
[29] : <Error> - 03:27:45.584
Could Not Convert Some Of The Data In The Following Message
(A Specific Message Handler Is Needed To Process The Data)
--------------------------------------------------------------------
[30] : <Warning> - 03:27:45.590
The Last 9 Bytes In The Following Message Were Not Decoded
(Message Has More Than The Expected Number Of Data Bytes)
--------------------------------------------------------------------
[31] : <Rx> - 03:27:45.584
-Type : 0x04 (Event)
-EventCode : 0x003E (HCI_LE_SpecialMetaDataEvent)
-Data Length : 0x09 (9) bytes(s)
Raw : 81 00 00 0C 00 F8 FE FF 1F
Dump(Rx):
0000:04 3E 09 81 00 00 0C 00 F8 FE FF 1F .>..........
--------------------------------------------------------------------
[32] : <Info> - 03:28:03.500
Device Disconnected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = 00:1A:7D:DA:71:0A
--------------------------------------------------------------------
[33] : <Rx> - 03:28:03.498
-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 : 0x13 (19) (Peer Requested)
Dump(Rx):
0000:04 FF 06 06 06 00 00 00 13 .........
--------------------------------------------------------------------
Many thanks
Regards
Carlo