Re: Detecting when a peripheral stops advertising
Re: Detecting when a peripheral stops advertising
- Subject: Re: Detecting when a peripheral stops advertising
- From: William Henderson <email@hidden>
- Date: Tue, 16 Jul 2013 17:00:11 -0700
You can keep the CBPeripheral's you've seen around in some form and then compare UDID's to see if you need to query the device further. That said, the rotating UDID's business adds some complexity here. To get around this in my app, I connect to every peripheral I see and ask for what amounts to a static app-specific UDID. I use this to know whether it's truly a new device or just an existing one that's changed CBUDID's.
--
William Henderson
Sent from my iPhone
On Tuesday, July 16, 2013 at 4:53 PM, Rick Mann wrote:
_______________________________________________
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