AltBeacon / spec

AltBeacon Technical Specification
http://altbeacon.org
208 stars 34 forks source link

parse data #4

Closed scrashito666 closed 10 years ago

scrashito666 commented 10 years ago

i have in my logcat :

08-05 17:21:45.171: D/BeaconParser(15973): This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201061aff4c000215da56717d0e334712b3ede61802d24b18256e0c4fb604086e39361106a6da37dec19afc80944ad8a80262c2be020a00000000000000

How i can parse this data, with the class that you provides:

BeaconManager.getBeaconParsers().add(new BeaconParser() .setBeaconLayout("m:2-3:beac,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25"));

i dont understand.

Please help.

Cheers!!

davidgyoung commented 10 years ago

If you wish to use the library to parse proprietary beacon advertisements (e.g. ones that do not meet the AltBeacon standard), try doing a google search for "getBeaconParsers" (include the quotes in the search) to see how other folks have done this for various beacon types.