gpedal
gpedal copied to clipboard
API Documentation
Hi Chad,
super cool project ! Where did you find the Bluetooth API spec for the trainers? Took your software for a spin yesterday :dancers:
Best, Bernhard.
I remember starting here with the web Bluetooth API's
https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web
And unfortunately, the docs I used to make sense of reading data from the bike sensors directly are no longer online. They used to live here:
https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.cycling_power_measurement.xml
I'm not sure if those docs exist anywhere anymore.
Here's my code for handling the cycling characteristics which might help:
https://github.com/chadj/gpedal/blob/master/src/Meter.js
Thanks so much :) Is it possible, that they just deleted the UI and that this is the underlying document? For future use: also atttached.
Yeah, I do believe that is the case. The old docs were just much easier to consume.