| IDTech Universal SDK 1.0.35.027 API reference for C++

libIDT_L100.h
Go to the documentation of this file.
1 #ifndef __LIBIDT_L100_H___
2 # define __LIBIDT_L100_H___
3
4
5 # define IN
6 # define OUT
7 # define IN_OUT
8 # include "IDTDef.h"
9
15 typedef void (* pMessageHotplug)(int, int);
16
21 typedef void (* pSendDataLog)(BYTE *, int);
22
27 typedef void (* pReadDataLog)(BYTE *, int);
28
33 typedef void (* pEMV_callBack)(int, int, BYTE *, int, IDTTransactionData *, EMV_Callback *, int);
34
39 typedef void (* pMSR_callBack)(int, IDTMSRData);
40
45 typedef void (* pMSR_callBackp)(int, IDTMSRData *);
46
51 typedef void (* pPIN_callBack)(int, IDTPINData *);
52
57 typedef void (* pCMR_callBack)(int,
58 IDTCMRData *);
59
64 typedef void (* pCSFS_callBack)(BYTE status);
65
70 typedef void (* pFW_callBack)(int, int, int, int, int);
71
82 typedef void (* ftpComm_callBack)(int, int, int);
83
88 typedef void (* httpComm_callBack)(BYTE *, int);
89
96 typedef void (* v4Comm_callBack)(BYTE, BYTE, BYTE *, int);
97
98
99 # ifdef __cplusplus
100 extern "C" {
101 # endif
102
106 void
107 registerHotplugCallBk(pMessageHotplug pMsgHotplug);
108
112 void
113 registerLogCallBk(pSendDataLog pFSend, pReadDataLog pFRead);
114
118 void
119 emv_registerCallBk(pEMV_callBack pEMVf);
120
124 void
125 msr_registerCallBk(pMSR_callBack pMSRf);
126
130 void
131 msr_registerCallBkp(pMSR_callBackp pMSRf);
132
136 void
137 pin_registerCallBk(pPIN_callBack pPINf);
138
142 void
143 device_registerCameraCallBk(pCMR_callBack pCMRf);
144
148 void
149 device_registerCardStatusFrontSwitchCallBk(pCSFS_callBack pCSFSf);
150
154 void
155 device_registerFWCallBk(pFW_callBack pFWf);
156
161 char *
162 SDK_Version();
163
172 int
173 setAbsoluteLibraryPath(const char * absoluteLibraryPath);
174
182 int
183 device_init();
184
185
227 int
228 device_setCurrentDevice(int deviceType);
229
230
236 int
237 device_close();
238
597 void
598 device_getResponseCodeString(IN int returnCode, OUT char * despcrition);
599
604 int
605 device_isConnected();
606
613 int
614 device_isAttached(int deviceType);
615
626 int
627 device_getFirmwareVersion(OUT char * firmwareVersion);
628
638 int
639 device_getFirmwareVersion_Len(OUT char * firmwareVersion, IN_OUT int * firmwareVersionLen);
640
649 int
650 device_getDateTime(OUT BYTE * dateTime);
651
661 int
662 device_getDateTime_Len(OUT BYTE * dateTime, IN_OUT int * dateTimeLen);
663
669 int
670 device_getCurrentDeviceType();
671
689 // int device_SendDataCommand(IN BYTE* cmd, IN int cmdLen, OUT BYTE* response, IN_OUT int *respLen);
690 int
691 device_SendDataCommand(IN BYTE * cmd, IN int cmdLen, IN BYTE * data, IN int dataLen, OUT BYTE * response,
692 IN_OUT int * respLen);
693
719 int
720 device_updateFirmware(IN BYTE * firmwareData, IN int firmwareDataLen, IN char * firmwareName, IN int encryptionType,
721 IN BYTE * keyBlob, IN int keyBlobLen);
722
732 int
733 device_rebootDevice();
734
799 int
800 device_getKeyStatus(int * newFormat, BYTE * status, int * statusLen);
801
811 int
812 device_enterStopMode();
813
824 int
825 device_setSleepModeTime(int time);
826
837 int
838 config_getModelNumber(OUT char * sNumber);
839
849 int
850 config_getModelNumber_Len(OUT char * sNumber, IN_OUT int * sNumberLen);
851
862 int
863 config_getSerialNumber(OUT char * sNumber);
864
874 int
875 config_getSerialNumber_Len(OUT char * sNumber, IN_OUT int * sNumberLen);
876
895 int
896 pin_getEncryptedPIN(int keyType, char * PAN, int PANLen, char * message, int messageLen, int timeout);
897
1007 int
1008 pin_promptForKeyInput(int messageID, int languageID, int maskInput, int minLen, int maxLen, int timeout);
1009
1117 int
1118 pin_promptForAmountInput(int messageID, int languageID, int minLen, int maxLen, int timeout);
1119
1139 int
1140 pin_getFunctionKey(int timeout);
1141
1153 int
1154 pin_sendBeep(int frequency, int duration);
1155
1164 int
1165 pin_setKeyValues(int mode);
1166
1177 int
1178 lcd_savePrompt(int promptNumber, char * prompt, int promptLen);
1179
1189 int
1190 lcd_displayPrompt(int promptNumber, int lineNumber);
1191
1202 int
1203 lcd_displayMessage(int lineNumber, char * message, int messageLen);
1204
1213 int
1214 lcd_enableBacklight(int enable);
1215
1224 int
1225 lcd_getBacklightStatus(int * enabled);
1226
1227 # ifdef __cplusplus
1228 }
1229 # endif
1230
1231
1232 #endif // ifndef __LIBIDT_L100_H___
1233
pMSR_callBackp
void(* pMSR_callBackp)(int, IDTMSRData *)
Definition: libIDT_L100.h:45
device_getKeyStatus
int device_getKeyStatus(int *newFormat, BYTE *status, int *statusLen)
pSendDataLog
void(* pSendDataLog)(BYTE *, int)
Definition: libIDT_L100.h:21
pin_getFunctionKey
int pin_getFunctionKey(int timeout)
pin_getEncryptedPIN
int pin_getEncryptedPIN(int keyType, char *PAN, int PANLen, char *message, int messageLen, int timeout)
config_getModelNumber_Len
int config_getModelNumber_Len(OUT char *sNumber, IN_OUT int *sNumberLen)
pin_promptForAmountInput
int pin_promptForAmountInput(int messageID, int languageID, int minLen, int maxLen, int timeout)
device_registerCameraCallBk
void device_registerCameraCallBk(pCMR_callBack pCMRf)
config_getSerialNumber
int config_getSerialNumber(OUT char *sNumber)
pin_sendBeep
int pin_sendBeep(int frequency, int duration)
pEMV_callBack
void(* pEMV_callBack)(int, int, BYTE *, int, IDTTransactionData *, EMV_Callback *, int)
Definition: libIDT_L100.h:33
device_getFirmwareVersion
int device_getFirmwareVersion(OUT char *firmwareVersion)
device_rebootDevice
int device_rebootDevice()
lcd_displayMessage
int lcd_displayMessage(int lineNumber, char *message, int messageLen)
pin_setKeyValues
int pin_setKeyValues(int mode)
registerLogCallBk
void registerLogCallBk(pSendDataLog pFSend, pReadDataLog pFRead)
msr_registerCallBkp
void msr_registerCallBkp(pMSR_callBackp pMSRf)
msr_registerCallBk
void msr_registerCallBk(pMSR_callBack pMSRf)
IN_OUT
#define IN_OUT
device_getCurrentDeviceType
int device_getCurrentDeviceType()
v4Comm_callBack
void(* v4Comm_callBack)(BYTE, BYTE, BYTE *, int)
Definition: libIDT_L100.h:96
device_init
int device_init()
lcd_getBacklightStatus
int lcd_getBacklightStatus(int *enabled)
device_setCurrentDevice
int device_setCurrentDevice(int deviceType)
ftpComm_callBack
void(* ftpComm_callBack)(int, int, int)
Definition: libIDT_L100.h:82
device_updateFirmware
int device_updateFirmware(IN BYTE *firmwareData, IN int firmwareDataLen, IN char *firmwareName, IN int encryptionType, IN BYTE *keyBlob, IN int keyBlobLen)
device_close
int device_close()
device_getDateTime_Len
int device_getDateTime_Len(OUT BYTE *dateTime, IN_OUT int *dateTimeLen)
emv_registerCallBk
void emv_registerCallBk(pEMV_callBack pEMVf)
device_SendDataCommand
int device_SendDataCommand(IN BYTE *cmd, IN int cmdLen, IN BYTE *data, IN int dataLen, OUT BYTE *response, IN_OUT int *respLen)
device_enterStopMode
int device_enterStopMode()
pMSR_callBack
void(* pMSR_callBack)(int, IDTMSRData)
Definition: libIDT_L100.h:39
pCMR_callBack
void(* pCMR_callBack)(int, IDTCMRData *)
Definition: libIDT_L100.h:57
registerHotplugCallBk
void registerHotplugCallBk(pMessageHotplug pMsgHotplug)
lcd_displayPrompt
int lcd_displayPrompt(int promptNumber, int lineNumber)
config_getSerialNumber_Len
int config_getSerialNumber_Len(OUT char *sNumber, IN_OUT int *sNumberLen)
IN
#define IN
httpComm_callBack
void(* httpComm_callBack)(BYTE *, int)
Definition: libIDT_L100.h:88
device_isConnected
int device_isConnected()
SDK_Version
char * SDK_Version()
device_isAttached
int device_isAttached(int deviceType)
pCSFS_callBack
void(* pCSFS_callBack)(BYTE status)
Definition: libIDT_L100.h:64
device_getResponseCodeString
void device_getResponseCodeString(IN int returnCode, OUT char *despcrition)
device_setSleepModeTime
int device_setSleepModeTime(int time)
pPIN_callBack
void(* pPIN_callBack)(int, IDTPINData *)
Definition: libIDT_L100.h:51
device_registerFWCallBk
void device_registerFWCallBk(pFW_callBack pFWf)
device_registerCardStatusFrontSwitchCallBk
void device_registerCardStatusFrontSwitchCallBk(pCSFS_callBack pCSFSf)
config_getModelNumber
int config_getModelNumber(OUT char *sNumber)
pin_registerCallBk
void pin_registerCallBk(pPIN_callBack pPINf)
device_getDateTime
int device_getDateTime(OUT BYTE *dateTime)
lcd_savePrompt
int lcd_savePrompt(int promptNumber, char *prompt, int promptLen)
OUT
#define OUT
pin_promptForKeyInput
int pin_promptForKeyInput(int messageID, int languageID, int maskInput, int minLen, int maxLen, int timeout)
pReadDataLog
void(* pReadDataLog)(BYTE *, int)
Definition: libIDT_L100.h:27
setAbsoluteLibraryPath
int setAbsoluteLibraryPath(const char *absoluteLibraryPath)
lcd_enableBacklight
int lcd_enableBacklight(int enable)
pFW_callBack
void(* pFW_callBack)(int, int, int, int, int)
Definition: libIDT_L100.h:70
pMessageHotplug
void(* pMessageHotplug)(int, int)
Definition: libIDT_L100.h:15
device_getFirmwareVersion_Len
int device_getFirmwareVersion_Len(OUT char *firmwareVersion, IN_OUT int *firmwareVersionLen)