android - 需要从脉搏血氧计读取 Spo2 和 PRbpm

标签 android ios cordova ionic-framework bluetooth-lowenergy

这是我找到的 JSON。服务 UUID 是:636F6D2E-6A69-7561-6E2E-504F56313100 特征 UUID 是:7274782E-6A69-7561-6E2E-504F56313100 用于从血氧计读取数据,我只有这两个东西,但我不知道我需要发送什么 Hex 来检索 SpO2 和 PRbpm。

{
  "name": "Pulse Oximeter",
  "id": "D0:5F:B8:3D:4D:25",
  "rssi": -65,
  "services": [
    "1800",
    "1801",
    "636f6d2e-6a69-7561-6e2e-504f56313100",
    "180a"
  ],
  "characteristics": [
    {
      "service": "1800",
      "characteristic": "2a00",
      "properties": [
        "Read",
        "WriteWithoutResponse",
        "Write"
      ]
    },
    {
      "service": "1800",
      "characteristic": "2a01",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "1800",
      "characteristic": "2a02",
      "properties": [
        "Read",
        "Write"
      ]
    },
    {
      "service": "1800",
      "characteristic": "2a03",
      "properties": [
        "Write"
      ]
    },
    {
      "service": "1800",
      "characteristic": "2a04",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "1801",
      "characteristic": "2a05",
      "properties": [
        "Indicate"
      ],
      "descriptors": [
        {
          "uuid": "2902"
        }
      ]
    },
    {
      "service": "636f6d2e-6a69-7561-6e2e-504f56313100",
      "characteristic": "7274782e-6a69-7561-6e2e-504f56313100",
      "properties": [
        "WriteWithoutResponse",
        "Write",
        "Notify"
      ],
      "descriptors": [
        {
          "uuid": "2902"
        },
        {
          "uuid": "2901"
        }
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a23",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a24",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a25",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a26",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a27",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a28",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a29",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a2a",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a50",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a30",
      "properties": [
        "Read"
      ]
    },
    {
      "service": "180a",
      "characteristic": "2a31",
      "properties": [
        "Read"
      ]
    }
  ]
}

最佳答案

ihealthlabs SDK 和文档可在此处获得 https://github.com/iHealthDeviceLabs/iHealthDeviceLabs-Android .并且还提供了免费的示例项目,您可以使用它从其文档中提供的支持列表中检索数据(SpO2 和 PRbpm)

关于android - 需要从脉搏血氧计读取 Spo2 和 PRbpm,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43315858/

相关文章:

android - SQLite插入 “Column are not unique”崩溃

ios - RESTKit - 如何始终替换所有缓存的对象而不是更新?

ios - 如何像 Spotify 的播放器一样创建一个居中的 UICollectionView

cordova - 如何监听 inAppBrowser 关闭事件

javascript - 在 Cordova 中按下键盘上的 'done' 按钮时调用函数

android - 如何禁用屏幕镜像?

android - Android中如何处理networkonmainthreadexception?

android - 听相机 Action

objective-c - 向未显示的 uiview 添加 subview

ios - UIWebView下滑后如何改变UIWebView背景颜色修复iOS7状态栏覆盖问题?