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.

CC2650: CC2650:Host Test

Part Number: CC2650


I'll ask again because the previous issue was not resolved.

previous issue: https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/p/887712/3300402

I am using Host test program in Periperal mode using Btool.

I follow your advice, I am referring to http://processors.wiki.ti.com/index.php/LPRF_BLE_NPGATT

The host test program sends an ATT_ReadByGrpTypeReq event message when connected to an Android phone.

It responds by sending ATT_ReadByGrpTypeRsp, but after that, it does not connect normally.

Am I sending the ATT_ReadByGrpTypeRsp wrong? Or is there any additional data that needs to be transferred?

[1] : <Tx> - 04:10:25.413
-Type           : 0x01 (Command)
-OpCode         : 0xFE00 (GAP_DeviceInit)
-Data Length    : 0x26 (38) byte(s)
 ProfileRole    : 0x0C (12) (Peripheral 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 0C 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                   ..........
--------------------------------------------------------------------
[2] : <Rx> - 04:10:25.428
-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         : 0xFE00 (GAP_DeviceInit)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 00 FE 00                      .........
--------------------------------------------------------------------
[3] : <Rx> - 04:10:25.439
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x2C (44) bytes(s)
 Event          : 0x0600 (1536) (GAP_DeviceInitDone)
 Status         : 0x00 (0) (Success)
 DevAddr        : CC:78:AB:76:E5:02
 DataPktLen     : 0x001B (27)
 NumDataPkts    : 0x05 (5)
 IRK            : 12:FF:93:9B:1D:A2:9D:E2:B2:10:2F:F2:C8:EA:3A:66
 CSRK           : A7:B6:51:39:2D:D0:FB:1C:AF:E1:34:1C:B2:6E:A5:AD
Dump(Rx):
0000:04 FF 2C 00 06 00 02 E5 76 AB 78 CC 1B 00 05 12 ..,.....v.x.....
0010:FF 93 9B 1D A2 9D E2 B2 10 2F F2 C8 EA 3A 66 A7 ........./...:f.
0020:B6 51 39 2D D0 FB 1C AF E1 34 1C B2 6E A5 AD    .Q9-.....4..n..
--------------------------------------------------------------------
[4] : <Tx> - 04:10:33.048
-Type           : 0x01 (Command)
-OpCode         : 0xFDFC (GATT_AddService)
-Data Length    : 0x05 (5) byte(s)
 UUID           : 0x2800 (10240)
 NumAttrs       : 0x0003 (3)
 EncKeySize     : 0x10 (16)
Dump(Tx):
0000:01 FC FD 05 00 28 03 00 10                      .....(...
--------------------------------------------------------------------
[5] : <Rx> - 04:10:33.071
-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         : 0xFDFC (GATT_AddService)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 FC FD 00                      .........
--------------------------------------------------------------------
[6] : <Tx> - 04:10:39.781
-Type           : 0x01 (Command)
-OpCode         : 0xFDFE (GATT_AddAttribute)
-Data Length    : 0x03 (3) byte(s)
 UUID           : 03:28
 Permissions    : 0x03 (3) (GATT_PERMIT_READ
                  GATT_PERMIT_WRITE)
Dump(Tx):
0000:01 FE FD 03 03 28 03                            .....(.
--------------------------------------------------------------------
[7] : <Rx> - 04:10:39.807
-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         : 0xFDFE (GATT_AddAttribute)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 FE FD 00                      .........
--------------------------------------------------------------------
[8] : <Tx> - 04:10:44.254
-Type           : 0x01 (Command)
-OpCode         : 0xFDFE (GATT_AddAttribute)
-Data Length    : 0x03 (3) byte(s)
 UUID           : 00:2A
 Permissions    : 0x03 (3) (GATT_PERMIT_READ
                  GATT_PERMIT_WRITE)
Dump(Tx):
0000:01 FE FD 03 00 2A 03                            .....*.
--------------------------------------------------------------------
[9] : <Warning> - 04:10:44.288
The Last 4 Bytes In The Following Message Were Not Decoded
(Message Has More Than The Expected Number Of Data Bytes)
--------------------------------------------------------------------
[10] : <Rx> - 04:10:44.281
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x0A (10) bytes(s)
 Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
 Status         : 0x00 (0) (Success)
 OpCode         : 0xFDFE (GATT_AddAttribute)
 DataLength     : 0x04 (4)
Dump(Rx):
0000:04 FF 0A 7F 06 00 FE FD 04 01 00 03 00          .............
--------------------------------------------------------------------
[11] : <Tx> - 04:10:47.340
-Type           : 0x01 (Command)
-OpCode         : 0xFD05 (ATT_FindInfoRsp)
-Data Length    : 0x07 (7) byte(s)
 ConnHandle     : 0xFFFE (65534)
 Format         : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
 Handle         : 0000
 Data           : 00:00
Dump(Tx):
0000:01 05 FD 07 FE FF 01 00 00 00 00                ...........
--------------------------------------------------------------------
[12] : <Rx> - 04:10:47.355
-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         : 0xFD05 (ATT_FindInfoRsp)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 05 FD 00                      .........
--------------------------------------------------------------------
[13] : <Tx> - 04:10:49.421
-Type           : 0x01 (Command)
-OpCode         : 0xFD04 (ATT_FindInfoReq)
-Data Length    : 0x06 (6) byte(s)
 ConnHandle     : 0xFFFE (65534)
 StartHandle    : 0x0001 (1)
 EndHandle      : 0xFFFF (65535)
Dump(Tx):
0000:01 04 FD 06 FE FF 01 00 FF FF                   ..........
--------------------------------------------------------------------
[14] : <Rx> - 04:10:49.448
-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         : 0xFD04 (ATT_FindInfoReq)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 04 FD 00                      .........
--------------------------------------------------------------------
[15] : <Rx> - 04:10:49.459
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x13 (19) bytes(s)
 Event          : 0x0505 (1285) (ATT_FindInfoRsp)
 Status         : 0x00 (0) (Success)
 ConnHandle     : 0xFFFE (65534)
 PduLen         : 0x0D (13)
 Format         : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
 Handle         : 0001
 Uuid           : 00:28
 Handle         : 0002
 Uuid           : 03:28
 Handle         : 0003
 Uuid           : 00:2A
Dump(Rx):
0000:04 FF 13 05 05 00 FE FF 0D 01 01 00 00 28 02 00 .............(..
0010:03 28 03 00 00 2A                               .(...*
--------------------------------------------------------------------
[16] : <Rx> - 04:10:49.470
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x06 (6) bytes(s)
 Event          : 0x0505 (1285) (ATT_FindInfoRsp)
 Status         : 0x1A (26) (The Procedure Is Completed)
 ConnHandle     : 0xFFFE (65534)
 PduLen         : 0x00 (0)
Dump(Rx):
0000:04 FF 06 05 05 1A FE FF 00                      .........
--------------------------------------------------------------------
[17] : <Tx> - 04:11:57.149
-Type           : 0x01 (Command)
-OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)
-Data Length    : 0x05 (5) byte(s)
 AdType         : 0x01 (1) (Advertisement Data)
 DataLength     : 0x03 (3)
 AdvertData     : 02:01:06
Dump(Tx):
0000:01 07 FE 05 01 03 02 01 06                      .........
--------------------------------------------------------------------
[18] : <Rx> - 04:11:57.184
-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         : 0xFE07 (GAP_UpdateAdvertisingData)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 07 FE 00                      .........
--------------------------------------------------------------------
[19] : <Rx> - 04:11:57.195
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-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                            .......
--------------------------------------------------------------------
[20] : <Tx> - 04:11:59.836
-Type           : 0x01 (Command)
-OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)
-Data Length    : 0x05 (5) byte(s)
 AdType         : 0x00 (0) (Scan Rsp Data)
 DataLength     : 0x03 (3)
 AdvertData     : 02:01:06
Dump(Tx):
0000:01 07 FE 05 00 03 02 01 06                      .........
--------------------------------------------------------------------
[21] : <Rx> - 04:11:59.861
-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         : 0xFE07 (GAP_UpdateAdvertisingData)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 07 FE 00                      .........
--------------------------------------------------------------------
[22] : <Rx> - 04:11:59.872
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x04 (4) bytes(s)
 Event          : 0x0602 (1538) (GAP_AdvertDataUpdate)
 Status         : 0x00 (0) (Success)
 AdType         : 0x00 (0) (Scan Rsp Data)
Dump(Rx):
0000:04 FF 04 02 06 00 00                            .......
--------------------------------------------------------------------
[23] : <Tx> - 04:12:02.044
-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 37
                  Channel 38
                  Channel 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       ..............
--------------------------------------------------------------------
[24] : <Rx> - 04:12:02.063
-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         : 0xFE06 (GAP_MakeDiscoverable)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 06 FE 00                      .........
--------------------------------------------------------------------
[25] : <Rx> - 04:12:02.074
-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                               ......
--------------------------------------------------------------------
[26] : <Info> - 04:13:18.677
Device Connected
Handle = 0x0000
Addr Type = 0x01 (Static)
BDAddr = 43:B2:4C:3F:41:11
--------------------------------------------------------------------
[27] : <Rx> - 04:13:18.663
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x14 (20) bytes(s)
 Event          : 0x0605 (1541) (GAP_EstablishLink)
 Status         : 0x00 (0) (Success)
 DevAddrType    : 0x01 (1) (Random)
 DevAddr        : 43:B2:4C:3F:41:11
 ConnHandle     : 0x0000 (0)
 ConnRole       : 0x04 (4) (Peripheral)
 ConnInterval   : 0x0027 (39)
 ConnLatency    : 0x0000 (0)
 ConnTimeout    : 0x01F4 (500)
 ClockAccuracy  : 0x01 (1)
Dump(Rx):
0000:04 FF 14 05 06 00 01 11 41 3F 4C B2 43 00 00 04 ........A?L.C...
0010:27 00 00 00 F4 01 01                            '......
--------------------------------------------------------------------
[28] : <Error> - 04:13:18.870
Could Not Convert Some Of The Data In The Following Message
(A Specific Message Handler Is Needed To Process The Data)
--------------------------------------------------------------------
[29] : <Warning> - 04:13:18.877
The Last 10 Bytes In The Following Message Were Not Decoded
(Message Has More Than The Expected Number Of Data Bytes)
--------------------------------------------------------------------
[30] : <Rx> - 04:13:18.870
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x0D (13) bytes(s)
 Event          : 0x0612 (1554) (Unknown Op Code)
 Status         : 0x00 (0) (Success)
 Raw            : 00 00 00 06 00 06 00 00 00 F4 01
Dump(Rx):
0000:04 FF 0D 12 06 00 00 00 06 00 06 00 00 00 F4 01 ................
--------------------------------------------------------------------
[31] : <Rx> - 04:13:18.913
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x0C (12) bytes(s)
 Event          : 0x0510 (1296) (ATT_ReadByGrpTypeReq)
 Status         : 0x00 (0) (Success)
 ConnHandle     : 0x0000 (0)
 PduLen         : 0x06 (6)
 StartHandle    : 0x0001 (1)
 EndHandle      : 0xFFFF (65535)
 GroupType      : 00:28
Dump(Rx):
0000:04 FF 0C 10 05 00 00 00 06 01 00 FF FF 00 28    ..............(
--------------------------------------------------------------------
[32] : <Tx> - 04:13:21.053
-Type           : 0x01 (Command)
-OpCode         : 0xFD11 (ATT_ReadByGrpTypeRsp)
-Data Length    : 0x09 (9) byte(s)
 ConnHandle     : 0x0000 (0)
 Length         : 0x06 (6)
 DataList       : 01:00:FF:FF:01:18
Dump(Tx):
0000:01 11 FD 09 00 00 06 01 00 FF FF 01 18          .............
--------------------------------------------------------------------
[33] : <Rx> - 04:13:21.093
-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         : 0xFD11 (ATT_ReadByGrpTypeRsp)
 DataLength     : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 11 FD 00                      .........
--------------------------------------------------------------------
[34] : <Rx> - 04:13:21.254
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x0C (12) bytes(s)
 Event          : 0x0508 (1288) (ATT_ReadByTypeReq)
 Status         : 0x00 (0) (Success)
 ConnHandle     : 0x0000 (0)
 PduLen         : 0x06 (6)
 StartHandle    : 0x0001 (1)
 EndHandle      : 0xFFFF (65535)
 Type           : 03:28
Dump(Rx):
0000:04 FF 0C 08 05 00 00 00 06 01 00 FF FF 03 28    ..............(
--------------------------------------------------------------------
[35] : <Info> - 04:13:51.236
Device Disconnected
Handle = 0x0000
Addr Type = 0x01 (Static)
BDAddr = 43:B2:4C:3F:41:11
--------------------------------------------------------------------
[36] : <Rx> - 04:13:51.235
-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                      .........
--------------------------------------------------------------------

 

thanks,

SC Lee.

  • Hi SC Lee,

    Please attach your BTool log as a file as it increases the readability of your post. 

    Do you have any sniffer logs so we can see the Bluetooth activity over the air?

    Thanks, 
    Elin

  • Hi Elin

    Attach a log file.

    [1] : <Info> - 03:37:21.646
    Port opened at 2020-04-06 ���� 3:37:21
    --------------------------------------------------------------------
    [2] : <Tx> - 03:37:22.360
    -Type           : 0x01 (Command)
    -OpCode         : 0x0C03 (HCI_Reset)
    -Data Length    : 0x00 (0) byte(s)
    Dump(Tx):
    0000:01 03 0C 00                                     ....
    --------------------------------------------------------------------
    [3] : <Rx> - 03:37:22.398
    -Type           : 0x04 (Event)
    -EventCode      : 0x000E (HCI_CommandCompleteEvent)
    -Data Length    : 0x04 (4) bytes(s)
     Packets        : 0x01 (1)
     OpCode         : 0x0C03 (HCI_Reset)
     Status         : 0x00 (0) (Success)
    Dump(Rx):
    0000:04 0E 04 01 03 0C 00                            .......
    --------------------------------------------------------------------
    [4] : <Tx> - 03:37:22.419
    -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                   ..........
    --------------------------------------------------------------------
    [5] : <Rx> - 03:37:22.519
    -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         : 0xFE00 (GAP_DeviceInit)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 00 FE 00                      .........
    --------------------------------------------------------------------
    [6] : <Rx> - 03:37:22.561
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (Success)
     DevAddr        : CC:78:AB:76:E5:02
     DataPktLen     : 0x001B (27)
     NumDataPkts    : 0x05 (5)
     IRK            : 12:FF:93:9B:1D:A2:9D:E2:B2:10:2F:F2:C8:EA:3A:66
     CSRK           : A7:B6:51:39:2D:D0:FB:1C:AF:E1:34:1C:B2:6E:A5:AD
    Dump(Rx):
    0000:04 FF 2C 00 06 00 02 E5 76 AB 78 CC 1B 00 05 12 ..,.....v.x.....
    0010:FF 93 9B 1D A2 9D E2 B2 10 2F F2 C8 EA 3A 66 A7 ........./...:f.
    0020:B6 51 39 2D D0 FB 1C AF E1 34 1C B2 6E A5 AD    .Q9-.....4..n..
    --------------------------------------------------------------------
    [7] : <Tx> - 03:37:22.854
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE31 (GAP_GetParam)
    -Data Length    : 0x01 (1) byte(s)
     ParamID        : 0x15 (21) (TGAP_CONN_EST_INT_MIN)
    Dump(Tx):
    0000:01 31 FE 01 15                                  .1...
    --------------------------------------------------------------------
    [8] : <Tx> - 03:37:22.865
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE31 (GAP_GetParam)
    -Data Length    : 0x01 (1) byte(s)
     ParamID        : 0x16 (22) (TGAP_CONN_EST_INT_MAX)
    Dump(Tx):
    0000:01 31 FE 01 16                                  .1...
    --------------------------------------------------------------------
    [9] : <Tx> - 03:37:22.876
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE31 (GAP_GetParam)
    -Data Length    : 0x01 (1) byte(s)
     ParamID        : 0x1A (26) (TGAP_CONN_EST_LATENCY)
    Dump(Tx):
    0000:01 31 FE 01 1A                                  .1...
    --------------------------------------------------------------------
    [10] : <Tx> - 03:37:22.887
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE31 (GAP_GetParam)
    -Data Length    : 0x01 (1) byte(s)
     ParamID        : 0x19 (25) (TGAP_CONN_EST_SUPERV_TIMEOUT)
    Dump(Tx):
    0000:01 31 FE 01 19                                  .1...
    --------------------------------------------------------------------
    [11] : <Rx> - 03:37:22.891
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x08 (8) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE31 (GAP_GetParam)
     DataLength     : 0x02 (2)
     ParamValue     : 0x002A (42)
    Dump(Rx):
    0000:04 FF 08 7F 06 00 31 FE 02 2A 00                ......1..*.
    --------------------------------------------------------------------
    [12] : <Rx> - 03:37:22.902
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x08 (8) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE31 (GAP_GetParam)
     DataLength     : 0x02 (2)
     ParamValue     : 0x002A (42)
    Dump(Rx):
    0000:04 FF 08 7F 06 00 31 FE 02 2A 00                ......1..*.
    --------------------------------------------------------------------
    [13] : <Rx> - 03:37:22.913
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -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....
    --------------------------------------------------------------------
    [14] : <Rx> - 03:37:22.935
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x08 (8) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE31 (GAP_GetParam)
     DataLength     : 0x02 (2)
     ParamValue     : 0x00C8 (200)
    Dump(Rx):
    0000:04 FF 08 7F 06 00 31 FE 02 C8 00                ......1....
    --------------------------------------------------------------------
    [15] : <Tx> - 03:37:36.683
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x26 (38) byte(s)
     ProfileRole    : 0x0C (12) (Peripheral 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 0C 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                   ..........
    --------------------------------------------------------------------
    [16] : <Rx> - 03:37:36.711
    -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         : 0xFE00 (GAP_DeviceInit)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 00 FE 00                      .........
    --------------------------------------------------------------------
    [17] : <Rx> - 03:37:36.722
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (Success)
     DevAddr        : CC:78:AB:76:E5:02
     DataPktLen     : 0x001B (27)
     NumDataPkts    : 0x05 (5)
     IRK            : 12:FF:93:9B:1D:A2:9D:E2:B2:10:2F:F2:C8:EA:3A:66
     CSRK           : A7:B6:51:39:2D:D0:FB:1C:AF:E1:34:1C:B2:6E:A5:AD
    Dump(Rx):
    0000:04 FF 2C 00 06 00 02 E5 76 AB 78 CC 1B 00 05 12 ..,.....v.x.....
    0010:FF 93 9B 1D A2 9D E2 B2 10 2F F2 C8 EA 3A 66 A7 ........./...:f.
    0020:B6 51 39 2D D0 FB 1C AF E1 34 1C B2 6E A5 AD    .Q9-.....4..n..
    --------------------------------------------------------------------
    [18] : <Tx> - 03:37:48.981
    -Type           : 0x01 (Command)
    -OpCode         : 0xFDFC (GATT_AddService)
    -Data Length    : 0x05 (5) byte(s)
     UUID           : 0x2800 (10240)
     NumAttrs       : 0x0003 (3)
     EncKeySize     : 0x10 (16)
    Dump(Tx):
    0000:01 FC FD 05 00 28 03 00 10                      .....(...
    --------------------------------------------------------------------
    [19] : <Rx> - 03:37:49.002
    -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         : 0xFDFC (GATT_AddService)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 FC FD 00                      .........
    --------------------------------------------------------------------
    [20] : <Tx> - 03:37:59.044
    -Type           : 0x01 (Command)
    -OpCode         : 0xFDFE (GATT_AddAttribute)
    -Data Length    : 0x03 (3) byte(s)
     UUID           : 03:28
     Permissions    : 0x03 (3) (GATT_PERMIT_READ
                      GATT_PERMIT_WRITE)
    Dump(Tx):
    0000:01 FE FD 03 03 28 03                            .....(.
    --------------------------------------------------------------------
    [21] : <Rx> - 03:37:59.069
    -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         : 0xFDFE (GATT_AddAttribute)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 FE FD 00                      .........
    --------------------------------------------------------------------
    [22] : <Tx> - 03:38:03.012
    -Type           : 0x01 (Command)
    -OpCode         : 0xFDFE (GATT_AddAttribute)
    -Data Length    : 0x03 (3) byte(s)
     UUID           : 01:AA
     Permissions    : 0x03 (3) (GATT_PERMIT_READ
                      GATT_PERMIT_WRITE)
    Dump(Tx):
    0000:01 FE FD 03 01 AA 03                            .......
    --------------------------------------------------------------------
    [23] : <Warning> - 03:38:03.041
    The Last 4 Bytes In The Following Message Were Not Decoded
    (Message Has More Than The Expected Number Of Data Bytes)
    --------------------------------------------------------------------
    [24] : <Rx> - 03:38:03.035
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0A (10) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFDFE (GATT_AddAttribute)
     DataLength     : 0x04 (4)
    Dump(Rx):
    0000:04 FF 0A 7F 06 00 FE FD 04 01 00 03 00          .............
    --------------------------------------------------------------------
    [25] : <Tx> - 03:38:06.189
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD04 (ATT_FindInfoReq)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0xFFFE (65534)
     StartHandle    : 0x0001 (1)
     EndHandle      : 0xFFFF (65535)
    Dump(Tx):
    0000:01 04 FD 06 FE FF 01 00 FF FF                   ..........
    --------------------------------------------------------------------
    [26] : <Rx> - 03:38:06.226
    -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         : 0xFD04 (ATT_FindInfoReq)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 04 FD 00                      .........
    --------------------------------------------------------------------
    [27] : <Rx> - 03:38:06.237
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x13 (19) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0xFFFE (65534)
     PduLen         : 0x0D (13)
     Format         : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
     Handle         : 0001
     Uuid           : 00:28
     Handle         : 0002
     Uuid           : 03:28
     Handle         : 0003
     Uuid           : 01:AA
    Dump(Rx):
    0000:04 FF 13 05 05 00 FE FF 0D 01 01 00 00 28 02 00 .............(..
    0010:03 28 03 00 01 AA                               .(....
    --------------------------------------------------------------------
    [28] : <Rx> - 03:38:06.248
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x1A (26) (The Procedure Is Completed)
     ConnHandle     : 0xFFFE (65534)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 05 05 1A FE FF 00                      .........
    --------------------------------------------------------------------
    [29] : <Tx> - 03:38:12.926
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)
    -Data Length    : 0x05 (5) byte(s)
     AdType         : 0x01 (1) (Advertisement Data)
     DataLength     : 0x03 (3)
     AdvertData     : 02:01:06
    Dump(Tx):
    0000:01 07 FE 05 01 03 02 01 06                      .........
    --------------------------------------------------------------------
    [30] : <Rx> - 03:38:12.966
    -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         : 0xFE07 (GAP_UpdateAdvertisingData)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 07 FE 00                      .........
    --------------------------------------------------------------------
    [31] : <Rx> - 03:38:12.977
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -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                            .......
    --------------------------------------------------------------------
    [32] : <Tx> - 03:38:16.565
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)
    -Data Length    : 0x05 (5) byte(s)
     AdType         : 0x00 (0) (Scan Rsp Data)
     DataLength     : 0x03 (3)
     AdvertData     : 02:01:06
    Dump(Tx):
    0000:01 07 FE 05 00 03 02 01 06                      .........
    --------------------------------------------------------------------
    [33] : <Rx> - 03:38:16.592
    -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         : 0xFE07 (GAP_UpdateAdvertisingData)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 07 FE 00                      .........
    --------------------------------------------------------------------
    [34] : <Rx> - 03:38:16.603
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x04 (4) bytes(s)
     Event          : 0x0602 (1538) (GAP_AdvertDataUpdate)
     Status         : 0x00 (0) (Success)
     AdType         : 0x00 (0) (Scan Rsp Data)
    Dump(Rx):
    0000:04 FF 04 02 06 00 00                            .......
    --------------------------------------------------------------------
    [35] : <Tx> - 03:38:53.782
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD11 (ATT_ReadByGrpTypeRsp)
    -Data Length    : 0x09 (9) byte(s)
     ConnHandle     : 0xFFFE (65534)
     Length         : 0x07 (7)
     DataList       : 01:00:FF:FF:F0:FF
    Dump(Tx):
    0000:01 11 FD 09 FE FF 07 01 00 FF FF F0 FF          .............
    --------------------------------------------------------------------
    [36] : <Rx> - 03:38:53.819
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x40 (64) (The Attribute PDU Is Invalid)
     OpCode         : 0xFD11 (ATT_ReadByGrpTypeRsp)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 40 11 FD 00                      .....@...
    --------------------------------------------------------------------
    [37] : <Tx> - 03:39:19.877
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE08 (GAP_EndDiscoverable)
    -Data Length    : 0x00 (0) byte(s)
    Dump(Tx):
    0000:01 08 FE 00                                     ....
    --------------------------------------------------------------------
    [38] : <Rx> - 03:39:19.898
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x12 (18) (Not Setup Properly To Perform That Task)
     OpCode         : 0xFE08 (GAP_EndDiscoverable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 12 08 FE 00                      .........
    --------------------------------------------------------------------
    [39] : <Tx> - 03:39:22.189
    -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 37
                      Channel 38
                      Channel 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       ..............
    --------------------------------------------------------------------
    [40] : <Rx> - 03:39:22.212
    -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         : 0xFE06 (GAP_MakeDiscoverable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 06 FE 00                      .........
    --------------------------------------------------------------------
    [41] : <Rx> - 03:39:22.223
    -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                               ......
    --------------------------------------------------------------------
    [42] : <Info> - 03:39:34.336
    Device Connected
    Handle = 0x0000
    Addr Type = 0x01 (Static)
    BDAddr = 54:6E:C3:47:95:47
    --------------------------------------------------------------------
    [43] : <Rx> - 03:39:34.313
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x14 (20) bytes(s)
     Event          : 0x0605 (1541) (GAP_EstablishLink)
     Status         : 0x00 (0) (Success)
     DevAddrType    : 0x01 (1) (Random)
     DevAddr        : 54:6E:C3:47:95:47
     ConnHandle     : 0x0000 (0)
     ConnRole       : 0x04 (4) (Peripheral)
     ConnInterval   : 0x0027 (39)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x01F4 (500)
     ClockAccuracy  : 0x01 (1)
    Dump(Rx):
    0000:04 FF 14 05 06 00 01 47 95 47 C3 6E 54 00 00 04 .......G.G.nT...
    0010:27 00 00 00 F4 01 01                            '......
    --------------------------------------------------------------------
    [44] : <Error> - 03:39:34.511
    Could Not Convert Some Of The Data In The Following Message
    (A Specific Message Handler Is Needed To Process The Data)
    --------------------------------------------------------------------
    [45] : <Warning> - 03:39:34.520
    The Last 10 Bytes In The Following Message Were Not Decoded
    (Message Has More Than The Expected Number Of Data Bytes)
    --------------------------------------------------------------------
    [46] : <Rx> - 03:39:34.510
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0D (13) bytes(s)
     Event          : 0x0612 (1554) (Unknown Op Code)
     Status         : 0x00 (0) (Success)
     Raw            : 00 00 00 06 00 06 00 00 00 F4 01 
    Dump(Rx):
    0000:04 FF 0D 12 06 00 00 00 06 00 06 00 00 00 F4 01 ................
    --------------------------------------------------------------------
    [47] : <Rx> - 03:39:34.565
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0C (12) bytes(s)
     Event          : 0x0510 (1296) (ATT_ReadByGrpTypeReq)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x06 (6)
     StartHandle    : 0x0001 (1)
     EndHandle      : 0xFFFF (65535)
     GroupType      : 00:28
    Dump(Rx):
    0000:04 FF 0C 10 05 00 00 00 06 01 00 FF FF 00 28    ..............(
    --------------------------------------------------------------------
    [48] : <Tx> - 03:39:35.262
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD11 (ATT_ReadByGrpTypeRsp)
    -Data Length    : 0x09 (9) byte(s)
     ConnHandle     : 0x0000 (0)
     Length         : 0x06 (6)
     DataList       : 01:00:FF:FF:F0:FF
    Dump(Tx):
    0000:01 11 FD 09 00 00 06 01 00 FF FF F0 FF          .............
    --------------------------------------------------------------------
    [49] : <Rx> - 03:39:35.301
    -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         : 0xFD11 (ATT_ReadByGrpTypeRsp)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 11 FD 00                      .........
    --------------------------------------------------------------------
    [50] : <Rx> - 03:39:35.486
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0C (12) bytes(s)
     Event          : 0x0508 (1288) (ATT_ReadByTypeReq)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x06 (6)
     StartHandle    : 0x0001 (1)
     EndHandle      : 0xFFFF (65535)
     Type           : 03:28
    Dump(Rx):
    0000:04 FF 0C 08 05 00 00 00 06 01 00 FF FF 03 28    ..............(
    --------------------------------------------------------------------
    [51] : <Info> - 03:40:05.479
    Device Disconnected
    Handle = 0x0000
    Addr Type = 0x01 (Static)
    BDAddr = 54:6E:C3:47:95:47
    --------------------------------------------------------------------
    [52] : <Rx> - 03:40:05.473
    -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                      .........
    --------------------------------------------------------------------
    [53] : <Tx> - 03:40:30.716
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE08 (GAP_EndDiscoverable)
    -Data Length    : 0x00 (0) byte(s)
    Dump(Tx):
    0000:01 08 FE 00                                     ....
    --------------------------------------------------------------------
    [54] : <Rx> - 03:40:30.739
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x12 (18) (Not Setup Properly To Perform That Task)
     OpCode         : 0xFE08 (GAP_EndDiscoverable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 12 08 FE 00                      .........
    --------------------------------------------------------------------
    [55] : <Tx> - 03:40:32.171
    -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 37
                      Channel 38
                      Channel 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       ..............
    --------------------------------------------------------------------
    [56] : <Rx> - 03:40:32.186
    -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         : 0xFE06 (GAP_MakeDiscoverable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 06 FE 00                      .........
    --------------------------------------------------------------------
    [57] : <Rx> - 03:40:32.197
    -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                               ......
    --------------------------------------------------------------------
    [58] : <Info> - 03:40:45.381
    Device Connected
    Handle = 0x0000
    Addr Type = 0x01 (Static)
    BDAddr = 54:6E:C3:47:95:47
    --------------------------------------------------------------------
    [59] : <Rx> - 03:40:45.367
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x14 (20) bytes(s)
     Event          : 0x0605 (1541) (GAP_EstablishLink)
     Status         : 0x00 (0) (Success)
     DevAddrType    : 0x01 (1) (Random)
     DevAddr        : 54:6E:C3:47:95:47
     ConnHandle     : 0x0000 (0)
     ConnRole       : 0x04 (4) (Peripheral)
     ConnInterval   : 0x0027 (39)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x01F4 (500)
     ClockAccuracy  : 0x01 (1)
    Dump(Rx):
    0000:04 FF 14 05 06 00 01 47 95 47 C3 6E 54 00 00 04 .......G.G.nT...
    0010:27 00 00 00 F4 01 01                            '......
    --------------------------------------------------------------------
    [60] : <Error> - 03:40:45.596
    Could Not Convert Some Of The Data In The Following Message
    (A Specific Message Handler Is Needed To Process The Data)
    --------------------------------------------------------------------
    [61] : <Warning> - 03:40:45.605
    The Last 10 Bytes In The Following Message Were Not Decoded
    (Message Has More Than The Expected Number Of Data Bytes)
    --------------------------------------------------------------------
    [62] : <Rx> - 03:40:45.595
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0D (13) bytes(s)
     Event          : 0x0612 (1554) (Unknown Op Code)
     Status         : 0x00 (0) (Success)
     Raw            : 00 00 00 06 00 06 00 00 00 F4 01 
    Dump(Rx):
    0000:04 FF 0D 12 06 00 00 00 06 00 06 00 00 00 F4 01 ................
    --------------------------------------------------------------------
    [63] : <Rx> - 03:40:45.649
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0C (12) bytes(s)
     Event          : 0x0510 (1296) (ATT_ReadByGrpTypeReq)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x06 (6)
     StartHandle    : 0x0001 (1)
     EndHandle      : 0xFFFF (65535)
     GroupType      : 00:28
    Dump(Rx):
    0000:04 FF 0C 10 05 00 00 00 06 01 00 FF FF 00 28    ..............(
    --------------------------------------------------------------------
    [64] : <Tx> - 03:40:46.604
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD11 (ATT_ReadByGrpTypeRsp)
    -Data Length    : 0x0A (10) byte(s)
     ConnHandle     : 0x0000 (0)
     Length         : 0x07 (7)
     DataList       : 06:01:00:FF:FF:F0:FF
    Dump(Tx):
    0000:01 11 FD 0A 00 00 07 06 01 00 FF FF F0 FF       ..............
    --------------------------------------------------------------------
    [65] : <Rx> - 03:40:46.646
    -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         : 0xFD11 (ATT_ReadByGrpTypeRsp)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 11 FD 00                      .........
    --------------------------------------------------------------------
    [66] : <Info> - 03:41:29.819
    Device Disconnected
    Handle = 0x0000
    Addr Type = 0x01 (Static)
    BDAddr = 54:6E:C3:47:95:47
    --------------------------------------------------------------------
    [67] : <Rx> - 03:41:29.818
    -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) (Supervisor Timeout)
    Dump(Rx):
    0000:04 FF 06 06 06 00 00 00 08                      .........
    --------------------------------------------------------------------
    

    In log file 

    1) Index [48] - When sending ATT_ReadByGrpTypeRsp, if the value of Data list is 01: 00: FF: FF: F0: FF, the connection will not be established.

    2) Index [64] - When sending ATT_ReadByGrpTypeRsp, if the value of Data list is set to 06: 01: 00: FF: FF: F0: FF, the connection is established, but the service is not displayed in Central(android phone - BLE Scanner app).

    Thanks,

    SC Lee

  • I solved this problem.

    This is a problem caused by not responding to ATT_ReadByTypeReq.

    Thanks,

    SC Lee