Access to USB or Bluetooth?


#1

Hello,

is it possible to get access to USB devices and/or connect to devices via Bluetooth from a locally installed electron application?

Just wondered if there is some wrapper like in Chrome Apps available…

Regards,
Andreas


#2

I think you’ll have better time to look for nodejs libs instead of chrome extensions:

https://www.npmjs.com/search?q=bluetooth
https://www.npmjs.com/search?q=usb


#3

This worked for Bruce: https://discuss.atom.io/t/use-node-usb-inside-electron/16748/2


#4

Is there any reason the chrome.hid and chrome.bluetooth APIs won’t work? That way your code could still run as a chrome app OR in electron. I’ll have to try them out…