Part Number: CC2642R
Dear All
Working on a multi role app with On chip OAD, not using OAD secure.
I'm using the latest SDK and CCS.
I use the default OAD persistent app that was provided by TI, no change on this source code.
My app use Pairing / bonding, and Public address.
When I do not pair my peripheral to iPhone, I can successfully use OAD to upgrade, then restart to my app, then re-use OAD upgrade and so on.
When my device is previously paired/bonded to the iPhone, I can start OAD, but once the OAD is finished and return to my app, I can no longer connect the device to my iPhone unless I remove the device from the paired devices in the iPhone settings.
The error code in iOS is "Peer removed pairing information" when the central (iOS) tries to connect to my device
To make it working again, I have to manually remove the device from the iOS bluetooth settings.
So it seems the OAD erases the bonds in my app, and thus it is no longer able to connect to iOS unless the pairing / bonding is triggered again.
Is that true that the OAD erase bonds stored in NVM ?
Is there a way to avoid this ?
Thanks