I am able to get a list of CBPeripheral
devices in following delegate method.
- (void)centralManager:(CBCentralManager *)central didDiscoverPeripheral:(CBPeripheral *)peripheral advertisementData:(NSDictionary<NSString *, id> *)advertisementData RSSI:(NSNumber *)RSSI {
...
}
Now, I am keeping reference to the connected CBPeripheral
by creating a strong property for it.
Later time, if I want to access the advertisementData
which I received in above delegate, can I get it again from the reference of peripheral
I kept previously.