Re: How to get the updated advertisementData (kCBAdvDataManufacturerData) value?
Re: How to get the updated advertisementData (kCBAdvDataManufacturerData) value?
- Subject: Re: How to get the updated advertisementData (kCBAdvDataManufacturerData) value?
- From: Zach Dennis <email@hidden>
- Date: Fri, 16 Jan 2015 10:20:07 -0500
iOS caching will be problematic for purely advertisement data changes. We have seen related issues as well where it will cache advertisement data based on the advertiser's address in the advertisement. We have a switch that causes a BLE device to act as different devices when toggled, but iOS caching causes an issue.
Our resolution so far is to have the user toggle wifi on and off which seems to force the iOS BLE cache to be cleared.
One thing to try if you own the firmware code on the BLE device is to change the advertiser address whenever you change advertising data, then iOS will think it sees a new device. But, that may defeat whatever it is you're trying to do. I'm assuming you're trying to avoid making the device connectable.