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

linkDB_NumActive() function return is increased even for unsuccessful connections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-2170
    • BLE Stack BLE5-2.1.2
    • BLE Stack BLE5-2.1.3
    • CC26X2R1

      Installer: simplelink_cc2640r2_sdk_3_10_00_15

      Problem description: 
      Every time a GAP_LINK_ESTABLISHED_EVENT is received by the application, it seems like linkDB_NumActive() is increased. Even if the event is received with error status. 

      Steps to reproduce:
      1) Load peripheral application such as Project Zero.
      2) In order to get a failed GAP_LINK_ESTABLISHED_EVENT, send a CONN_IND packet with invalid connection parameters
      3) When the PZ application receives the GAP_LINK_ESTABLISHED_EVENT, notice the status is bleGAPConnNotAcceptable (0x31)
      4) However, Project Zero will stop advertising because the linkDB_NumActive() is equal to MAX_NUM_BLE_CONNS

      Expected: linkDB_NumActive() does not increase since the connection is not successful.

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

              Created:
              Updated:
              Resolved: