Open parthrparekh93 opened 8 years ago
Use the "serviceDataMask" filter for the bits you're interested in:
https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder.html#setServiceData(android.os.ParcelUuid, byte[], byte[])
Hello, thanks for the answer but I forgot to mention that I am developing an IOS application.
We provide a filter "FEAA" for scanning only Eddystone beacons. I would like to know if it is possible to filter scans based on the first 2 bytes of the 10-byte namespace. For example if my Namespace is 0044ddaa2255663142ea and 004433ead1452653273. I would like to detect both of them as they begin with 0044.
How can I achieve this?