This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to clear iOS iBeacon cache?

I started developing a beacon app and used BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED advertising type.  I then changed the type to BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED on the same nRF device and my iOS app cannot receive ranging events from it anymore.  I think iOS is caching the initial advertisement and considers it an error when it receives a different advertisement type later on.  If I change the nRF BT address, then it works with the BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED advertisement.  It also works if I use a new nRF device.  I uninstalled my app and restarted the phone and it does not resolve the problem.  Is there some other way to clear all the beacon cached data on iOS?

Related