Tipro API
Communicate with Tipro devices
Public Types | Public Member Functions | Static Public Attributes | List of all members
CTiproHid Class Reference

Public Types

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
}
 

Public Member Functions

ETErrCode ConvertErr (EErrCode errCode)
 
bool IsTipro ()
 
bool IsConnected ()
 
UINT16 ReturnSignature (void)
 
ETErrCode GetEnabledInterfaces ()
 
ETErrCode EnableInterface ()
 
ETErrCode WaitToConnect (const DWORD nDelay)
 

Static Public Attributes

static const UCHAR FRCMD_RESET = 0x00
 
static const UCHAR FRCMD_TMC_IF_DISABLE = 0x01
 
static const UCHAR FRCMD_TMC_IF_ENABLE = 0x02
 
static const UCHAR FRCMD_TMC_IF_V2_ENABLE = 0x03
 
static const UCHAR FRCMD_LEVEL1_CMD = 0x04
 
static const UCHAR FRCMD_CLR_SERIAL_NO = 0x05
 
static const UCHAR FRCMD_OPT_IF = 0x06
 
static const UCHAR FRCMD_FW_LEVEL = 0x07
 
static const UCHAR FRCMD_MID_EXCH = 0x08
 

The documentation for this class was generated from the following files: