Hi,
I'm working with HostTest configured in Peripheral mode on SmartRF06 with GATT_DB_OFF_CHIP and Controlling SmartRF through an external MCU.
When I hook up the board with my MCU; the LE Long Term Key Requested Negative Reply event comes frequently so that the rest of the events are masked.
But when I checked with BTool; seems that BTool handles/masks this event from further bothering.
I'm following the BTool set configuration parameters only in the MCU setup.
Is there any reference for this kind of handling?
Anyone please suggest a method.
Please help.
Thanks in advance.
===============BTool Log=================
[1] : <Info> - 07:48:26.574
Port opened at 5/26/2016 7:48:26 PM
--------------------------------------------------------------------
[2] : <Tx> - 07:48:27.276
-Type : 0x01 (Command)
-OpCode : 0xFE00 (GAP_DeviceInit)
-Data Length : 0x26 (38) byte(s)
ProfileRole : 0x08 (8) (Central)
MaxScanRsps : 0x05 (5)
IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
SignCounter : 0x00000001 (1)
Dump(Tx):
0000:01 00 FE 26 08 05 00 00 00 00 00 00 00 00 00 00 ...&............
0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020:00 00 00 00 00 00 01 00 00 00 ..........
--------------------------------------------------------------------
[3] : <Rx> - 07:48:27.448
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE00 (GAP_DeviceInit)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 00 FE 00 .........
--------------------------------------------------------------------
[4] : <Rx> - 07:48:27.557
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x2C (44) bytes(s)
Event : 0x0600 (1536) (GAP_DeviceInitDone)
Status : 0x00 (0) (Success)
DevAddr : C4:BE:84:B9:DC:8F
DataPktLen : 0x00A2 (162)
NumDataPkts : 0x0A (10)
IRK : CB:BE:4B:31:BE:A1:16:8C:54:14:8D:0D:6B:C7:DC:BF
CSRK : 40:08:4F:7A:0E:98:A0:D0:7D:09:5F:16:DF:BC:ED:31
Dump(Rx):
0000:04 FF 2C 00 06 00 8F DC B9 84 BE C4 A2 00 0A CB ..,.............
0010:BE 4B 31 BE A1 16 8C 54 14 8D 0D 6B C7 DC BF 40 .K1....T...k...@
0020:08 4F 7A 0E 98 A0 D0 7D 09 5F 16 DF BC ED 31 .Oz....}._....1
--------------------------------------------------------------------
[5] : <Tx> - 07:48:27.791
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x15 (21) (Minimum Link Layer Connection Interval,
When Using Connection Establishment
Proc (mSec). TGAP_CONN_EST_INT_MIN)
Dump(Tx):
0000:01 31 FE 01 15 .1...
--------------------------------------------------------------------
[6] : <Tx> - 07:48:27.806
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x16 (22) (Maximum Link Layer Connection Interval,
When Using Connection Establishment
Proc (mSec). TGAP_CONN_EST_INT_MAX)
Dump(Tx):
0000:01 31 FE 01 16 .1...
--------------------------------------------------------------------
[7] : <Tx> - 07:48:27.822
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x1A (26) (Link Layer Connection Slave Latency, When Using
Connection Establishment Proc (mSec) TGAP_CONN_EST_LATENCY)
Dump(Tx):
0000:01 31 FE 01 1A .1...
--------------------------------------------------------------------
[8] : <Tx> - 07:48:27.838
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x19 (25) (Link Layer Connection Supervision Timeout,
When Using Connection Establishment
Proc (mSec). TGAP_CONN_EST_SUPERV_TIMEOUT)
Dump(Tx):
0000:01 31 FE 01 19 .1...
--------------------------------------------------------------------
[9] : <Rx> - 07:48:27.853
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x0050 (80)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 50 00 ......1..P.
--------------------------------------------------------------------
[10] : <Rx> - 07:48:27.916
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x0050 (80)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 50 00 ......1..P.
--------------------------------------------------------------------
[11] : <Rx> - 07:48:27.931
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x0000 (0)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 00 00 ......1....
--------------------------------------------------------------------
[12] : <Rx> - 07:48:27.947
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x07D0 (2000)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 D0 07 ......1....
--------------------------------------------------------------------
[13] : <Tx> - 07:48:37.759
-Type : 0x01 (Command)
-OpCode : 0xFE00 (GAP_DeviceInit)
-Data Length : 0x26 (38) byte(s)
ProfileRole : 0x04 (4) (Peripheral)
MaxScanRsps : 0x05 (5)
IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
SignCounter : 0x00000001 (1)
Dump(Tx):
0000:01 00 FE 26 04 05 00 00 00 00 00 00 00 00 00 00 ...&............
0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020:00 00 00 00 00 00 01 00 00 00 ..........
--------------------------------------------------------------------
[14] : <Rx> - 07:48:37.837
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE00 (GAP_DeviceInit)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 00 FE 00 .........
--------------------------------------------------------------------
[15] : <Rx> - 07:48:37.853
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x2C (44) bytes(s)
Event : 0x0600 (1536) (GAP_DeviceInitDone)
Status : 0x00 (0) (Success)
DevAddr : C4:BE:84:B9:DC:8F
DataPktLen : 0x00A2 (162)
NumDataPkts : 0x0A (10)
IRK : CB:BE:4B:31:BE:A1:16:8C:54:14:8D:0D:6B:C7:DC:BF
CSRK : 40:08:4F:7A:0E:98:A0:D0:7D:09:5F:16:DF:BC:ED:31
Dump(Rx):
0000:04 FF 2C 00 06 00 8F DC B9 84 BE C4 A2 00 0A CB ..,.............
0010:BE 4B 31 BE A1 16 8C 54 14 8D 0D 6B C7 DC BF 40 .K1....T...k...@
0020:08 4F 7A 0E 98 A0 D0 7D 09 5F 16 DF BC ED 31 .Oz....}._....1
--------------------------------------------------------------------
[16] : <Tx> - 07:49:05.655
-Type : 0x01 (Command)
-OpCode : 0xFE07 (GAP_UpdateAdvertisingData)
-Data Length : 0x17 (23) byte(s)
AdType : 0x01 (1) (Advertisement Data)
DataLength : 0x15 (21)
AdvertData : 02:01:1A:11:07:75:A1:43:C6:AD:BC:EF:AF:E8:ED:1D:0D:2D:A3:93:A8
Dump(Tx):
0000:01 07 FE 17 01 15 02 01 1A 11 07 75 A1 43 C6 AD ...........u.C..
0010:BC EF AF E8 ED 1D 0D 2D A3 93 A8 .......-...
--------------------------------------------------------------------
[17] : <Rx> - 07:49:05.702
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE07 (GAP_UpdateAdvertisingData)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 07 FE 00 .........
--------------------------------------------------------------------
[18] : <Rx> - 07:49:05.717
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x04 (4) bytes(s)
Event : 0x0602 (1538) (GAP_AdvertDataUpdate)
Status : 0x00 (0) (Success)
AdType : 0x01 (1) (Advertisement Data)
Dump(Rx):
0000:04 FF 04 02 06 00 01 .......
--------------------------------------------------------------------
[19] : <Tx> - 07:49:51.460
-Type : 0x01 (Command)
-OpCode : 0xFE06 (GAP_MakeDiscoverable)
-Data Length : 0x0A (10) byte(s)
EventType : 0x00 (0) (Connectable Undirect Advertisement)
InitAddrType : 0x00 (0) (Public)
InitAddrs : 00:00:00:00:00:00
ChannelMap : 0x07 (7) (Channel 37Channel 38Channel 39)
FilterPolicy : 0x00 (0) (Allow Scan Requests From Any, Allow
Connect Request From Any.)
Dump(Tx):
0000:01 06 FE 0A 00 00 00 00 00 00 00 00 07 00 ..............
--------------------------------------------------------------------
[20] : <Rx> - 07:49:51.506
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE06 (GAP_MakeDiscoverable)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 06 FE 00 .........
--------------------------------------------------------------------
[21] : <Rx> - 07:49:51.522
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x03 (3) bytes(s)
Event : 0x0603 (1539) (GAP_MakeDiscoverable)
Status : 0x00 (0) (Success)
Dump(Rx):
0000:04 FF 03 03 06 00 ......
--------------------------------------------------------------------
[22] : <Info> - 07:49:51.631
Device Connected
Handle = 0x0000
Addr Type = 0x03 (PrivateResolve)
BDAddr = 70:36:0C:BE:33:2F
--------------------------------------------------------------------
[23] : <Rx> - 07:49:51.616
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x14 (20) bytes(s)
Event : 0x0605 (1541) (GAP_EstablishLink)
Status : 0x00 (0) (Success)
DevAddrType : 0x03 (3) (PrivateResolve)
DevAddr : 70:36:0C:BE:33:2F
ConnHandle : 0x0000 (0)
ConnRole : 0x04 (4) (Peripheral)
ConnInterval : 0x0018 (24)
ConnLatency : 0x0000 (0)
ConnTimeout : 0x0048 (72)
ClockAccuracy : 0x05 (5)
Dump(Rx):
0000:04 FF 14 05 06 00 03 2F 33 BE 0C 36 70 00 00 04 ......./3..6p...
0010:18 00 00 00 48 00 05 ....H..
--------------------------------------------------------------------
[24] : <Error> - 07:49:51.740
Could Not Convert Some Of The Data In The Following Message
(A Specific Message Handler Is Needed To Process The Data)
--------------------------------------------------------------------
[25] : <Warning> - 07:49:51.740
The Last 2 Bytes In The Following Message Were Not Decoded
(Message Has More Than The Expected Number Of Data Bytes)
--------------------------------------------------------------------
[26] : <Rx> - 07:49:51.740
-Type : 0x04 (Event)
-EventCode : 0x000E (Event)
-Data Length : 0x06 (6) bytes(s)
Packets : 0x01 (1)
OpCode : 0x201B (Unknown Op Code)
Status : 0x00 (0) (Success)
Raw : 00 00
Dump(Rx):
0000:04 0E 06 01 1B 20 00 00 00 ..... ...
--------------------------------------------------------------------
[27] : <Rx> - 07:49:51.850
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x0502 (1282) (ATT_ExchangeMTUReq)
Status : 0x00 (0) (Success)
ConnHandle : 0x0000 (0)
PduLen : 0x02 (2)
ClientRxMTU : 0x009E (158)
Dump(Rx):
0000:04 FF 08 02 05 00 00 00 02 9E 00 ...........
--------------------------------------------------------------------
[28] : <Tx> - 07:50:01.961
-Type : 0x01 (Command)
-OpCode : 0xFD03 (ATT_ExchangeMTURsp)
-Data Length : 0x04 (4) byte(s)
ConnHandle : 0x009E (158)
ServerRxMTU : 0x0000 (0)
Dump(Tx):
0000:01 03 FD 04 00 00 9E 00 ........
--------------------------------------------------------------------
[29] : <Rx> - 07:50:01.992
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFD03 (ATT_ExchangeMTURsp)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 03 FD 00 .........
--------------------------------------------------------------------
[30] : <Tx> - 07:52:44.251
-Type : 0x01 (Command)
-OpCode : 0xFE0A (GAP_TerminateLinkRequest)
-Data Length : 0x03 (3) byte(s)
ConnHandle : 0x0000 (0)
DiscReason : 0x13 (19) (Remote User Terminated Connection)
Dump(Tx):
0000:01 0A FE 03 00 00 13 .......
--------------------------------------------------------------------
[31] : <Rx> - 07:52:44.282
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE0A (GAP_TerminateLinkRequest)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 0A FE 00 .........
--------------------------------------------------------------------
[32] : <Info> - 07:52:44.345
Device Disconnected
Handle = 0x0000
Addr Type = 0x03 (PrivateResolve)
BDAddr = 70:36:0C:BE:33:2F
--------------------------------------------------------------------
[33] : <Rx> - 07:52:44.345
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x0606 (1542) (GAP_TerminateLink)
Status : 0x00 (0) (Success)
ConnHandle : 0x0000 (0)
Reason : 0x16 (22) (Host Requested)
Dump(Rx):
0000:04 FF 06 06 06 00 00 00 16 .........
--------------------------------------------------------------------