1
0
Fork 0
BangleApps/apps/cycling
Joseph Paul 14aca8db0f Cycling: Re-enable widgets; optimise font sizes 2022-03-20 10:51:59 +01:00
..
ChangeLog Cycling: Initial commit 2022-03-20 09:56:12 +01:00
README.md Cycling: Initial commit 2022-03-20 09:56:12 +01:00
blecsc-emu.js Cycling: Initial commit 2022-03-20 09:56:12 +01:00
blecsc.js Cycling: Initial commit 2022-03-20 09:56:12 +01:00
cycling.app.js Cycling: Re-enable widgets; optimise font sizes 2022-03-20 10:51:59 +01:00
icons8-cycling-48.png Cycling: Initial commit 2022-03-20 09:56:12 +01:00
metadata.json Cycling: Initial commit 2022-03-20 09:56:12 +01:00
settings.js Cycling: Initial commit 2022-03-20 09:56:12 +01:00

README.md

Cycling

Displays data from a BLE Cycling Speed and Cadence sensor.

Fork of the CSCSensor app using the layout library and separate module for CSC functionality

The following data are displayed:

  • curent speed
  • moving time
  • average speed
  • maximum speed
  • trip distance
  • total distance

Total distance is not stored on the Bangle, but instead is calculated from the CWR (cumulative wheel revolutions) reported by the sensor. This metric is, according to the BLE spec, a absolute value that persists throughout the lifetime of the sensor and never rolls over.

Cadence / Crank features are currently not implemented

TODO

  • Settings: imperial/metric
  • Store circumference per device address
  • Sensor battery status
  • Implement crank events / show cadence
  • Bangle.js 1 compatibility

Development

There is a "mock" version of the blecsc module, which can be used to test features in the emulator. Check blecsc-emu.js for usage.