小米手环 6 BLE - 如何访问 SPo2(血氧饱和度)
我是整个低功耗蓝牙世界的新手,我正在尝试制作一个监控应用程序,显示手环的心率、SPo2、角度和位置(运动)。我是在 Android Studio 和 Java 上做的。我已经能够使应用程序扫描蓝牙设备,并访问心率服务和特征。
但我在弄清楚如何在 Mi Band 6 上访问 SPo2 和运动(如果它们可读的话)上遇到了困难。
我正在使用基础 BluetoothLeGatt 项目,了解服务、特性和描述符如何工作,以及应用程序如何发送和接收数据以及如何处理数据更具可读性(字节到数字、字符串等)。但我无法找到我正在寻找的服务。
有没有办法要求进行 SPo2 测量?或者读取之前的测量结果?
提前致谢。
I'm new to this whole world of Bluetooth Low Energy, and I'm trying to make a monitoring app that shows Heart Rate, SPo2, angle and position (motion) from the band. I'm doing it on Android Studio and Java. I've been able to make the app scan for Bluetooth devices, and access the Heart Rate Service and Characteristic.
But I'm having a rought time figuring out how to access SPo2 and motion (if they're even readable) on the Mi Band 6.
I'm using the base BluetoothLeGatt project,to understand how services, characteristics and descriptors work, as well as how the data is sent and received by the app and how to process it to be more readable (bytes to numbers, strings, etc). But I can't manage to find this services I'm looking for.
Is there a way to ask for a SPo2 measurement? Or read previous measurement?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论