The following code outputs:
blync = require('blync')
HID = require('node-hid')
devices = HID.devices()
console.dir devices
deviceCount = blync.getDevices().length
console.dir blync.getDevices()
coffee blync_meeting.coffee
[....
{ vendorId: 4400,
productId: 7680,
path: 'USB_1130_1e00_1d111200',
serialNumber: '',
manufacturer: 'TENX',
product: 'Blync',
release: 1320,
interface: -1 },
... ]
[]
so node-hid sees the device but node-blync doesn't. Looking at your code, it seems that it assumes a different product-id & interface. Mine is productId: 7680 and its interface is -1.
if I edit out these conditions, it finds the right device but:
cannot open device with path USB_1130_1e00_1d111200
The following code outputs:
so node-hid sees the device but node-blync doesn't. Looking at your code, it seems that it assumes a different product-id & interface. Mine is productId: 7680 and its interface is -1.
if I edit out these conditions, it finds the right device but: