Authentication Fails After Reprogramming because of old encryption key | Cypress Semiconductor
Authentication Fails After Reprogramming because of old encryption key
I am using unauthenticated pairing with encryption and bonding in server mode. When I connect an iOS device to the peripheral the first time everything is happy and the bonding works great. However, once I update the firmware on the peripheral, I cannot connect to the iOS device anymore unless I go into the iOS settings and forget the device (ie erase the saved encryption key). How do I recognize that the encryption key is not correct and request a new key to be shared? Or is there some other issue I am missing? Thanks!