I have try to get data from device (USB thermometer), following this documentation, but I have not any result.
For getting themperature data from device, I should sen
Use sudo before running your command.
Wrong:
node index.js
Right:
sudo node inex.js
The interface should be declared using the term.interface(interfaceId)
method, not term.interfaces[0]
https://www.npmjs.com/package/usb#interfaceinterface
You forgot to call interface.claim().
https://github.com/nonolith/node-usb#claim