ant-plus
ant-plus copied to clipboard
Option to use WebUSB api
Feature request/ proposal
I am looking at getting this working with the WebUSB api which:
- Is available in Chrome 61 for Android, Chrome OS, Linux, macOS and Windows.
- Has a port for Node.js also exists - https://github.com/thegecko/webusb
we could there for have a cross platform ant plus driver, which would work through node or a recent enough chrome browser. We should even be able to drop back to node usb module for compatibility.
What do you think?
The idea is interesting but I don't have the time to work on it for the foreseeable future. Feel free to submit a PR and I'll likely merge it.
hello, I wanted to know if in progress on something related to webusb, I would like to help, thanks
I am also interested, and ready to help in the development, is someone else doing something in this direction ? I am starting now, trying to access to controlTransferOut()
@Loghorn @Richard-Mathie @luisrb @marcosybarraa
I made it 👍
https://github.com/8beeeaaat/web-ant-plus
https://www.npmjs.com/package/web-ant-plus
The main difference from the original implementation is that Buffer
is changed to DataView
.
@Loghorn @Richard-Mathie @luisrb @marcosybarraa
I made it 👍
https://github.com/8beeeaaat/web-ant-plus
https://www.npmjs.com/package/web-ant-plus
The main difference from the original implementation is that
Buffer
is changed toDataView
.
Nice