1

working on a bluetooth implementation and am using didDiscoverPeripheral to populate a list. But, if the device is turned off or is moved away want to be able to remove the device from my list. Anyone know of a delegate or way to track items no longer valid?

Thanks in advance!

Andrew Madsen
  • 21,309
  • 5
  • 56
  • 97
Rob Bonner
  • 9,276
  • 8
  • 35
  • 55
  • 2
    There is no in-built functionality. You can build it yourself by using the allow duplicates key and keeping a time stamp with each discovered peripheral. Fire a timer periodically and look for "old" peripheral's and remove them from the list. – Paulw11 Mar 16 '16 at 19:04

0 Answers0