Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Documentation #11

Open
BernhardSchlegel opened this issue Oct 21, 2020 · 3 comments
Open

API Documentation #11

BernhardSchlegel opened this issue Oct 21, 2020 · 3 comments

Comments

@BernhardSchlegel
Copy link

Hi Chad,

super cool project ! Where did you find the Bluetooth API spec for the trainers? Took your software for a spin yesterday 👯

Best,
Bernhard.

@chadj
Copy link
Owner

chadj commented Oct 21, 2020

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

@BernhardSchlegel
Copy link
Author

Thanks so much :) Is it possible, that they just deleted the UI and that this is the underlying document? For future use: also atttached.

org.bluetooth.characteristic.csc_measurement.xml.txt

@chadj
Copy link
Owner

chadj commented Oct 22, 2020

Yeah, I do believe that is the case. The old docs were just much easier to consume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants