Details
-
Bug
-
Status: Fixed
-
High
-
Resolution: Fixed
-
SimpleLink CC13x2-26x2 SDK BLE5 Stack
-
BLE_AGAMA-2068
-
BLE Stack BLE5-2.0.4
-
Description
Installer: simplelink_cc13x2_26x2_sdk_3_20_00_68
Peer device: Motorola Moto G 6. (Customer has also reproduced with Samsung Note 9 ).
Problem description:
The CC2652R runs a project based on multi role. Every 1 second the program checks whether the connection is active based on the return status of linkDB_State() with the connection handle and LINK_CONNECTED. The customer discovered that in certain cases linkDB_State(pClient->connHandle, LINK_CONNECTED) returns TRUE, but no GAP_LINK_ESTABLISHED_EVENT has been received in the application. This check is performed 5 seconds after the last connection event, so there is no reason why linkDB should think the connection is still active.
Using a sniffer I can see the motorola phone send a connection request packet (frame 21,904) and several connection events, but the CC26x2 does not respond. (See attached sniffer log.)
We have only been able to reproduce this situation with a couple of phones acting as the BLE master. The bug can appear on the first connection or after a short while (usually under 5 minutes) of connecting and disconnecting. The following phones were used:
- Motorola Moto G 6
- Samsung Note 9