This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Attributes handles changed after update from CC2640R2F SDK 2.20 to 3.30 (BLE5)

Part Number: CC2640R2F
Other Parts Discussed in Thread: BLE-STACK

We are in the process of updating our products from SDK version v2.20 to v3.30  (both ble5 stack variants).

After update to new stack handles values are different, due to changes in the attribute table. This seems to be related to removal of the "Peripheral Privacy Flag" in the Generic access service.

As I undertand privacy flag has been obsolete since BLE 4.1 so this seems to be a reasonable change.

The problem now is that when I update my devices, then already paired phones that has cached the attribute table, now refer to wrong handles when reconnecting.

This requires users to  switched on/off  Bluettooth on their phones to clear the attribute cache (at least this is the case for IOS devices)

The correct way to handle this seem to be with Generic Attribute Service/Service Changed indication characteristic.  This is not default included, and  as mentioned in other post this requires approx 5 KB additional code space when enabled( requires enabling L2CAP_COC_CFG)

This is not an option since we already are on the limit with codespace in our application.

The question now is whether it is possbible to add some kind of dummy attribute to the Generic access service, or any other way move the handles back to their original values?

Best regards 

Anders