【问题标题】:Use Find Me Profile in Android 4.3在 Android 4.3 中使用 Find Me Profile
【发布时间】:2013-11-22 14:09:53
【问题描述】:

我试图了解和修改 Android.com 上的 BLE 示例,现在我可以发现我的示例 BLE 设备 (HTC Fetch),现在我想了解 GATT 和 BLE 的所有内容。

什么是特征,什么是配置文件,什么是服务,它们在低功耗蓝牙世界中的含义是什么?我使用 HTC Dev 并找到了一个 Service 和一个 Characteristic UUID。

https://www.htcdev.com/devcenter/opensense-sdk/bluetooth-smart/htc-fetch/

但我想我需要的是 Find Me Profile,因为在第一步中我只想让 Find Me 对按钮点击做出反应。

https://developer.bluetooth.org/gatt/profiles/Pages/ProfileViewer.aspx?u=org.bluetooth.profile.find_me.xml

如何在我的应用中实现这一点?

当我了解所有内容后,我会尝试 Power 和 Proximity(读取 RSSI 并与定义的范围进行比较)。

谁能帮我理解蓝牙 LE?

【问题讨论】:

    标签: android bluetooth profile


    【解决方案1】:

    这是一个相关的帖子

    How to use the profile of PROXIMITY PROFILE,IMMEDIATE ALERT SERVICE and Find Me Profile in android 4.3 BLE?

    基本上,您可以使用 tx+power - rssi 或大致距离 d = (rssi-A)/-20(其中 A = rssi 在一米处)或简单地使用 rssi 映射范围来显示您也可以最初仅基于连接范围并跳过 rssi。

    对于 FindMe,只需编写低或高警报值,以便在您按下应用程序中的按钮时发出声音。要按下设备上的按钮,请使用文档中显示的 UUID。

    该设备的示例代码即将发布

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-05-24
      • 2013-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-15
      • 1970-01-01
      相关资源
      最近更新 更多