【问题标题】:How can I retrieve my Bluetooth device UUID over BLE?如何通过 BLE 检索我的蓝牙设备 UUID?
【发布时间】:2020-02-29 04:27:52
【问题描述】:

这可能是一个非常基本的问题。我们的设备有一个新的蓝牙模块。

从绑定设备列表中检索我的设备后,我无法再找到 UUID。但是,我可以找到设备并检索其 MAC 地址,我知道该地址通常用于通过 BLE 进行连接。

旧模块:

https://www.microchip.com/wwwproducts/en/BM78#additional-features

新模块:

https://www.microchip.com/wwwproducts/en/bm70#additional-features

这仅仅是因为我的新模块不支持通过 SPP 进行通信吗?

我的应用是使用 Android 蓝牙经典库编写的。

这是否意味着我需要为 BLE 重写我的应用的蓝牙通信部分?

【问题讨论】:

  • 如有疑问,请查看每个产品的数据表,但我相信您的理解是正确的。硬件数据表将列出硬件规格/协议以及功能/限制。请参阅您提供的链接中的文档选项卡。

标签: android bluetooth bluetooth-lowenergy core-bluetooth android-bluetooth


【解决方案1】:

是的,您需要重写您的应用来处理 BLE,只需 follow this guide。 您可以使用BLE-Scanner app 来调试 BLE 并查看正在使用的数据。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-04-10
    • 1970-01-01
    • 2014-02-04
    • 2011-06-24
    • 1970-01-01
    相关资源
    最近更新 更多