【问题标题】:Finding the custom GATT services and characteristics of Movesense sensors查找 Movesense 传感器的自定义 GATT 服务和特性
【发布时间】:2019-07-19 09:46:41
【问题描述】:

我正在为我的项目使用movesense-device-lib/samples/bin/release/Movesense-custom_gattsvc_app_w_bootloader.zip 中的自定义 gatt 包。由于 mac 编译器存在错误,我无法创建自己的包。

我真的需要UUIDs 为ECG 提供服务和特性(事实上,如果我能获得软件包中其他功能的services/characteristics 也很棒)

有一些链接可以提供某些特性和服务的 uuid,例如:

GATT Services

GATT Characteristics

不幸的是,由于 movesense 包是定制的,它使用不同的 UUID。我尝试通过在我的客户端上编写一个函数来回溯它们,该函数提取服务和特征的数组列表,但没有运气:(

【问题讨论】:

  • 从 App Store 安装 nRF Connect 应用程序(由 Nordic Semiconductor 提供)。它将允许检查任何 BLE 设备,包括。服务和特点。

标签: bluetooth bluetooth-lowenergy gatt movesense


【解决方案1】:

custom_gattsvc_app 是一个示例应用程序,展示了如何使用 Movesense CustomGATTService 来实现您自己(或其他人)的 GATT 服务。该示例显示了如何通过实施(部分)“医用温度计”GATT 服务来做到这一点,仅此而已。

要通过 BLE 访问所有 Movesense API,您需要使用 movesense-mobile-lib 或通过您自己的 GATT 服务实现您自己的协议。我不知道任何第 3 方 ECG GATT 服务规范。

movesense-device-lib 2.0 版将包含一个示例,该示例提供对大多数 Movesense API 服务的访问,并通过简单的 GATT 协议轻松扩展。

全面披露:我在 Movesense 团队工作

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多