Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//bytes array will be something like 0201061aff4c000215a33c91
//we need symbols on "4c00" position
//for black Stick'n'find beacons:
beaconManager.getBeaconParsers().add(new BeaconParser()
.setBeaconLayout("m:2-3=4c00,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25"));
//for white beacons
beaconManager.getBeaconParsers().add(new BeaconParser()
.setBeaconLayout("m:2-3=0418,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25"));
/*
//for Kontakt.io beacons
beaconManager.getBeaconParsers().add(new BeaconParser()
.setBeaconLayout("m:2-3=????,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25"));
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.