我一直在开发一个 react-native 的移动应用程序,该应用程序连接到任何 SmartWatch(fitbit/Samsung)或任何通过其服务和特性宣传心率的传感器。目前我拿着一个带有心率传感器的 Fitbit Versa Lite 智能手表。我能够连接到 Fitbit 并阅读它的所有服务和特征。但我找不到任何与心率服务或其特征相关的特定编号。我假设几乎所有的手表和宣传心率测量的 BLe 传感器都使用
服务
Heart Rate org.bluetooth.service.heart_rate 0x180D GSS
特征
Heart Rate Measurement org.bluetooth.characteristic.heart_rate_measurement 0x2A37 GSS.
我从以下链接获得了上述信息。
https://www.bluetooth.com/specifications/gatt/services/
https://www.bluetooth.com/specifications/gatt/characteristics/
FitBit 是否为其心率传感器服务和特性使用不同的分配编号。如果是,分配的编号是什么?