How to check BLE GAP flags?

1 week ago 9
ARTICLE AD BOX

Is there a way to check the device's BLE GAP flags while scanning BLE devices with CoreBluetooth?
We need to check the bytes inside so we can filter out devices in pairing (limited discoverable) mode, as their bytes are set to be different than when it is just advertising in non-pairing mode.

I was checking the advertisementData in the method below but nothing indicates that it is about these flags:

func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber) { }
Read Entire Article