0

If I already have a peripheral object, it doesn't seem there is any way to get the advertising data from it. I can only get the advising data from:

func centralManager(central: CBCentralManager, didDiscoverPeripheral peripheral: CBPeripheral, advertisementData: [String: AnyObject], RSSI: NSNumber)

Is there any way to get it from the peripheral object after it's been stored in a variable, long after the delegate call above?

TruMan1
  • 33,665
  • 59
  • 184
  • 335
  • No, because the advertisement is different to the peripheral. The advertisement is ephemeral. – Paulw11 Jun 08 '16 at 20:30
  • Note that some peripheral may stop completely to advertise when connected to another device. – Larme Jun 09 '16 at 12:46

0 Answers0