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.

CC2651R3SIPA: Can not send GATT_ClientCharCfgUpdated event at enableing GAP_BOND_MGR

Part Number: CC2651R3SIPA

Tool/software:

Hello.

I have been develop modified host_test by cofigured GAP_BOND_MGR.

Role is peripheral.

If GAP_BOND_MGR is enabled, Our Host MCU can not receive the following event for CCCD of Notification or Indication.

[142] : <Rx> - 06:41:39.020
-Type           : 0x04 (Event)
-EventCode      : 0x00FF (HCI_LE_ExtEvent)
-Data Length    : 0x0A (10) bytes(s)
 Event          : 0x0580 (1408) (GATT_ClientCharCfgUpdated)
 Status         : 0x00 (0) (SUCCESS)
 ConnHandle     : 0x0000 (0)
 PduLen         : 0x04 (4)
 AttrHandle     : 0x000F (15)
 Value          : 0x02 (2)
Dump(Rx):
0000:04 FF 0A 80 05 00 00 00 04 0F 00 02 00          .............

If GAP_BOND_MGR is disabled, no problem,  Host MCU can receive it.

I 'd like to use pairing sequence (Bond manager) and  ATT Notification/Indication sequence.

I can not use both functions together. Why? 

SDK version is simplelink_cc13xx_cc26xx_sdk_7_41_00_17.

Best Regards,

Okazaki

  • Hi Okazaki

    Thank you for reaching out. 

    Can you comment whether that despite not receiving the GATT_ClientCharCfgUpdated event the notifications/indications work as expected?

    Also, could you please walk me through the way the client proceeds to enable the notifications/indications?

    Best regards, 

  • Hi

    Please find BTool log below.

    Peripheral (GATT Server) with disabled GAP_BOND_MGR:

    [1] : <Tx> - 05:24:32.842
    -Type           : 0x01 (Command)
    -OpCode         : 0xFC1D (HCIExt_ResetSystemCmd)
    -Data Length    : 0x01 (1) byte(s)
     Type           : 0x00 (0) (Chip Reset)
    Dump(Tx):
    0000:01 1D FC 01 00                                  .....
    --------------------------------------------------------------------
    [2] : <Rx> - 05:24:32.866
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x05 (5) bytes(s)
     Event          : 0x041D (1053) (HCIExt_ResetSystemCmdDone)
     Status         : 0x00 (0) (SUCCESS)
     CmdOpCode      : 0xFC1D (HCIExt_ResetSystemCmd)
    Dump(Rx):
    0000:04 FF 05 1D 04 00 1D FC                         ........
    --------------------------------------------------------------------
    [3] : <Tx> - 05:24:37.395
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x08 (8) byte(s)
     ProfileRole    : 0x04 (4) (
                      Peripheral)
     AddrMode       : 0x00 (0) (ADDRMODE_PUBLIC)
     RandomAddr     : 00:00:00:00:00:00
    Dump(Tx):
    0000:01 00 FE 08 04 00 00 00 00 00 00 00             ............
    --------------------------------------------------------------------
    [4] : <Rx> - 05:24:37.413
    -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                      .........
    --------------------------------------------------------------------
    [5] : <Rx> - 05:24:37.429
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (SUCCESS)
     DevAddr        : F0:F8:F2:2C:87:4A
     DataPktLen     : 0x00FF (255)
     NumDataPkts    : 0x05 (5)
     IRK            : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
     CSRK           : DE:FA:D9:F1:A6:36:C8:1B:5E:88:23:F1:21:B6:FF:5A
    Dump(Rx):
    0000:04 FF 2C 00 06 00 4A 87 2C F2 F8 F0 FF 00 05 00 ..,...J.,.......
    0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DE ................
    0020:FA D9 F1 A6 36 C8 1B 5E 88 23 F1 21 B6 FF 5A    ....6..^.#.!..Z
    --------------------------------------------------------------------
    [6] : <Tx> - 05:24:41.527
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE3E (GapAdv_create)
    -Data Length    : 0x15 (21) byte(s)
     Properties     : 0x0013 (19) (
                      GAP_ADV_PROP_CONNECTABLE
                      GAP_ADV_PROP_SCANNABLE
                      GAP_ADV_PROP_LEGACY)
     IntervalMin    : 0x0000A0 (160)
     IntervalMax    : 0x0000A0 (160)
     PrimaryChMap   : 0x07 (7) (
                      GAP_ADV_CHAN_37
                      GAP_ADV_CHAN_38
                      GAP_ADV_CHAN_39)
     PeerAddrType   : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID)
     PeerAddress    : 00:00:00:00:00:00
     FilterPolicy   : 0x00 (0) (
                      AdvFilterPolicy Bit Mask Is Not Set)
     TxPower        : 0x7F (127)
     PrimaryPHY     : 0x01 (1) (GAP_ADV_PRIM_PHY_1_MBPS)
     SecondaryPHY   : 0x01 (1) (GAP_ADV_SEC_PHY_1_MBPS)
     SID            : 0x00 (0)
    Dump(Tx):
    0000:01 3E FE 15 13 00 A0 00 00 A0 00 00 07 00 00 00 .>..............
    0010:00 00 00 00 00 7F 01 01 00                      .........
    --------------------------------------------------------------------
    [7] : <Rx> - 05:24:41.550
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x07 (7) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (SUCCESS)
     OpCode         : 0xFE3E (GapAdv_create)
     DataLength     : 0x01 (1)
     Handle         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 07 7F 06 00 3E FE 01 00                   ......>...
    --------------------------------------------------------------------
    [8] : <Tx> - 05:24:44.123
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE3F (GapAdv_enable)
    -Data Length    : 0x04 (4) byte(s)
     Handle         : 0x00 (0)
     EnableOptions  : 0x00 (0) (GAP_ADV_ENABLE_OPTIONS_USE_MAX)
     DurationMaxEvnt: 0x0000 (0)
    Dump(Tx):
    0000:01 3F FE 04 00 00 00 00                         .?......
    --------------------------------------------------------------------
    [9] : <Rx> - 05:24:44.136
    -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         : 0xFE3F (GapAdv_enable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 3F FE 00                      ......?..
    --------------------------------------------------------------------
    [10] : <Rx> - 05:25:34.417
    -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        : F0:F8:F2:2C:87:C6
     ConnHandle     : 0x0000 (0)
     ConnRole       : 0x04 (4) (
                      Peripheral)
     ConnInterval   : 0x0050 (80)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x07D0 (2000)
     ClockAccuracy  : 0x05 (5)
    Dump(Rx):
    0000:04 FF 14 05 06 00 00 C6 87 2C F2 F8 F0 00 00 04 .........,......
    0010:50 00 00 00 D0 07 05                            P......
    --------------------------------------------------------------------
    [11] : <Tx> - 05:25:34.421
    -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.
    --------------------------------------------------------------------
    [12] : <Info> - 05:25:34.491
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (ADDRTYPE_PUBLIC)
    BDAddr = F0:F8:F2:2C:87:C6
    --------------------------------------------------------------------
    [13] : <Rx> - 05:25:34.478
    -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                      ...." ...
    --------------------------------------------------------------------
    [14] : <Rx> - 05:25:34.621
    -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
                      Peripheral_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......
    --------------------------------------------------------------------
    [15] : <Warning> - 05:26:30.918
    The Last 1 Byte(s) In The Following Message Were Not Decoded
    (Message Has More Than The Expected Number Of Data Bytes)
    --------------------------------------------------------------------
    [16] : <Rx> - 05:26:30.916
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0A (10) bytes(s)
     Event          : 0x0580 (1408) (GATT_ClientCharCfgUpdated)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x04 (4)
     AttrHandle     : 0x000F (15)
     Value          : 0x02 (2)
    Dump(Rx):
    0000:04 FF 0A 80 05 00 00 00 04 0F 00 02 00          .............
    --------------------------------------------------------------------
    [17] : <Tx> - 05:28:24.027
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD9D (GATT_Indication)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     Authentic      : 0x00 (0) (No)
     Handle         : 0x000E (14)
     Value          : A1
    Dump(Tx):
    0000:01 9D FD 06 00 00 00 0E 00 A1                   ..........
    --------------------------------------------------------------------
    [18] : <Rx> - 05:28:24.039
    -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         : 0xFD9D (GATT_Indication)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 9D FD 00                      .........
    --------------------------------------------------------------------
    [19] : <Rx> - 05:28:24.213
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x051E (1310) (ATT_HandleValueConfirmation)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 1E 05 00 00 00 00                      .........
    --------------------------------------------------------------------
    

    Central (GATT Client) with disabled GAP_BOND_MGR:

    [1] : <Tx> - 05:25:02.723
    -Type           : 0x01 (Command)
    -OpCode         : 0xFC1D (HCIExt_ResetSystemCmd)
    -Data Length    : 0x01 (1) byte(s)
     Type           : 0x00 (0) (Chip Reset)
    Dump(Tx):
    0000:01 1D FC 01 00                                  .....
    --------------------------------------------------------------------
    [2] : <Rx> - 05:25:02.739
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x05 (5) bytes(s)
     Event          : 0x041D (1053) (HCIExt_ResetSystemCmdDone)
     Status         : 0x00 (0) (SUCCESS)
     CmdOpCode      : 0xFC1D (HCIExt_ResetSystemCmd)
    Dump(Rx):
    0000:04 FF 05 1D 04 00 1D FC                         ........
    --------------------------------------------------------------------
    [3] : <Tx> - 05:25:11.303
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x08 (8) byte(s)
     ProfileRole    : 0x08 (8) (
                      Central)
     AddrMode       : 0x00 (0) (ADDRMODE_PUBLIC)
     RandomAddr     : 00:00:00:00:00:00
    Dump(Tx):
    0000:01 00 FE 08 08 00 00 00 00 00 00 00             ............
    --------------------------------------------------------------------
    [4] : <Rx> - 05:25:11.321
    -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                      .........
    --------------------------------------------------------------------
    [5] : <Rx> - 05:25:11.337
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (SUCCESS)
     DevAddr        : F0:F8:F2:2C:87:C6
     DataPktLen     : 0x00FF (255)
     NumDataPkts    : 0x05 (5)
     IRK            : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
     CSRK           : 3E:0E:AD:41:11:CB:1D:AC:91:A1:09:C1:E5:D5:28:2B
    Dump(Rx):
    0000:04 FF 2C 00 06 00 C6 87 2C F2 F8 F0 FF 00 05 00 ..,.....,.......
    0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3E ...............>
    0020:0E AD 41 11 CB 1D AC 91 A1 09 C1 E5 D5 28 2B    ..A..........(+
    --------------------------------------------------------------------
    [6] : <Tx> - 05:25:34.319
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE62 (GapInit_connect)
    -Data Length    : 0x0A (10) byte(s)
     PeerAddrType   : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID)
     PeerAddr       : F0:F8:F2:2C:87:4A
     InitiatingPhy  : 0x01 (1) (
                      INIT_PHY_1M)
     Timeout        : 0x0000 (0)
    Dump(Tx):
    0000:01 62 FE 0A 00 4A 87 2C F2 F8 F0 01 00 00       .b...J.,......
    --------------------------------------------------------------------
    [7] : <Rx> - 05:25:34.338
    -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..
    --------------------------------------------------------------------
    [8] : <Rx> - 05:25:34.417
    -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        : F0:F8:F2:2C:87:4A
     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 4A 87 2C F2 F8 F0 00 00 08 .......J.,......
    0010:50 00 00 00 D0 07 00                            P......
    --------------------------------------------------------------------
    [9] : <Tx> - 05:25:34.421
    -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.
    --------------------------------------------------------------------
    [10] : <Info> - 05:25:34.469
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (ADDRTYPE_PUBLIC)
    BDAddr = F0:F8:F2:2C:87:4A
    --------------------------------------------------------------------
    [11] : <Rx> - 05:25:34.463
    -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                      ...." ...
    --------------------------------------------------------------------
    [12] : <Rx> - 05:25:34.605
    -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
                      Peripheral_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......
    --------------------------------------------------------------------
    [13] : <Tx> - 05:25:41.745
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD90 (GATT_DiscAllPrimaryServices)
    -Data Length    : 0x02 (2) byte(s)
     ConnHandle     : 0x0000 (0)
    Dump(Tx):
    0000:01 90 FD 02 00 00                               ......
    --------------------------------------------------------------------
    [14] : <Rx> - 05:25:41.772
    -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         : 0xFD90 (GATT_DiscAllPrimaryServices)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 90 FD 00                      .........
    --------------------------------------------------------------------
    [15] : <Rx> - 05:25:41.915
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x13 (19) bytes(s)
     Event          : 0x0511 (1297) (ATT_ReadByGrpTypeRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x0D (13)
     Length         : 0x06 (6)
     DataList
     AttrHandle     : 0001
     EndGrpHandle   : 000B
     Value          : 00:18
     AttrHandle     : 000C
     EndGrpHandle   : FFFF
     Value          : 01:18
    
    Dump(Rx):
    0000:04 FF 13 11 05 00 00 00 0D 06 01 00 0B 00 00 18 ................
    0010:0C 00 FF FF 01 18                               ......
    --------------------------------------------------------------------
    [16] : <Rx> - 05:25:41.931
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0511 (1297) (ATT_ReadByGrpTypeRsp)
     Status         : 0x1A (26) (bleProcedureComplete)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 11 05 1A 00 00 00                      .........
    --------------------------------------------------------------------
    [17] : <Tx> - 05:25:46.831
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD84 (GATT_DiscAllCharDescs)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     StartHandle    : 0x0001 (1)
     EndHandle      : 0xFFFF (65535)
    Dump(Tx):
    0000:01 84 FD 06 00 00 01 00 FF FF                   ..........
    --------------------------------------------------------------------
    [18] : <Rx> - 05:25:46.855
    -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         : 0xFD84 (GATT_DiscAllCharDescs)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 84 FD 00                      .........
    --------------------------------------------------------------------
    [19] : <Rx> - 05:25:47.014
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x1B (27) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x15 (21)
     Format         : 0x01 (1) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs)
     Handle         : 0001
     Uuid           : 00:28
     Handle         : 0002
     Uuid           : 03:28
     Handle         : 0003
     Uuid           : 00:2A
     Handle         : 0004
     Uuid           : 03:28
     Handle         : 0005
     Uuid           : 01:2A
    Dump(Rx):
    0000:04 FF 1B 05 05 00 00 00 15 01 01 00 00 28 02 00 .............(..
    0010:03 28 03 00 00 2A 04 00 03 28 05 00 01 2A       .(...*...(...*
    --------------------------------------------------------------------
    [20] : <Rx> - 05:25:47.217
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x1B (27) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x15 (21)
     Format         : 0x01 (1) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs)
     Handle         : 0006
     Uuid           : 03:28
     Handle         : 0007
     Uuid           : 04:2A
     Handle         : 0008
     Uuid           : 03:28
     Handle         : 0009
     Uuid           : A6:2A
     Handle         : 000A
     Uuid           : 03:28
    Dump(Rx):
    0000:04 FF 1B 05 05 00 00 00 15 01 06 00 03 28 07 00 .............(..
    0010:04 2A 08 00 03 28 09 00 A6 2A 0A 00 03 28       .*...(...*...(
    --------------------------------------------------------------------
    [21] : <Rx> - 05:25:47.420
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x1B (27) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x15 (21)
     Format         : 0x01 (1) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs)
     Handle         : 000B
     Uuid           : C9:2A
     Handle         : 000C
     Uuid           : 00:28
     Handle         : 000D
     Uuid           : 03:28
     Handle         : 000E
     Uuid           : 05:2A
     Handle         : 000F
     Uuid           : 02:29
    Dump(Rx):
    0000:04 FF 1B 05 05 00 00 00 15 01 0B 00 C9 2A 0C 00 .............*..
    0010:00 28 0D 00 03 28 0E 00 05 2A 0F 00 02 29       .(...(...*...)
    --------------------------------------------------------------------
    [22] : <Rx> - 05:25:47.611
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x1A (26) (bleProcedureComplete)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 05 05 1A 00 00 00                      .........
    --------------------------------------------------------------------
    [27] : <Tx> - 05:26:13.787
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD8A (GATT_ReadCharValue)
    -Data Length    : 0x04 (4) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x000D (13)
    Dump(Tx):
    0000:01 8A FD 04 00 00 0D 00                         ........
    --------------------------------------------------------------------
    [28] : <Rx> - 05:26:13.813
    -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         : 0xFD8A (GATT_ReadCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 8A FD 00                      .........
    --------------------------------------------------------------------
    [29] : <Rx> - 05:26:13.908
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0B (11) bytes(s)
     Event          : 0x050B (1291) (ATT_ReadRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x05 (5)
     Value          : 20:0E:00:05:2A
    Dump(Rx):
    0000:04 FF 0B 0B 05 00 00 00 05 20 0E 00 05 2A       ......... ...*
    --------------------------------------------------------------------
    [30] : <Tx> - 05:26:24.338
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD8A (GATT_ReadCharValue)
    -Data Length    : 0x04 (4) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x000F (15)
    Dump(Tx):
    0000:01 8A FD 04 00 00 0F 00                         ........
    --------------------------------------------------------------------
    [31] : <Rx> - 05:26:24.374
    -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         : 0xFD8A (GATT_ReadCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 8A FD 00                      .........
    --------------------------------------------------------------------
    [32] : <Rx> - 05:26:24.516
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x08 (8) bytes(s)
     Event          : 0x050B (1291) (ATT_ReadRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x02 (2)
     Value          : 00:00
    Dump(Rx):
    0000:04 FF 08 0B 05 00 00 00 02 00 00                ...........
    --------------------------------------------------------------------
    [33] : <Tx> - 05:26:30.878
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD92 (GATT_WriteCharValue)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x000F (15)
     Value          : 02:00
    Dump(Tx):
    0000:01 92 FD 06 00 00 0F 00 02 00                   ..........
    --------------------------------------------------------------------
    [34] : <Rx> - 05:26:30.916
    -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         : 0xFD92 (GATT_WriteCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 92 FD 00                      .........
    --------------------------------------------------------------------
    [35] : <Rx> - 05:26:31.011
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0513 (1299) (ATT_WriteRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 13 05 00 00 00 00                      .........
    --------------------------------------------------------------------
    [36] : <Rx> - 05:28:24.117
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x09 (9) bytes(s)
     Event          : 0x051D (1309) (ATT_HandleValueIndication)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x03 (3)
     Handle         : 0x000E (14)
     Value          : A1
    Dump(Rx):
    0000:04 FF 09 1D 05 00 00 00 03 0E 00 A1             ............
    --------------------------------------------------------------------
    [37] : <Tx> - 05:28:24.119
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD1E (ATT_HandleValueConfirmation)
    -Data Length    : 0x02 (2) byte(s)
     ConnHandle     : 0x0000 (0)
    Dump(Tx):
    0000:01 1E FD 02 00 00                               ......
    --------------------------------------------------------------------
    [38] : <Rx> - 05:28:24.181
    -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         : 0xFD1E (ATT_HandleValueConfirmation)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 1E FD 00                      .........
    --------------------------------------------------------------------
    

    Peripheral (GATT Server) with enabled GAP_BOND_MGR:

    [1] : <Tx> - 05:35:19.094
    -Type           : 0x01 (Command)
    -OpCode         : 0xFC1D (HCIExt_ResetSystemCmd)
    -Data Length    : 0x01 (1) byte(s)
     Type           : 0x00 (0) (Chip Reset)
    Dump(Tx):
    0000:01 1D FC 01 00                                  .....
    --------------------------------------------------------------------
    [2] : <Rx> - 05:35:19.104
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x05 (5) bytes(s)
     Event          : 0x041D (1053) (HCIExt_ResetSystemCmdDone)
     Status         : 0x00 (0) (SUCCESS)
     CmdOpCode      : 0xFC1D (HCIExt_ResetSystemCmd)
    Dump(Rx):
    0000:04 FF 05 1D 04 00 1D FC                         ........
    --------------------------------------------------------------------
    [3] : <Tx> - 05:35:22.943
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x08 (8) byte(s)
     ProfileRole    : 0x04 (4) (
                      Peripheral)
     AddrMode       : 0x00 (0) (ADDRMODE_PUBLIC)
     RandomAddr     : 00:00:00:00:00:00
    Dump(Tx):
    0000:01 00 FE 08 04 00 00 00 00 00 00 00             ............
    --------------------------------------------------------------------
    [4] : <Rx> - 05:35:22.964
    -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                      .........
    --------------------------------------------------------------------
    [5] : <Rx> - 05:35:22.980
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (SUCCESS)
     DevAddr        : F0:F8:F2:2C:87:4A
     DataPktLen     : 0x00FF (255)
     NumDataPkts    : 0x05 (5)
     IRK            : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
     CSRK           : ED:9D:59:D2:3C:E0:34:BE:9E:A7:35:02:1E:75:F3:58
    Dump(Rx):
    0000:04 FF 2C 00 06 00 4A 87 2C F2 F8 F0 FF 00 05 00 ..,...J.,.......
    0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ED ................
    0020:9D 59 D2 3C E0 34 BE 9E A7 35 02 1E 75 F3 58    .Y.<.4...5..u.X
    --------------------------------------------------------------------
    [6] : <Tx> - 05:35:27.135
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE3E (GapAdv_create)
    -Data Length    : 0x15 (21) byte(s)
     Properties     : 0x0013 (19) (
                      GAP_ADV_PROP_CONNECTABLE
                      GAP_ADV_PROP_SCANNABLE
                      GAP_ADV_PROP_LEGACY)
     IntervalMin    : 0x0000A0 (160)
     IntervalMax    : 0x0000A0 (160)
     PrimaryChMap   : 0x07 (7) (
                      GAP_ADV_CHAN_37
                      GAP_ADV_CHAN_38
                      GAP_ADV_CHAN_39)
     PeerAddrType   : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID)
     PeerAddress    : 00:00:00:00:00:00
     FilterPolicy   : 0x00 (0) (
                      AdvFilterPolicy Bit Mask Is Not Set)
     TxPower        : 0x7F (127)
     PrimaryPHY     : 0x01 (1) (GAP_ADV_PRIM_PHY_1_MBPS)
     SecondaryPHY   : 0x01 (1) (GAP_ADV_SEC_PHY_1_MBPS)
     SID            : 0x00 (0)
    Dump(Tx):
    0000:01 3E FE 15 13 00 A0 00 00 A0 00 00 07 00 00 00 .>..............
    0010:00 00 00 00 00 7F 01 01 00                      .........
    --------------------------------------------------------------------
    [7] : <Rx> - 05:35:27.156
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x07 (7) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (SUCCESS)
     OpCode         : 0xFE3E (GapAdv_create)
     DataLength     : 0x01 (1)
     Handle         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 07 7F 06 00 3E FE 01 00                   ......>...
    --------------------------------------------------------------------
    [8] : <Tx> - 05:35:29.227
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE3F (GapAdv_enable)
    -Data Length    : 0x04 (4) byte(s)
     Handle         : 0x00 (0)
     EnableOptions  : 0x00 (0) (GAP_ADV_ENABLE_OPTIONS_USE_MAX)
     DurationMaxEvnt: 0x0000 (0)
    Dump(Tx):
    0000:01 3F FE 04 00 00 00 00                         .?......
    --------------------------------------------------------------------
    [9] : <Rx> - 05:35:29.252
    -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         : 0xFE3F (GapAdv_enable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 3F FE 00                      ......?..
    --------------------------------------------------------------------
    [10] : <Rx> - 05:35:56.224
    -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        : F0:F8:F2:2C:87:C6
     ConnHandle     : 0x0000 (0)
     ConnRole       : 0x04 (4) (
                      Peripheral)
     ConnInterval   : 0x0050 (80)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x07D0 (2000)
     ClockAccuracy  : 0x05 (5)
    Dump(Rx):
    0000:04 FF 14 05 06 00 00 C6 87 2C F2 F8 F0 00 00 04 .........,......
    0010:50 00 00 00 D0 07 05                            P......
    --------------------------------------------------------------------
    [11] : <Tx> - 05:35:56.228
    -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.
    --------------------------------------------------------------------
    [12] : <Info> - 05:35:56.292
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (ADDRTYPE_PUBLIC)
    BDAddr = F0:F8:F2:2C:87:C6
    --------------------------------------------------------------------
    [13] : <Rx> - 05:35:56.271
    -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                      ...." ...
    --------------------------------------------------------------------
    [14] : <Rx> - 05:35:56.429
    -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
                      Peripheral_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......
    --------------------------------------------------------------------
    [15] : <Tx> - 05:37:09.053
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD9D (GATT_Indication)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     Authentic      : 0x00 (0) (No)
     Handle         : 0x000E (14)
     Value          : A1
    Dump(Tx):
    0000:01 9D FD 06 00 00 00 0E 00 A1                   ..........
    --------------------------------------------------------------------
    [16] : <Error> - 05:37:44.068
    Message Response Timeout
    Name = GATT_Indication
    OpCode = 0xFD9D
    Tx Time = 05:37:09.053
    --------------------------------------------------------------------
    

    Central (GATT Client) with enabled GAP_BOND_MGR:

    [1] : <Tx> - 05:35:44.152
    -Type           : 0x01 (Command)
    -OpCode         : 0xFC1D (HCIExt_ResetSystemCmd)
    -Data Length    : 0x01 (1) byte(s)
     Type           : 0x00 (0) (Chip Reset)
    Dump(Tx):
    0000:01 1D FC 01 00                                  .....
    --------------------------------------------------------------------
    [2] : <Rx> - 05:35:44.162
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x05 (5) bytes(s)
     Event          : 0x041D (1053) (HCIExt_ResetSystemCmdDone)
     Status         : 0x00 (0) (SUCCESS)
     CmdOpCode      : 0xFC1D (HCIExt_ResetSystemCmd)
    Dump(Rx):
    0000:04 FF 05 1D 04 00 1D FC                         ........
    --------------------------------------------------------------------
    [3] : <Tx> - 05:35:49.156
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x08 (8) byte(s)
     ProfileRole    : 0x08 (8) (
                      Central)
     AddrMode       : 0x00 (0) (ADDRMODE_PUBLIC)
     RandomAddr     : 00:00:00:00:00:00
    Dump(Tx):
    0000:01 00 FE 08 08 00 00 00 00 00 00 00             ............
    --------------------------------------------------------------------
    [4] : <Rx> - 05:35:49.175
    -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                      .........
    --------------------------------------------------------------------
    [5] : <Rx> - 05:35:49.191
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (SUCCESS)
     DevAddr        : F0:F8:F2:2C:87:C6
     DataPktLen     : 0x00FF (255)
     NumDataPkts    : 0x05 (5)
     IRK            : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
     CSRK           : C4:41:10:A4:2B:F8:F7:5F:62:DB:1F:29:B9:A4:26:C1
    Dump(Rx):
    0000:04 FF 2C 00 06 00 C6 87 2C F2 F8 F0 FF 00 05 00 ..,.....,.......
    0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 ................
    0020:41 10 A4 2B F8 F7 5F 62 DB 1F 29 B9 A4 26 C1    A..+.._b..)..&.
    --------------------------------------------------------------------
    [6] : <Tx> - 05:35:56.152
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE62 (GapInit_connect)
    -Data Length    : 0x0A (10) byte(s)
     PeerAddrType   : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID)
     PeerAddr       : F0:F8:F2:2C:87:4A
     InitiatingPhy  : 0x01 (1) (
                      INIT_PHY_1M)
     Timeout        : 0x0000 (0)
    Dump(Tx):
    0000:01 62 FE 0A 00 4A 87 2C F2 F8 F0 01 00 00       .b...J.,......
    --------------------------------------------------------------------
    [7] : <Rx> - 05:35:56.176
    -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..
    --------------------------------------------------------------------
    [8] : <Rx> - 05:35:56.224
    -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        : F0:F8:F2:2C:87:4A
     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 4A 87 2C F2 F8 F0 00 00 08 .......J.,......
    0010:50 00 00 00 D0 07 00                            P......
    --------------------------------------------------------------------
    [9] : <Tx> - 05:35:56.229
    -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.
    --------------------------------------------------------------------
    [10] : <Info> - 05:35:56.286
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (ADDRTYPE_PUBLIC)
    BDAddr = F0:F8:F2:2C:87:4A
    --------------------------------------------------------------------
    [11] : <Rx> - 05:35:56.271
    -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                      ...." ...
    --------------------------------------------------------------------
    [12] : <Rx> - 05:35:56.429
    -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
                      Peripheral_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......
    --------------------------------------------------------------------
    [13] : <Tx> - 05:36:12.052
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD90 (GATT_DiscAllPrimaryServices)
    -Data Length    : 0x02 (2) byte(s)
     ConnHandle     : 0x0000 (0)
    Dump(Tx):
    0000:01 90 FD 02 00 00                               ......
    --------------------------------------------------------------------
    [14] : <Rx> - 05:36:12.068
    -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         : 0xFD90 (GATT_DiscAllPrimaryServices)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 90 FD 00                      .........
    --------------------------------------------------------------------
    [15] : <Rx> - 05:36:12.226
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x13 (19) bytes(s)
     Event          : 0x0511 (1297) (ATT_ReadByGrpTypeRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x0D (13)
     Length         : 0x06 (6)
     DataList
     AttrHandle     : 0001
     EndGrpHandle   : 000B
     Value          : 00:18
     AttrHandle     : 000C
     EndGrpHandle   : FFFF
     Value          : 01:18
    
    Dump(Rx):
    0000:04 FF 13 11 05 00 00 00 0D 06 01 00 0B 00 00 18 ................
    0010:0C 00 FF FF 01 18                               ......
    --------------------------------------------------------------------
    [16] : <Rx> - 05:36:12.242
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0511 (1297) (ATT_ReadByGrpTypeRsp)
     Status         : 0x1A (26) (bleProcedureComplete)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 11 05 1A 00 00 00                      .........
    --------------------------------------------------------------------
    [17] : <Tx> - 05:36:18.788
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD84 (GATT_DiscAllCharDescs)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     StartHandle    : 0x0001 (1)
     EndHandle      : 0xFFFF (65535)
    Dump(Tx):
    0000:01 84 FD 06 00 00 01 00 FF FF                   ..........
    --------------------------------------------------------------------
    [18] : <Rx> - 05:36:18.812
    -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         : 0xFD84 (GATT_DiscAllCharDescs)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 84 FD 00                      .........
    --------------------------------------------------------------------
    [19] : <Rx> - 05:36:18.921
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x1B (27) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x15 (21)
     Format         : 0x01 (1) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs)
     Handle         : 0001
     Uuid           : 00:28
     Handle         : 0002
     Uuid           : 03:28
     Handle         : 0003
     Uuid           : 00:2A
     Handle         : 0004
     Uuid           : 03:28
     Handle         : 0005
     Uuid           : 01:2A
    Dump(Rx):
    0000:04 FF 1B 05 05 00 00 00 15 01 01 00 00 28 02 00 .............(..
    0010:03 28 03 00 00 2A 04 00 03 28 05 00 01 2A       .(...*...(...*
    --------------------------------------------------------------------
    [20] : <Rx> - 05:36:19.126
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x1B (27) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x15 (21)
     Format         : 0x01 (1) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs)
     Handle         : 0006
     Uuid           : 03:28
     Handle         : 0007
     Uuid           : 04:2A
     Handle         : 0008
     Uuid           : 03:28
     Handle         : 0009
     Uuid           : A6:2A
     Handle         : 000A
     Uuid           : 03:28
    Dump(Rx):
    0000:04 FF 1B 05 05 00 00 00 15 01 06 00 03 28 07 00 .............(..
    0010:04 2A 08 00 03 28 09 00 A6 2A 0A 00 03 28       .*...(...*...(
    --------------------------------------------------------------------
    [21] : <Rx> - 05:36:19.316
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x1B (27) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x15 (21)
     Format         : 0x01 (1) (HANDLE_BT_UUID_TYPE__handles_and_16_bit_Bluetooth_UUIDs)
     Handle         : 000B
     Uuid           : C9:2A
     Handle         : 000C
     Uuid           : 00:28
     Handle         : 000D
     Uuid           : 03:28
     Handle         : 000E
     Uuid           : 05:2A
     Handle         : 000F
     Uuid           : 02:29
    Dump(Rx):
    0000:04 FF 1B 05 05 00 00 00 15 01 0B 00 C9 2A 0C 00 .............*..
    0010:00 28 0D 00 03 28 0E 00 05 2A 0F 00 02 29       .(...(...*...)
    --------------------------------------------------------------------
    [22] : <Rx> - 05:36:19.523
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x1A (26) (bleProcedureComplete)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 05 05 1A 00 00 00                      .........
    --------------------------------------------------------------------
    [23] : <Tx> - 05:36:27.989
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD8A (GATT_ReadCharValue)
    -Data Length    : 0x04 (4) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x000D (13)
    Dump(Tx):
    0000:01 8A FD 04 00 00 0D 00                         ........
    --------------------------------------------------------------------
    [24] : <Rx> - 05:36:28.007
    -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         : 0xFD8A (GATT_ReadCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 8A FD 00                      .........
    --------------------------------------------------------------------
    [25] : <Rx> - 05:36:28.117
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0B (11) bytes(s)
     Event          : 0x050B (1291) (ATT_ReadRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x05 (5)
     Value          : 20:0E:00:05:2A
    Dump(Rx):
    0000:04 FF 0B 0B 05 00 00 00 05 20 0E 00 05 2A       ......... ...*
    --------------------------------------------------------------------
    [26] : <Tx> - 05:36:33.871
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD8A (GATT_ReadCharValue)
    -Data Length    : 0x04 (4) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x000F (15)
    Dump(Tx):
    0000:01 8A FD 04 00 00 0F 00                         ........
    --------------------------------------------------------------------
    [27] : <Rx> - 05:36:33.901
    -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         : 0xFD8A (GATT_ReadCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 8A FD 00                      .........
    --------------------------------------------------------------------
    [28] : <Rx> - 05:36:34.028
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x08 (8) bytes(s)
     Event          : 0x050B (1291) (ATT_ReadRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x02 (2)
     Value          : 00:00
    Dump(Rx):
    0000:04 FF 08 0B 05 00 00 00 02 00 00                ...........
    --------------------------------------------------------------------
    [29] : <Tx> - 05:36:38.956
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD92 (GATT_WriteCharValue)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x000F (15)
     Value          : 02:00
    Dump(Tx):
    0000:01 92 FD 06 00 00 0F 00 02 00                   ..........
    --------------------------------------------------------------------
    [30] : <Rx> - 05:36:38.993
    -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         : 0xFD92 (GATT_WriteCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 92 FD 00                      .........
    --------------------------------------------------------------------
    [31] : <Rx> - 05:36:39.119
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0513 (1299) (ATT_WriteRsp)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 13 05 00 00 00 00                      .........
    --------------------------------------------------------------------
    [32] : <Rx> - 05:37:09.128
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x09 (9) bytes(s)
     Event          : 0x051D (1309) (ATT_HandleValueIndication)
     Status         : 0x00 (0) (SUCCESS)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x03 (3)
     Handle         : 0x000E (14)
     Value          : A1
    Dump(Rx):
    0000:04 FF 09 1D 05 00 00 00 03 0E 00 A1             ............
    --------------------------------------------------------------------
    [33] : <Tx> - 05:37:09.128
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD1E (ATT_HandleValueConfirmation)
    -Data Length    : 0x02 (2) byte(s)
     ConnHandle     : 0x0000 (0)
    Dump(Tx):
    0000:01 1E FD 02 00 00                               ......
    --------------------------------------------------------------------
    [34] : <Rx> - 05:37:09.192
    -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         : 0xFD1E (ATT_HandleValueConfirmation)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 1E FD 00                      .........
    --------------------------------------------------------------------
    

    Best Regards,

    Okazaki

  • Hi, 

    Thank you for providing the logs. I see the notifications got properly enabled in both cases - which is positive as you can consider the workaround discussed here https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1427040/cc2640r2f-gatt_clientcharcfgupdated-is-never-sent-when-requesting-for-notifications 

    In order to further investigate the issue, could you please comment on the following? 

    • Please describe the procedure followed to enable/disable GAP_BOND_MGR
    • When GAP_BOND_MGR is enabled, could you please try pairing and bonding before enabling the notifications and report if the same behavior occurs

    Best regards, 

  • Hi,

    Thank you very much for your reply.

    1. "build_config.opt" is added For the procedure followed to enable/disable GAP_BOND_MG,  add to "build_config.opt" .

    2. When GAP_BOND_MGR is enabled,  BTool log is below. Any event is not  notified  for pairing sequence.

    Peripheral (GATT Server/SM Responder) with enabled GAP_BOND_MGR:

    [1] : <Tx> - 09:31:55.052
    -Type           : 0x01 (Command)
    -OpCode         : 0xFC1D (HCIExt_ResetSystemCmd)
    -Data Length    : 0x01 (1) byte(s)
     Type           : 0x00 (0) (Chip Reset)
    Dump(Tx):
    0000:01 1D FC 01 00                                  .....
    --------------------------------------------------------------------
    [2] : <Rx> - 09:31:55.098
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x05 (5) bytes(s)
     Event          : 0x041D (1053) (HCIExt_ResetSystemCmdDone)
     Status         : 0x00 (0) (SUCCESS)
     CmdOpCode      : 0xFC1D (HCIExt_ResetSystemCmd)
    Dump(Rx):
    0000:04 FF 05 1D 04 00 1D FC                         ........
    --------------------------------------------------------------------
    [3] : <Tx> - 09:31:59.222
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x08 (8) byte(s)
     ProfileRole    : 0x04 (4) (
                      Peripheral)
     AddrMode       : 0x00 (0) (ADDRMODE_PUBLIC)
     RandomAddr     : 00:00:00:00:00:00
    Dump(Tx):
    0000:01 00 FE 08 04 00 00 00 00 00 00 00             ............
    --------------------------------------------------------------------
    [4] : <Rx> - 09:31:59.262
    -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                      .........
    --------------------------------------------------------------------
    [5] : <Rx> - 09:31:59.278
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (SUCCESS)
     DevAddr        : F0:F8:F2:2C:87:C6
     DataPktLen     : 0x00FF (255)
     NumDataPkts    : 0x05 (5)
     IRK            : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
     CSRK           : C4:41:10:A4:2B:F8:F7:5F:62:DB:1F:29:B9:A4:26:C1
    Dump(Rx):
    0000:04 FF 2C 00 06 00 C6 87 2C F2 F8 F0 FF 00 05 00 ..,.....,.......
    0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 ................
    0020:41 10 A4 2B F8 F7 5F 62 DB 1F 29 B9 A4 26 C1    A..+.._b..)..&.
    --------------------------------------------------------------------
    [6] : <Tx> - 09:32:06.907
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE3E (GapAdv_create)
    -Data Length    : 0x15 (21) byte(s)
     Properties     : 0x0013 (19) (
                      GAP_ADV_PROP_CONNECTABLE
                      GAP_ADV_PROP_SCANNABLE
                      GAP_ADV_PROP_LEGACY)
     IntervalMin    : 0x0000A0 (160)
     IntervalMax    : 0x0000A0 (160)
     PrimaryChMap   : 0x07 (7) (
                      GAP_ADV_CHAN_37
                      GAP_ADV_CHAN_38
                      GAP_ADV_CHAN_39)
     PeerAddrType   : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID)
     PeerAddress    : 00:00:00:00:00:00
     FilterPolicy   : 0x00 (0) (
                      AdvFilterPolicy Bit Mask Is Not Set)
     TxPower        : 0x7F (127)
     PrimaryPHY     : 0x01 (1) (GAP_ADV_PRIM_PHY_1_MBPS)
     SecondaryPHY   : 0x01 (1) (GAP_ADV_SEC_PHY_1_MBPS)
     SID            : 0x00 (0)
    Dump(Tx):
    0000:01 3E FE 15 13 00 A0 00 00 A0 00 00 07 00 00 00 .>..............
    0010:00 00 00 00 00 7F 01 01 00                      .........
    --------------------------------------------------------------------
    [7] : <Rx> - 09:32:06.963
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x07 (7) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (SUCCESS)
     OpCode         : 0xFE3E (GapAdv_create)
     DataLength     : 0x01 (1)
     Handle         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 07 7F 06 00 3E FE 01 00                   ......>...
    --------------------------------------------------------------------
    [8] : <Tx> - 09:32:09.838
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE3F (GapAdv_enable)
    -Data Length    : 0x04 (4) byte(s)
     Handle         : 0x00 (0)
     EnableOptions  : 0x00 (0) (GAP_ADV_ENABLE_OPTIONS_USE_MAX)
     DurationMaxEvnt: 0x0000 (0)
    Dump(Tx):
    0000:01 3F FE 04 00 00 00 00                         .?......
    --------------------------------------------------------------------
    [9] : <Rx> - 09:32:09.880
    -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         : 0xFE3F (GapAdv_enable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 3F FE 00                      ......?..
    --------------------------------------------------------------------
    [10] : <Rx> - 09:32:16.682
    -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        : F0:F8:F2:2C:87:4A
     ConnHandle     : 0x0000 (0)
     ConnRole       : 0x04 (4) (
                      Peripheral)
     ConnInterval   : 0x0050 (80)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x07D0 (2000)
     ClockAccuracy  : 0x05 (5)
    Dump(Rx):
    0000:04 FF 14 05 06 00 00 4A 87 2C F2 F8 F0 00 00 04 .......J.,......
    0010:50 00 00 00 D0 07 05                            P......
    --------------------------------------------------------------------
    [11] : <Tx> - 09:32:16.689
    -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.
    --------------------------------------------------------------------
    [12] : <Info> - 09:32:16.771
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (ADDRTYPE_PUBLIC)
    BDAddr = F0:F8:F2:2C:87:4A
    --------------------------------------------------------------------
    [13] : <Rx> - 09:32:16.759
    -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                      ...." ...
    --------------------------------------------------------------------
    [14] : <Rx> - 09:32:16.884
    -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
                      Peripheral_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......
    --------------------------------------------------------------------
    

    Central (GATT Client/SM Initiater) with enabled GAP_BOND_MGR:

    [1] : <Tx> - 09:31:34.048
    -Type           : 0x01 (Command)
    -OpCode         : 0xFC1D (HCIExt_ResetSystemCmd)
    -Data Length    : 0x01 (1) byte(s)
     Type           : 0x00 (0) (Chip Reset)
    Dump(Tx):
    0000:01 1D FC 01 00                                  .....
    --------------------------------------------------------------------
    [2] : <Rx> - 09:31:34.092
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x05 (5) bytes(s)
     Event          : 0x041D (1053) (HCIExt_ResetSystemCmdDone)
     Status         : 0x00 (0) (SUCCESS)
     CmdOpCode      : 0xFC1D (HCIExt_ResetSystemCmd)
    Dump(Rx):
    0000:04 FF 05 1D 04 00 1D FC                         ........
    --------------------------------------------------------------------
    [3] : <Tx> - 09:31:41.403
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x08 (8) byte(s)
     ProfileRole    : 0x08 (8) (
                      Central)
     AddrMode       : 0x00 (0) (ADDRMODE_PUBLIC)
     RandomAddr     : 00:00:00:00:00:00
    Dump(Tx):
    0000:01 00 FE 08 08 00 00 00 00 00 00 00             ............
    --------------------------------------------------------------------
    [4] : <Rx> - 09:31:41.437
    -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                      .........
    --------------------------------------------------------------------
    [5] : <Rx> - 09:31:41.452
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (SUCCESS)
     DevAddr        : F0:F8:F2:2C:87:4A
     DataPktLen     : 0x00FF (255)
     NumDataPkts    : 0x05 (5)
     IRK            : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
     CSRK           : DE:28:03:54:92:AC:FC:6A:2A:3B:82:FE:DA:7C:90:FF
    Dump(Rx):
    0000:04 FF 2C 00 06 00 4A 87 2C F2 F8 F0 FF 00 05 00 ..,...J.,.......
    0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DE ................
    0020:28 03 54 92 AC FC 6A 2A 3B 82 FE DA 7C 90 FF    (.T...j*;...|..
    --------------------------------------------------------------------
    [6] : <Tx> - 09:32:16.562
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE62 (GapInit_connect)
    -Data Length    : 0x0A (10) byte(s)
     PeerAddrType   : 0x00 (0) (PEER_ADDRTYPE_PUBLIC_OR_PUBLIC_ID)
     PeerAddr       : F0:F8:F2:2C:87:C6
     InitiatingPhy  : 0x01 (1) (
                      INIT_PHY_1M)
     Timeout        : 0x0000 (0)
    Dump(Tx):
    0000:01 62 FE 0A 00 C6 87 2C F2 F8 F0 01 00 00       .b.....,......
    --------------------------------------------------------------------
    [7] : <Rx> - 09:32:16.604
    -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..
    --------------------------------------------------------------------
    [8] : <Rx> - 09:32:16.682
    -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        : F0:F8:F2:2C:87:C6
     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 C6 87 2C F2 F8 F0 00 00 08 .........,......
    0010:50 00 00 00 D0 07 00                            P......
    --------------------------------------------------------------------
    [9] : <Tx> - 09:32:16.687
    -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.
    --------------------------------------------------------------------
    [10] : <Info> - 09:32:16.771
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (ADDRTYPE_PUBLIC)
    BDAddr = F0:F8:F2:2C:87:C6
    --------------------------------------------------------------------
    [11] : <Rx> - 09:32:16.759
    -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                      ...." ...
    --------------------------------------------------------------------
    [12] : <Rx> - 09:32:16.884
    -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
                      Peripheral_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......
    --------------------------------------------------------------------
    [13] : <Tx> - 09:32:34.464
    -Type           : 0x09 (ExtCommand)
    -OpCode         : 0xFE48 (GAPBondMgr_Pair)
    -Data Length    : 0x0200 (512) byte(s)
     ConnHandle     : 0x0000 (0)
    Dump(Tx):
    0000:09 48 FE 02 00 00 00                            .H.....
    --------------------------------------------------------------------
    [14] : <Rx> - 09:32:34.508
    -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         : 0xFE48 (GAPBondMgr_Pair)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 48 FE 00                      ......H..
    --------------------------------------------------------------------
    

    Best Regards,

    Okazaki

  • Hello Okazaki, 

    Thanks again for the details you have provided. 

    For sanity, can you confirm that, when modifying the file "build_config.opt", the symbol GATT_DB_OFF_CHIP is not defined?

    Best regards, 

  • Hello Clément-san,

    Current  "build_config.opt", is below.

    -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG
    -DHCI_TL_FULL
    -DICALL_LITE_12_PARAMS
    -DNPI_UART_BR=230400
    -DGAP_BOND_MGR_TMP

    Best regards, 

    Okazaki

  • Hello.

    When CCCD is reception, it can not allocate momory. 

    Please find image below.  Source cod is near with original host_test.

    Because the below procecing is executed,  GATT_ClientCharCfgUpdated event is not sent.

    heap size is 10280 by AUTOHEAPSIZE because it is set  HEAPMGR_SIZE=0x0.

    heap free size is less than HEAPMGR_FREE_SAFE_LIMIT (550). Why? 

     

    Best regards, 

    Okazaki

  • Hi Okazaki, 

    This is a good catch, thank you for noticing. 

    I believe we should get you to verify the actual heap available. When you hit the breakpoint shown in the screenshot, could you please open the ROV and check the remaining heap? The debugging guide provide some guidance to do the same: https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/7.40.00.77/exports/docs/ble5stack/ble_user_guide/html/ble-stack-5.x-guide/debugging-index.html#runtime-object-view-rov 

    After this - assuming you actually get a heap shortage - we will have to work in order to find RAM savings, possibly by reducing the stack of certain tasks (options can be identified using the ROV and looking in the "task" view the task-peak usage).

    Best regards, 

  • Hi

    I did tell you reproceure to reproduce requirment for this issue.

    When GAP_BOND_MGR is enabled, can your evaluate equipment send GATT_ClientCharCfgUpdated?

    Best regards, 

    Okazaki

  • Hi, 

    I am not sure I have understood your message, please let me know if the steps suggested are not clear. 

    Best regards, 

  • Hi

    Do you have LP-CC2651R3SIPA?

    If you have it, please try actually same procedure for this issue.

    Best regards,

    Okazaki

  • Hi, 

    A memory allocation seems to be failing in your example, and I suggested to further look into it. 

    I believe we should get you to verify the actual heap available. When you hit the breakpoint shown in the screenshot, could you please open the ROV and check the remaining heap? The debugging guide provide some guidance to do the same: https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/7.40.00.77/exports/docs/ble5stack/ble_user_guide/html/ble-stack-5.x-guide/debugging-index.html#runtime-object-view-rov 

    After this - assuming you actually get a heap shortage - we will have to work in order to find RAM savings, possibly by reducing the stack of certain tasks (options can be identified using the ROV and looking in the "task" view the task-peak usage).

    Please let me know your progress. 

    I hope this will help,

    Best regards,