-
Bug
-
Resolution: Fixed
-
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.