Hey Hank,
I believe this is the problem.
CoreBluetooth only discovers a device once and then caches the data to save energy. In order to keep getting the updated data you would need to do one of two things.
- Connect to the device and then ask for an update of the advertising data. It seems this is what you are avoiding.
- Stop stop and restart your scan. (perhaps on a time delay? I have never stopped and restarted a scan right after each other. But I can confirm that restarting the scan will make the device discoverable again).
Dave
The peripheral is saved. the issue is that when the advertisement data is changed on the device, the ios app could not get the updated value. It seems the ios cached the advertisementdata.
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|