【问题标题】:How to start ranging without UUID using estimote beacon android?如何使用 estimote beacon android 在没有 UUID 的情况下开始测距?
【发布时间】:2015-01-06 16:16:24
【问题描述】:

我正在这个应用程序中的信标上制作一个 android 应用程序,我想找到 estimote 信标。所以我想知道如何在没有 uuid 的情况下开始测距信标以及如何搜索 estimote 信标。我想找到 Estimote 的 uuid。如果有人知道,请帮我解决这个问题。

【问题讨论】:

    标签: android uuid estimote android-ibeacon


    【解决方案1】:

    除非更改,否则所有 Estimote 信标共享相同的邻近 UUID。如果您使用Estimote Android SDK,则默认邻近UUID 声明在com.estimote.sdk.utils.EstimoteBeacons.ESTIMOTE_PROXIMITY_UUID (B9407F30-F5F8-466E-AFF9-25556B57FE6D) 中。

    使用 Estimote Android SDK,您可以在不知道邻近 UUID 的情况下开始测距。请参阅Demos from SDK(尤其是ListBeaconsActivity)并注意您可以按如下方式声明区域:

    private static final Region ALL_ESTIMOTE_BEACONS_REGION = new Region("rid", null, null, null);
    

    【讨论】:

    • 我想知道一件事,如何计算用户和信标之间的距离?
    • 查看 Estimote SDK 中的 Utils#computeAccuracy:estimote.github.io/Android-SDK/JavaDocs/com/estimote/sdk/…
    • 我有 3 个估计信标,我想在 arraylist 中添加这些信标,但是当我开始对其重复所有 3 个信标并将它们添加到 arraylist 中时,我想在后台进行测距。跨度>
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-08
    • 1970-01-01
    • 2018-09-03
    • 1970-01-01
    • 1970-01-01
    • 2019-08-23
    • 1970-01-01
    相关资源
    最近更新 更多