BLE 骑行速度和踏频服务 - 曲柄计时数据

BLE Cycling Speed and Cadence Service - Crank Timing Data

Bluetooth LE Cycling Speed and Cadence 传感器根据 Gatt 特性测量数据发送测量数据。对于曲柄节奏,这是:

我想了解 上次启动事件时间 是如何定义的。文档使它听起来像一个时间戳,但因为它是一个 1/1024 秒的 16 位整数,所以它会在大约 1 分钟后溢出。所以我怀疑它实际上是一个时间间隔。以下是时间尺度上的一系列事件。消息 B 发送 n+2 表示曲柄转数,但 B 的 上次曲柄事件时间 是多少?

Cycling Speed and Cadence Profile 文档的“4.4 CSC 测量”部分中说:

The Collector shall take into account that the Wheel Event Time and the Last Crank Event Time can roll over during a ride.

所以我的解读是它是一个时间戳,但是因为你只需要知道最后两个读数之间的差异,即使它溢出了,它仍然可以计算出来。

Cycling Speed and Cadence Service (CSCS) 文档中有更多信息指出:

The ‘crank event time’ is a free-running-count of 1/1024 second units and it represents the time when the crank revolution was detected by the crank rotation sensor. Since several crank events can occur between transmissions, only the Last Crank Event Time value is transmitted. This value is used in combination with the Cumulative Crank Revolutions value to enable the Client to calculate cadence.

The Last Crank Event Time value rolls over every 64 seconds.

收集器的节奏计算可以从两个连续测量的数据中得出。 Collector计算可以如下所示进行:

Cadence = (Difference in two successive Cumulative Crank Revolution values) / (Difference in two successive Last Crank Event Time values)