|
| enum | ETErrCode {
terrNone,
terrWrongParameter,
terrInvalidHandleValue,
terrDeviceNotOpened,
terrGetFeature,
terrSetFeature,
terrUnknown,
terrCmdNotSupportedAtFWLevel,
terrFWLevelNotAvailable,
terrFWLevelChangeFailed,
terrWTCDelayExpired,
terrWrongSignatureBytes,
terrResponseTimoutExpired,
terrExchStatusVoid,
terrExchStatusReqTO,
terrExchStatusReqReject,
terrExchStatusReqFail,
terrExchStatusReqSucc,
terrExchStatusAnsPend,
terrExchStatusAnsTO,
terrExchStatusAnsReject,
terrExchStatusAnsFail,
terrExchStatusAnsOK,
terrExchStatusFWBug
} |
| |
|
| virtual int | Open () |
| | Opens device for communication. More...
|
| |
| virtual int | Close () |
| | Closes device. More...
|
| |
|
| TiproHidDevice () |
| | Constructor.
|
| |
| | TiproHidDevice (const char path[]) |
| | Constructor. More...
|
| |
|
virtual | ~TiproHidDevice () |
| | Destructor.
|
| |
| | TiproHidDevice (const TiproHidDevice &other) |
| | Constructor. More...
|
| |
| virtual TiproHidDevice & | operator= (const TiproHidDevice &other) |
| | Compare operator. More...
|
| |
| virtual int | SendCommandToConnectedDeviceEx (const UCHAR nCommand, const UCHAR nDest, const UCHAR *pParameters, const int nLen, UCHAR *pResponse, int *nResponseLen) |
| | Sends command to the device. More...
|
| |
| virtual int | HIDEnumerateModules () |
| | Enumerates modules of the device. More...
|
| |
| virtual const char * | GetPath () |
| | Returns path name of the device. More...
|
| |
| virtual hid_device * | GetHidDevice () |
| | Returns hid_device handle of the device. More...
|
| |
| virtual int | Reset () |
| | Resets the device. More...
|
| |
| virtual int | GetIndexedStringDescriptor (int lStrIx, wchar_t *pString, int lBufferLen) |
| | Gets a string from device, based on its string index. More...
|
| |
| virtual int | GetManufacturerString (wchar_t *pString, int lBufferLen) |
| | Gets manufacturer string from device. More...
|
| |
| virtual int | GetProductString (wchar_t *pString, int lBufferLen) |
| | Gets product string from device. More...
|
| |
| virtual int | GetSerialNumberString (wchar_t *pString, int lBufferLen) |
| | Gets serial number string from device. More...
|
| |
| virtual int | GetModuleVersion (int nIndex, unsigned char *nVerMaj, unsigned char *nVerMin, unsigned char *nVerBuild) |
| | Gets module version from device, based on module index. More...
|
| |
| virtual int | GetModuleVersionEx (int nIndex, unsigned char *nVerMaj, unsigned char *nVerMin, unsigned char *nVerBuild, unsigned char *nModuleType, unsigned char *nModuleID) |
| | Gets module version, type and ID from device, based on module index. More...
|
| |
| virtual int | GetControllerInfo (int *nVerMaj, int *nVerMin, int *nVerBuild, int *nVerCustom, int *nFWLevel) |
| | Gets controller version of device. More...
|
| |