I am trying to parse Estimote Nearable packet format using Altbeacon:
I have the reference for IBeacon:
// Apple iBeacon
beaconManager.getBeaconParsers().add(new BeaconParser()
.setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24"));
And here is a sample of hex with I captured with my hci dump tool:
04 3E 2A 02 01 03 01 47 CC 3B D4 23 DF 1E 02 01 04 1A FF 4C
00 02 15 D0 D3 FA 86 CA 76 45 EC 9B D9 6A F4 49 78 49 E0 E7
74 4D 13 BF BD
You can clearly see the 02 15 bytes that matches that beacon format;
Now I am trying to match the Estimote Nearable:
The packet format:
04 3E 2B 02 01 03 01 47 50 19 A9 6E DF 1F 02 01 04 03 03 0F
18 17 FF 5D 01 01 49 78 49 E0 E7 74 4D 13 04 01 90 61 AF FF
01 41 46 00 57 B9
But I am not able to get anything using this code:
beaconManager.getBeaconParsers().add(new BeaconParser()
.setBeaconLayout("s:4-5=5d01,m:6-6=01,i:7-15,p:25-25,d:15-26"));
I used this resource to understand the packet format: https://github.com/sandeepmistry/node-bleacon/blob/master/estimote-sticker/estimote-sticker.js#L53
Can somebody point out what is wrong with my Beacon Lahyout?