如何阅读Android BLE的血压测量特征?

时间:2015-01-12 12:18:50

标签: android bluetooth-lowenergy android-bluetooth characteristics

我正试图从血压测量中获取数据characteristic。 如何从中获取数据,例如Pulse Rate? 不管怎样,谢谢。

1 个答案:

答案 0 :(得分:0)

为了从特征中解析值,您可以将特征值作为字节数组获取。数组中的每个字节对应一个不同的值。

我的设备返回了以mmHg为单位的血压值,我发现收缩压值为1,舒张压值为3,心律为14。将这些值转换为整数后,我可以可以看到与血压计显示的值相同的值。