Other Parts Discussed in Thread: SYSCONFIG
Hi,
I have added the service changed indication support following this: https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/6.40.00.13/exports/docs/ble5stack/ble_user_guide/html/ble-stack-5.x/gapbondmngr-cc13xx_cc26xx.html?highlight=send%20service%20change%20indications#gapbondmgr-and-service-change-indication
However, currently face the problem that the service changed indication does not take effect if the smartphone was bonded before doing a OTA update. Here are the following steps for reference.
1. flash firmware (without service changed configured) via JTAG on the CC2651R3 and advertise
2. pair and bond with a smartphone
3. perform an OTA firmware update whereby the update image (includes change in GATT attribute table) has the service changed indication configured (essentially after every connection)
4. Try to connect using the already bonded smartphone and attempt to discover the new characteristics -------------> fails (expectation is that the service changed indication gets triggered while the connection is being established to refresh cache and later perform a service rediscovery)
Also, now if I delete the bond on the smartphone and perform a re-pair and re-bond, the service changed indication takes effect and the new characteristics are rediscovered.
What is the correlation between the service changed indication and the bonding mechanism?
PS: I also tried to trigger the GAPBondMgr_ServiceChangeInd() via serial command interface, however this also did not take effect after the OTA update.