Decemberlabs / AltBeacon

AltBeacon is an alternative to iBeacon that allows iOS devices to be advertised in the background, which is not currently possible with iBeacon.
MIT License
216 stars 30 forks source link

Non persistent peripheral UUID's #3

Open realsurfer opened 10 years ago

realsurfer commented 10 years ago

Hello,

If I have understood the inner workings of the code correctly they way to avoid reconnecting to a peripheral is to save the peripheral UUID in a dictionary and then check the dictionary every time you discover a device. From my testing of core bluetooth it seems that the peripheral UUID's are not very persistent and change every few minutes or so. This results in that we need to reconnect to the same peripheral every few minutes. Any ideas on how to handle this issue?

Thanks! Michael

marpal commented 10 years ago

Hi Michael, I did not see this problem but I will look into it.

Cheers

marpal commented 10 years ago

Hi Michael, Could not reproduce this issue.