【发布时间】:2017-02-02 19:22:10
【问题描述】:
下午好。我正在开发一个 android 应用程序,我正在尝试将一个 estimote 信标与该应用程序集成。问题是我希望能够发现特定设备更改设备的 UUID、次要、主要。
要发现和确定我正在使用的信标:
beaconManager.startRanging(region);
beaconManager.setRangingListener(new BeaconManager.RangingListener() {
@Override
public void onBeaconsDiscovered(Region region, List<Beacon> list) {
if (!list.isEmpty()) {
for(Beacon b : list){
if (b.getMacAddress().equals(macaddress)){
%%Now that i have the Beacon b I would like to change it's UUID, major and minor.
}
}
}
}
});
有人可以帮助我吗?我知道为了更改 UUID,我需要连接到 estimote 云,但我不太明白如何(他们网站上的示例使用了已弃用的 BeaconConnection)。
【问题讨论】:
-
无法更改 iBeacon 的 UUID。
-
@AjayShrestha 是的,你可以估计