Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11751

Gatt Notifications cannot be received on Central after erasing all bonds.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Prioritized Not Prioritized
    • SimpleLink Lowpower SDK F3 BLE5 Stack
    • BLE_LOKI-1443
    • BLE Stack BLE5-3.3.1
    • BLE Stack BLE5-3.3.1
    • CC23xx

      Description of issue: When notifications are send from the peripheral to the central, the central is not receiving any ATT_HANDLE_VALUE_NOTI event from the stack at the GATT_EventHandler (inside app_data.c). This works fine before bond erasing. After erasing the bond, notifications will not properly work, even after boards are reset.

      Configuration (only modifications done to the out-of-box example):

      1. Peripheral (basic_ble): Bond Manager - Paring mode: wait for paring request.
      2. Central (basic_ble_GATT_client ): Bond Manager - Paring mode: initiate a paring request.
      3. Central (basic_ble_GATT_client ): app_menu.c include //Erase Bond information GAPBondMgr_SetParameter(GAPBOND_ERASE_ALLBONDS, 0, NULL); inside Menu_disconnectCB().

      note: issue also reproduces when peripheral initiate paring request and central waits for it.

      Steps to reproduce:

      • Central (executing basic_ble_GATT_client) connects to Peripheral (running basic_ble).
      • Both devices pair and bond (Pairing Status: Bond saved).
      • Central enables and receives notifications.
      • Central disconnects from peripheral and erase ALL bonds through GAPBondMgr_SetParameter(GAPBOND_ERASE_ALLBONDS, 0, NULL).
      • Central connects to Peripheral.
      • Both devices pair and bond (Pairing Status: Bond saved).
      • Central enables notifications
      • Pairing Status: Bond saved changes to Pairing Status: Encrypted on central and peripheral.
      • Central can send data through GATT_Write to peripheral characteristic 3, which will echo the same data through the characteristic 4 as a notification.
      • Peripheral sends notification to Central.
      • Central does not receive notification (nor ATT_HANDLE_VALUE_NOTI event)

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: