ant-plus icon indicating copy to clipboard operation
ant-plus copied to clipboard

Option to use WebUSB api

Open Richard-Mathie opened this issue 7 years ago • 5 comments

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?

Richard-Mathie avatar Feb 09 '18 11:02 Richard-Mathie

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.

Loghorn avatar Apr 20 '18 09:04 Loghorn

hello, I wanted to know if in progress on something related to webusb, I would like to help, thanks

luisrb avatar Nov 07 '20 12:11 luisrb

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()

marcosybarraa avatar Jan 10 '21 19:01 marcosybarraa

@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.

8beeeaaat avatar Dec 04 '22 04:12 8beeeaaat

@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.

Nice

Richard-Mathie avatar Dec 04 '22 21:12 Richard-Mathie