Creates an instance of the HIDComm class wiht the specified information.
The HID device path. Use JSPM.JSPrintManager.getHidDevices() to get it if unkown.
Closes the HID connection
Connects to a HID device using the specified path.
Occurs when communication is close.
The callback function
Occurs when data is received.
The callback function
Occurs when an error is thrown.
The callback function
Sends the specified string to the HID device.
The string to send to the USB device.
It represents a HID comm at the client side.