的AprilBeacons Altbeacon库的Andr​​oid布局解析器 [英] Android layout parser of AprilBeacons Altbeacon library

查看:207
本文介绍了的AprilBeacons Altbeacon库的Andr​​oid布局解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道什么是AprilBeacons的解析器。
我已搜索有关这一点,但他们都使用SDK库中,我们使用Altbeacons库,因为我们使用Estimote和四月信标。

I want to know what is the parser of AprilBeacons . Already i searched information about this but they all use the SDK libraries, we are using Altbeacons libraries because we use Estimote and April Beacons.

这解析器是Estimote

This parser is for Estimote

mBeaconManager.getBeaconParsers()增加(新BeaconParser()setBeaconLayout(M:2-3 = 0215,I:4-19,I:20-21,I:22-23页:24-24 ));

mBeaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24"));

我们需要四月信标布局。

We need the layout for April Beacons.

表示support's答案是:

The the support´s answer was:

AprilBeacon的广告数据有31个字节不是30个字节。它可以通过iOS的API iBeacon显示被解析。制造数据的长度是0x1B不0x1A的。您可以打印的原始数据对发现的差异。

感谢您

推荐答案

AprilBeacons的解析器一样汇入作业:

The parser of AprilBeacons it´s same:

mBeaconManager.getBeaconParsers()。增加(新
  。BeaconParser()setBeaconLayout(M:2-3 = 0215,I:4-19,I:20-21,I:22-23页:24-24));

mBeaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24"));

这篇关于的AprilBeacons Altbeacon库的Andr​​oid布局解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆