Last active
August 29, 2015 14:23
-
-
Save antonshkurenko/257d3bd06af0f7b1543b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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