final ParcelUuid UID_SERVICE =
ParcelUuid.fromString("0000feaa-0000-1000-8000-00805f9b34fb");
// Namespace id for Devfest Eddystone beacons (devfest.gdgnantes.com / c05eeb31e9f60d46e89e)
private static final byte[] NAMESPACE_FILTER = {
0x00, //Frame type = UID
0x00, //TX power, we don't care the value for filter
(byte)0xc0, (byte)0x5e, (byte)0xeb, (byte)0x31, (byte)0xe9,
(byte)0xf6, (byte)0x0d, (byte)0x46, (byte)0xe8, (byte)0x9e,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
// Force frame type and namespace id to match
private static final byte[] NAMESPACE_FILTER_MASK = {
(byte)0xFF,
0x00,
(byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF,
(byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};