如何在单个区域添加多个信标?

How to add more than one beacon in a single region?

根据Estimote

There is almost no limit to how many beacons can be included in a single region (technically, it’s over 4 billion).

如何在一个区域添加多个beacon进行监控?

我们这样创建一个区域:

UUID ESTIMOTE_PROXIMITY_UUID = UUID.fromString("B9407F30-F5F8-4568-AFF9-25556B57FE6D");
Region ALL_ESTIMOTE_BEACONS = new Region("regionId", ESTIMOTE_PROXIMITY_UUID, null, null);

来自an Estimote community manager

If a region is defined by UUID or UUID + Major, then every beacons with this UUID (or UUID + Major) is included

这意味着如果我有两个具有相同 UUIDMajor 的信标并且如果我创建了 Region 那么所有信标都属于那个 区域 应该被发现。

示例:

UUID ESTIMOTE_PROXIMITY_UUID = UUID.fromString("B9407F30-F5F8-466E-AFF9-25556B57FE6D");
Region ALL_ESTIMOTE_BEACONS = new Region("regionId", major, null, null);