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

linkDB_NumActive() function return is increased even for unsuccessful connections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • SimpleLink CC2640R2 SDK BLE Stack
    • BLESTACK-5018
    • BLE Stack BLE5-1.1.5
    • BLE Stack BLE5-1.1.10
    • CC2640R2

      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: