| IDTech Universal SDK 1.0.35.027 API reference for C++

libIDT_Device.h
Go to the documentation of this file.
1 #ifndef __LIBIDT_DEVICE_H___
2 # define __LIBIDT_DEVICE_H___
3
4 # define IN
5 # define OUT
6 # define IN_OUT
7 # include "IDTDef.h"
8
16 typedef void (* pMessageHotplug)(int,
17 int);
18
24 typedef void (* pSendDataLog)(BYTE *,
25 int);
26
32 typedef void (* pReadDataLog)(BYTE *,
33 int);
34
40 typedef void (* pEMV_callBack)(int,
41 int,
42 BYTE *,
43 int,
44 IDTTransactionData *,
45 EMV_Callback *,
46 int);
47
48
53 typedef void (* pWP_callBack)(char *,
54 int,
55 int);
56
61 typedef void (* pMSR_callBack)(int, IDTMSRData);
62
67 typedef void (* pMSR_callBackp)(int, IDTMSRData *);
68
73 typedef void (* pPIN_callBack)(int,
74 IDTPINData *);
75
80 typedef void (* pLCD_callBack)(int,
81 IDTLCDItem *);
82
87 typedef void (* pCMR_callBack)(int,
88 IDTCMRData *);
89
94 typedef void (* pCSFS_callBack)(BYTE status);
95
100 typedef void (* pFW_callBack)(int,
101 int,
102 int,
103 int,
104 int);
105
110 typedef void (* pRKI_callBack)(int,
111 char *);
112
117 typedef void (* httpComm_callBack)(BYTE *,
118 int);
119
126 typedef void (* v4Comm_callBack)(BYTE,
127 BYTE,
128 BYTE *,
129 int);
130
141 typedef void (* ftpComm_callBack)(int,
142 int,
143 int);
144
148 typedef void (* pLog_callback)(BYTE, char *);
149
150 # ifdef __cplusplus
151 extern "C" {
152 # endif
153
159 void
160 registerHotplugCallBk(pMessageHotplug pMsgHotplug);
161
167 void
168 registerLogCallBk(pSendDataLog pFSend,
169 pReadDataLog pFRead);
170
174 void
175 emv_registerCallBk(pEMV_callBack pEMVf);
176
181 void
182 loyalty_registerCallBk(pEMV_callBack pEMVf);
183
187 void
188 msr_registerCallBk(pMSR_callBack pMSRf);
189
193 void
194 msr_registerCallBkp(pMSR_callBackp pMSRf);
195
199 void
200 ctls_registerCallBkp(pMSR_callBackp pMSRf);
201
203 // *To register the loyalty MSR callback function to get the MSR card data. (Pass NULL to disable the callback.)
204 // */
205 // void loyalty_registerMSRCallBk(pMSR_callBack pMSRf);
206 //
208 // *To register the loyalty MSR callback function to get the MSR card data pointer. (Pass NULL to disable the callback.)
209 // */
210 // void loyalty_registerMSRCallBkp(pMSR_callBackp pMSRf);
211
215 void
216 pin_registerCallBk(pPIN_callBack pPINf);
217
221 void
222 lcd_registerCallBk(pLCD_callBack pLCDf);
223
227 void
228 device_registerCameraCallBk(pCMR_callBack pCMRf);
229
233 void
234 device_registerCardStatusFrontSwitchCallBk(pCSFS_callBack pCSFSf);
235
240 void
241 device_registerFWCallBk(pFW_callBack pFWf);
242
247 void
248 device_registerRKICallBk(pRKI_callBack pRKIf);
249
254 char *
255 SDK_Version();
256
265 int
266 setAbsoluteLibraryPath(const char * absoluteLibraryPath);
267
279 int
280 device_setConfigPath(const char * path);
281
294 int
295 device_setNEO2DevicesConfigs(IN const char * configs,
296 IN int len);
297
305 int
306 device_init();
307
395 int
396 rs232_device_init(int deviceType, int port_number, int brate);
397
405 void
406 set_open_com_port_timeout(int timeout);
407
450 int
451 device_setCurrentDevice(int deviceType);
452
458 int
459 device_close();
460
820 void
821 device_getResponseCodeString(IN int returnCode, OUT char * despcrition);
822
879 void
880 device_getIDGStatusCodeString(IN int returnCode, OUT char * despcrition);
881
886 int
887 device_isConnected();
888
895 int
896 device_isAttached(int deviceType);
897
968 int
969 device_startTransaction(IN double amount,
970 IN double amtOther,
971 IN int type,
972 IN const int _timeout,
973 IN BYTE * tags,
974 IN int tagsLen);
975
1056 int
1057 loyalty_startTransaction(IN double amount, IN double amtOther, IN int type, IN const int _timeout, IN BYTE * tags,
1058 IN int tagsLen,
1059 IN const int cardType, IN const int iccReadType);
1060
1065 void
1066 device_setTransactionExponent(int exponent);
1067
1131 int
1132 device_activateTransaction(IN const int _timeout,
1133 IN BYTE * tags,
1134 IN int tagsLen);
1135
1144 int
1145 device_cancelTransaction();
1146
1156 int
1157 loyalty_cancelTransaction();
1158
1169 int
1170 device_setCancelTransactionMode(int mode);
1171
1182 int
1183 device_cancelTransactionSilent(int enable);
1184
1196 int
1197 loyalty_cancelTransactionSilent(int enable);
1198
1206 int
1207 device_getDriveFreeSpace(OUT int * free,
1208 OUT int * used);
1209
1223 int
1224 device_listDirectory(IN char * directoryName,
1225 IN int directoryNameLen,
1226 IN int recursive,
1227 IN int onSD,
1228 OUT char * directory,
1229 IN_OUT int * directoryLen);
1230
1241 int
1242 device_createDirectory(IN char * directoryName,
1243 IN int directoryNameLen);
1244
1254 int
1255 device_deleteDirectory(IN char * dirName,
1256 IN int dirNameLen);
1257
1269 int
1270 device_transferFile(IN char * fileName,
1271 IN int fileNameLen,
1272 IN BYTE * file,
1273 IN int fileLen);
1274
1284 int
1285 device_deleteFile(IN char * fileName, IN int fileNameLen);
1286
1301 int
1302 device_queryFile(IN char * directoryName, IN int directoryNameLen, IN char * fileName, IN int fileNameLen,
1303 OUT int * isExist, OUT BYTE * timeStamp, IN_OUT int * timeStampLen, OUT char * fileSize, IN_OUT int * fileSizeLen);
1304
1318 int
1319 device_readFileFromSD(IN char * directoryName, IN int directoryNameLen, IN char * fileName, IN int fileNameLen,
1320 IN int startingOffset, IN int numBytes, OUT BYTE * fileData, IN_OUT int * fileDataLen);
1321
1328 int
1329 device_startListenNotifications();
1330
1337 int
1338 device_stopListenNotifications();
1339
1350 int
1351 device_getFirmwareVersion(OUT char * firmwareVersion);
1352
1362 int
1363 device_getFirmwareVersion_Len(OUT char * firmwareVersion, IN_OUT int * firmwareVersionLen);
1364
1375 int
1376 device_getDateTime(OUT BYTE * dateTime);
1377
1387 int
1388 device_getDateTime_Len(OUT BYTE * dateTime, IN_OUT int * dateTimeLen);
1389
1413 int
1414 device_controlLED(byte indexLED,
1415 byte control,
1416 int intervalOn,
1417 int intervalOff);
1418
1430 int
1431 device_controlLED_ICC(int controlMode,
1432 int interval);
1433
1457 int
1458 device_controlLED_MSR(byte control,
1459 int intervalOn,
1460 int intervalOff);
1461
1474 int
1475 device_controlBeep(int index,
1476 int frequency,
1477 int duration);
1478
1514 int
1515 device_getDRS(BYTE * codeDRS,
1516 int * codeDRSLen);
1517
1529 int
1530 device_setCoreDumpLogFile(IN char * filename, IN int filenameLen);
1531
1543 int
1544 device_outputLog(IN char * filename, IN int filenameLen);
1545
1610 int
1611 device_getKeyStatus(int * newFormat,
1612 BYTE * status,
1613 int * statusLen);
1614
1625 int
1626 device_enterStopMode();
1627
1639 int
1640 device_setSleepModeTime(int time);
1641
1642
1650 int
1651 device_verifyBackdoorKey();
1652
1660 int
1661 device_selfCheck();
1662
1670 int
1671 device_pingDevice();
1672
1715 int
1716 device_controlUserInterface(IN BYTE * values);
1717
1734 int
1735 device_controlIndicator(IN int indicator, IN int enable);
1736
1741 int
1742 device_getCurrentDeviceType();
1743
1760 int
1761 device_SendDataCommandNEO(IN int cmd,
1762 IN int subCmd,
1763 IN BYTE * data,
1764 IN int dataLen,
1765 OUT BYTE * response,
1766 IN_OUT int * respLen);
1767
1784 int
1785 device_SendDataCommand(IN BYTE * cmd,
1786 IN int cmdLen,
1787 IN BYTE * data,
1788 IN int dataLen,
1789 OUT BYTE * response,
1790 IN_OUT int * respLen);
1791
1808 int
1809 device_SendDataCommandITP(IN BYTE * cmd,
1810 IN int cmdLen,
1811 IN BYTE * data,
1812 IN int dataLen,
1813 OUT BYTE * response,
1814 IN_OUT int * respLen);
1815
1825 int
1826 device_rebootDevice();
1827
1856 int
1857 device_updateFirmware(IN BYTE * firmwareData,
1858 IN int firmwareDataLen,
1859 IN char * firmwareName,
1860 IN int encryptionType,
1861 IN BYTE * keyBlob,
1862 IN int keyBlobLen);
1863
1883 //int
1884 //device_updateFirmwareWithZipFile(IN char *firmwareZipFilename, IN int firmwareZipFilenameLen);
1885
1899 int
1900 device_getDeviceMemoryUsageInfo(OUT int * freeHeapSize, OUT int * notFreedBlockCnt, OUT int * minEverFreeHeapSize);
1901
1913 int
1914 felica_authentication(IN BYTE * key, IN int keyLen);
1915
1930 int
1931 felica_readWithMac(IN int blockCnt, IN BYTE * blockList, IN int blockListLen, OUT BYTE * blockData,
1932 OUT int * blockDataLen);
1933
1945 int
1946 felica_writeWithMac(IN BYTE blockNum, IN BYTE * blockData, IN int blockDataLen);
1947
1965 int
1966 felica_read(IN BYTE * serviceCodeList, IN int serviceCodeListLen, IN int blockCnt, IN BYTE * blockList,
1967 IN int blockListLen, OUT BYTE * blockData, OUT int * blockDataLen);
1968
1988 int
1989 felica_write(IN BYTE * serviceCodeList, IN int serviceCodeListLen, IN int blockCnt, IN BYTE * blockList,
1990 IN int blockListLen, IN BYTE * blockData, IN int blockDataLen, OUT BYTE * statusFlag,
1991 OUT int * statusFlagLen);
1992
2006 int
2007 felica_poll(IN BYTE * systemCode, IN int systemCodeLen, OUT BYTE * respData, OUT int * respDataLen);
2008
2022 int
2023 felica_SendCommand(IN BYTE * command, IN int commandLen, OUT BYTE * respData, OUT int * respDataLen);
2024
2037 int
2038 felica_requestService(IN BYTE * nodeCode, IN int nodeCodeLen, OUT BYTE * respData, OUT int * respDataLen);
2039
2048 int
2049 felica_getCode();
2050
2058 int
2059 felica_cancelCodeEntry();
2060
2061 // long long timeInMilliseconds(void);
2062 // int felica_SendCommandTest(IN BYTE *command, IN int commandLen, OUT BYTE *respData, OUT int *respDataLen);
2063
2074 int
2075 config_getModelNumber(OUT char * sNumber);
2076
2086 int
2087 config_getModelNumber_Len(OUT char * sNumber, IN_OUT int * sNumberLen);
2088
2090 // * Set Model Number for the device
2091 // *
2092 // * @param sNumber Model Number
2093 // *
2094 // * @return RETURN_CODE: Values can be parsed with device_getIDGStatusCodeString
2095 // */
2096 // int config_setModelNumber(IN char* sNumber);
2097
2107 int
2108 device_setSystemLanguage(char * language);
2109
2120 int
2121 config_getSerialNumber(OUT char * sNumber);
2122
2132 int
2133 config_getSerialNumber_Len(OUT char * sNumber, IN_OUT int * sNumberLen);
2134
2147 int
2148 config_setCmdTimeOutDuration(IN int millisecond);
2149
2162 int
2163 config_setLEDController(int firmwareControlMSRLED,
2164 int firmwareControlICCLED);
2165
2178 int
2179 config_getLEDController(int * firmwareControlMSRLED,
2180 int * firmwareControlICCLED);
2181
2190 int
2191 config_setBeeperController(int firmwareControlBeeper);
2192
2201 int
2202 config_getBeeperController(int * firmwareControlBeeper);
2203
2222 int
2223 config_setEncryptionControl(int msr, int icc);
2224
2243 int
2244 config_getEncryptionControl(int * msr,
2245 int * icc);
2246
2256 int
2257 device_startRKI(const char * caPath, int isProduction);
2258
2269 int
2270 device_enablePassThrough(int enablePassThrough);
2271
2282 int
2283 device_enableL80PassThrough(int enableL80PassThrough);
2284
2295 int
2296 device_enableL100PassThrough(int enableL100PassThrough);
2297
2308 int
2309 device_getL80PassThroughMode();
2310
2321 int
2322 device_getL100PassThroughMode();
2323
2336 int
2337 device_enhancedPassthrough(IN BYTE * data,
2338 IN int dataLen);
2339
2351 int
2352 device_setBurstMode(IN BYTE mode);
2353
2364 int
2365 device_setPollMode(IN BYTE mode);
2366
2379 int
2380 device_pollForToken(IN int timeout, OUT BYTE * respData, IN_OUT int * respDataLen);
2381
2395 int
2396 device_setMerchantRecord(int index,
2397 int enabled,
2398 char * merchantID,
2399 char * merchantURL);
2400
2421 int
2422 device_getMerchantRecord(IN int index,
2423 OUT BYTE * record);
2424
2445 int
2446 device_getMerchantRecord_Len(IN int index,
2447 OUT BYTE * record, IN_OUT int * recordLen);
2448
2512 int
2513 device_pollCardReader(OUT BYTE * status);
2514
2578 int
2579 device_pollCardReader_Len(OUT BYTE * status, IN_OUT int * statusLen);
2580
2599 int
2600 device_getSpectrumProKSN(IN int type,
2601 OUT BYTE * KSN);
2602
2621 int
2622 device_getSpectrumProKSN_Len(IN int type,
2623 OUT BYTE * KSN, IN_OUT int * KSNLen);
2624
2630 int
2631 device_calibrateParameters(BYTE delta);
2632
2647 int
2648 device_getRTCDateTime(IN BYTE * dateTime,
2649 IN_OUT int * dateTimeLen);
2650
2664 int
2665 device_setRTCDateTime(IN BYTE * dateTime,
2666 IN int dateTimeLen);
2667
2683 int
2684 device_configureButtons(IN BYTE done,
2685 IN BYTE swipe,
2686 IN BYTE delay);
2687
2703 int
2704 device_getButtonConfiguration(OUT BYTE * done,
2705 OUT BYTE * swipe,
2706 OUT BYTE * delay);
2707
2715 int
2716 device_disableBlueLED();
2717
2746 int
2747 device_enableBlueLED(IN BYTE * data, IN int dataLen);
2748
2755 int
2756 device_lcdDisplayClear();
2757
2770 int
2771 device_enableExternalLCDMessages(IN int enableExtLCDMsg);
2772
2781 int
2782 device_enableRFAntenna(IN int enableAntenna);
2783
2791 int
2792 device_turnOffYellowLED();
2793
2801 int
2802 device_turnOnYellowLED();
2803
2810 int
2811 device_buzzerOnOff();
2812
2829 int
2830 device_lcdDisplayLine1Message(IN BYTE * message,
2831 IN int messageLen);
2832
2846 int
2847 device_lcdDisplayLine2Message(IN BYTE * message,
2848 IN int messageLen);
2849
2858 int
2859 device_startQRCodeScan(IN int _timeout);
2860
2874 int
2875 device_startQRCodeScanWithDisplayWindowInfo(IN int _timeout, IN int x, IN int y, IN int width, IN int height);
2876
2882 int
2883 device_stopQRCodeScan();
2884
2893 int
2894 device_startTakingPhoto(IN int _timeout);
2895
2901 int
2902 device_stopTakingPhoto();
2903
2910 int
2911 device_stopAudio();
2912
2922 int
2923 device_playAudio(IN char * fileName, IN int fileNameLen, IN int onSD);
2924
2932 int
2933 device_getAudioVolume(OUT BYTE * volume);
2934
2942 int
2943 device_setAudioVolume(IN BYTE volume);
2944
2953 int
2954 device_getCameraParameters(OUT BYTE * isAutoFocus, OUT BYTE * focalLength);
2955
2964 int
2965 device_setCameraParameters(IN BYTE isAutoFocus, IN BYTE focalLength);
2966
2975 int
2976 device_getSDKWaitTime();
2977
2987 void
2988 device_setSDKWaitTime(int waitTime);
2989
2998 int
2999 device_getThreadStackSize();
3000
3008 void
3009 device_setThreadStackSize(int threadSize);
3010
3019 void
3020 device_toSDCard(int forSDCard);
3021
3028 int
3029 device_getTamperStatus(OUT int * isTampered);
3030
3041 int
3042 icc_enable(IN int withNotification);
3043
3049 int
3050 icc_disable();
3051
3061 int
3062 icc_powerOnICC(OUT BYTE * ATR,
3063 IN_OUT int * inLen);
3064
3075 int
3076 icc_powerOffICC();
3077
3092 int
3093 icc_exchangeAPDU(IN BYTE * c_APDU,
3094 IN int cLen,
3095 OUT BYTE * reData,
3096 IN_OUT int * reLen);
3097
3130 int
3131 icc_exchangeEncryptedAPDU(IN BYTE * c_APDU,
3132 IN int cLen,
3133 OUT BYTE * reData,
3134 IN_OUT int * reLen);
3135
3145 int
3146 icc_getAPDU_KSN(OUT BYTE * KSN,
3147 IN_OUT int * inLen);
3148
3162 int
3163 icc_getFunctionStatus(OUT int * enabled,
3164 OUT int * withNotification);
3165
3176 int
3177 icc_getICCReaderStatus(OUT BYTE * status);
3178
3192 int
3193 icc_getKeyFormatForICCDUKPT(OUT BYTE * format);
3194
3208 int
3209 icc_getKeyTypeForICCDUKPT(OUT BYTE * type);
3210
3224 int
3225 icc_setKeyFormatForICCDUKPT(IN BYTE format);
3226
3240 int
3241 icc_setKeyTypeForICCDUKPT(IN BYTE type);
3242
3250 int
3251 iso8583_get1987Handler(OUT DL_ISO8583_HANDLER * ISOHandler);
3252
3260 int
3261 iso8583_get1993Handler(OUT DL_ISO8583_HANDLER * ISOHandler);
3262
3270 int
3271 iso8583_get2003Handler(OUT DL_ISO8583_HANDLER * ISOHandler);
3272
3282 int
3283 iso8583_getField(IN DL_UINT16 dataField,
3284 IN DL_ISO8583_HANDLER * ISOHandler,
3285 OUT DL_ISO8583_FIELD_DEF * field);
3286
3294 int
3295 iso8583_initializeMessage(OUT DL_ISO8583_MSG * ISOMessage);
3296
3306 int
3307 iso8583_getMessageField(IN DL_UINT16 dataField,
3308 IN DL_ISO8583_MSG * ISOMessage,
3309 OUT DL_ISO8583_MSG_FIELD * messageField);
3310
3320 int
3321 iso8583_setMessageField(IN DL_UINT16 dataField,
3322 IN const DL_UINT8 * data,
3323 OUT DL_ISO8583_MSG * ISOMessage);
3324
3333 int
3334 iso8583_removeMessageField(IN DL_UINT16 dataField,
3335 OUT DL_ISO8583_MSG * ISOMessage);
3336
3347 int
3348 iso8583_packMessage(IN const DL_ISO8583_HANDLER * ISOHandler,
3349 IN const DL_ISO8583_MSG * ISOMessage,
3350 OUT DL_UINT8 * packedData,
3351 OUT DL_UINT16 * packedDataLength);
3352
3363 int
3364 iso8583_unpackMessage(IN const DL_ISO8583_HANDLER * ISOHandler,
3365 IN const DL_UINT8 * packedData,
3366 IN DL_UINT16 packedDataLength,
3367 OUT DL_ISO8583_MSG * ISOMessage);
3368
3376 int
3377 iso8583_freeMessage(IN DL_ISO8583_MSG * ISOMessage);
3378
3389 int
3390 iso8583_serializeToXML(IN DL_ISO8583_HANDLER * ISOHandler,
3391 IN DL_ISO8583_MSG * ISOMessage,
3392 OUT BYTE * serializedMessage,
3393 OUT int * serializedMessageLength);
3394
3405 int
3406 iso8583_deserializeFromXML(IN BYTE * serializedMessage,
3407 IN int serializedMessageLength,
3408 OUT DL_ISO8583_HANDLER * ISOHandler,
3409 OUT DL_ISO8583_MSG * ISOMessage);
3410
3420 int
3421 iso8583_displayMessage(IN DL_ISO8583_HANDLER * ISOHandler,
3422 IN DL_ISO8583_MSG * ISOMessage);
3423
3431 int
3432 lcd_resetInitialState();
3433
3445 int
3446 lcd_customDisplayMode(IN int enable);
3447
3459 int
3460 lcd_setForeBackColor(IN BYTE * foreRGB,
3461 IN int foreRGBLen,
3462 IN BYTE * backRGB,
3463 IN int backRGBLen);
3464
3480 int
3481 lcd_clearDisplay(IN BYTE control);
3482
3494 int
3495 lcd_captureSignature(IN int timeout);
3496
3522 int
3523 lcd_startSlideShow(IN char * files,
3524 IN int filesLen,
3525 IN int posX,
3526 IN int posY,
3527 IN int posMode,
3528 IN int touchEnable,
3529 IN int recursion,
3530 IN int touchTerminate,
3531 IN int delay,
3532 IN int loops,
3533 IN int clearScreen);
3534
3546 int
3547 lcd_cancelSlideShow(OUT BYTE * statusCode,
3548 IN_OUT int * statusCodeLen);
3549
3571 int
3572 lcd_setDisplayImage(IN char * file,
3573 IN int fileLen,
3574 IN int posX,
3575 IN int posY,
3576 IN int posMode,
3577 IN int touchEnable,
3578 IN int clearScreen);
3579
3594 int
3595 lcd_setBackgroundImage(IN char * file, IN int fileLen, IN int enable);
3596
3669 int
3670 lcd_displayText(IN int posX, IN int posY, IN int displayWidth,
3671 IN int displayHeight, IN int fontDesignation, IN int fontID,
3672 IN int screenPosition, IN char * displayText, OUT BYTE * graphicsID);
3673
3741 int
3742 lcd_displayText_Len(IN int posX, IN int posY, IN int displayWidth,
3743 IN int displayHeight, IN int fontDesignation, IN int fontID,
3744 IN int screenPosition, IN char * displayText, OUT BYTE * graphicsID, IN_OUT int * graphicsIDLen);
3745
3808 int
3809 lcd_displayParagraph(IN int posX, IN int posY, IN int displayWidth,
3810 IN int displayHeight, IN int fontDesignation, IN int fontID,
3811 IN int displayProperties, IN char * displayText);
3812
3894 int
3895 lcd_displayButton(IN int posX, IN int posY, IN int buttonWidth,
3896 IN int buttonHeight, IN int fontDesignation, IN int fontID,
3897 IN int displayPosition, IN char * buttonLabel, IN int buttonTextColorR,
3898 IN int buttonTextColorG, IN int buttonTextColorB, IN int buttonBackgroundColorR,
3899 IN int buttonBackgroundColorG, IN int buttonBackgroundColorB, OUT BYTE * graphicsID);
3900
3975 int
3976 lcd_displayButton_Len(IN int posX, IN int posY, IN int buttonWidth,
3977 IN int buttonHeight, IN int fontDesignation, IN int fontID,
3978 IN int displayPosition, IN char * buttonLabel, IN int buttonTextColorR,
3979 IN int buttonTextColorG, IN int buttonTextColorB, IN int buttonBackgroundColorR,
3980 IN int buttonBackgroundColorG, IN int buttonBackgroundColorB, OUT BYTE * graphicsID, IN_OUT int * graphicsIDLen);
3981
4047 int
4048 lcd_createList(IN int posX, IN int posY, IN int numOfColumns,
4049 IN int numOfRows, IN int fontDesignation, IN int fontID,
4050 IN int verticalScrollArrowsVisible, IN int borderedListItems, IN int borderdScrollArrows,
4051 IN int touchSensitive, IN int automaticScrolling, OUT BYTE * graphicsID);
4052
4112 int
4113 lcd_createList_Len(IN int posX, IN int posY, IN int numOfColumns,
4114 IN int numOfRows, IN int fontDesignation, IN int fontID,
4115 IN int verticalScrollArrowsVisible, IN int borderedListItems, IN int borderdScrollArrows,
4116 IN int touchSensitive, IN int automaticScrolling, OUT BYTE * graphicsID, IN_OUT int * graphicsIDLen);
4117
4130 int
4131 lcd_addItemToList(IN BYTE * listGraphicsID, IN char * itemName, IN char * itemID,
4132 IN int selected);
4133
4142 int
4143 lcd_getSelectedListItem(IN BYTE * listGraphicsID, OUT char * itemID);
4144
4152 int
4153 lcd_getSelectedListItem_Len(IN BYTE * listGraphicsID, OUT char * itemID, IN_OUT int * itemIDLen);
4154
4160 int
4161 lcd_clearEventQueue();
4162
4290 int
4291 lcd_getInputEvent(IN int timeout, OUT int * dataReceived, OUT BYTE * eventType,
4292 OUT BYTE * graphicsID, OUT BYTE * eventData);
4293
4422 int
4423 lcd_getInputEvent_Len(IN int timeout, OUT int * dataReceived, OUT BYTE * eventType, IN_OUT int * eventTypeLen,
4424 OUT BYTE * graphicsID, IN_OUT int * graphicsIDLen, OUT BYTE * eventData, IN_OUT int * eventDataLen);
4425
4500 int
4501 lcd_createInputField(IN BYTE * specs, IN int specsLen, OUT BYTE * graphicId);
4502
4576 int
4577 lcd_createInputField_Len(IN BYTE * specs, IN int specsLen, OUT BYTE * graphicId, IN_OUT int * graphicIdLen);
4578
4588 int
4589 lcd_getInputFieldValue(IN BYTE * graphicId, OUT BYTE * retData, IN_OUT int * retDataLen);
4590
4600 int
4601 lcd_createScreen(IN char * screenName, IN int screenNameLen, OUT int * ScreenID);
4602
4611 int
4612 lcd_destroyScreen(IN char * screenName, IN int screenNameLen);
4613
4622 int
4623 lcd_getActiveScreen(OUT char * screenName, IN_OUT int * screenNameLen);
4624
4633 int
4634 lcd_showScreen(IN char * screenName, IN int screenNameLen);
4635
4651 int
4652 lcd_getButtonEvent(OUT int * screenID, OUT int * objectID, OUT char * screenName, IN_OUT int * screenNameLen,
4653 OUT char * objectName, IN_OUT int * objectNameLen, OUT int * isLongPress);
4654
4684 int
4685 lcd_addButton(IN char * screenName, IN int screenNameLen, IN char * buttonName, IN int buttonNameLen, IN BYTE type,
4686 IN BYTE alignment, IN int xCord, IN int yCord, IN char * label, IN int labelLen,
4687 OUT IDTLCDItem * returnItem);
4688
4721 int
4722 lcd_addEthernet(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen,
4723 IN BYTE alignment, IN int xCord, IN int yCord, OUT IDTLCDItem * returnItem);
4724
4763 int
4764 lcd_addLED(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen, IN BYTE alignment,
4765 IN int xCord, IN int yCord, OUT IDTLCDItem * returnItem, IN BYTE * LED, IN int LEDLen);
4766
4856 int
4857 lcd_addText(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen, IN BYTE alignment,
4858 IN int xCord, IN int yCord, IN int width, IN int height, IN BYTE fontID, IN BYTE * color, IN int colorLen,
4859 IN char * label, IN int labelLen, OUT IDTLCDItem * returnItem);
4860
4895 int
4896 lcd_addImage(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen, IN BYTE alignment,
4897 IN int xCord, IN int yCord, IN char * filename, IN int filenameLen, OUT IDTLCDItem * returnItem);
4898
4934 int
4935 lcd_addVideo(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen, IN BYTE alignment,
4936 IN int xCord, IN int yCord, IN char * filename, IN int filenameLen, OUT IDTLCDItem * returnItem);
4937
4975 int
4976 lcd_addExtVideo(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen,
4977 IN BYTE alignment, IN int xCord, IN int yCord, IN BYTE loop, IN BYTE numVideos, IN char * filenames,
4978 IN int filenamesLen, OUT IDTLCDItem * returnItem);
4979
4991 int
4992 lcd_cloneScreen(IN char * screenName, IN int screenNameLen, IN char * cloneName, IN int cloneNameLen,
4993 OUT int * cloneID);
4994
5008 int
5009 lcd_updateLabel(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen, IN char * label,
5010 IN int labelLen);
5011
5036 int
5037 lcd_updateColor(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen, IN BYTE * color,
5038 IN int colorLen);
5039
5059 int
5060 lcd_updatePosition(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen,
5061 IN BYTE alignment, IN int new_xCord, IN int new_yCord);
5062
5074 int
5075 lcd_removeItem(IN char * screenName, IN int screenNameLen, IN char * objectName, IN int objectNameLen);
5076
5084 int
5085 lcd_storeScreenInfo();
5086
5094 int
5095 lcd_loadScreenInfo();
5096
5104 int
5105 lcd_clearScreenInfo();
5106
5120 int
5121 lcd_getAllScreens(IN_OUT int * screenNumbers, OUT IDTScreenInfo * screenInfo);
5122
5138 int
5139 lcd_getAllObjects(IN char * screenName, IN int screenNameLen, IN_OUT int * objectNumbers,
5140 OUT IDTObjectInfo * objectInfo);
5141
5152 int
5153 lcd_queryScreenbyName(IN char * screenName, IN int screenNameLen, OUT int * result);
5154
5165 int
5166 lcd_linkUIWithTransactionMessageId(IN BYTE MessageId, IN char * screenName, IN int screenNameLen);
5167
5179 int
5180 lcd_queryObjectbyName(IN char * objectName, IN int objectNameLen, IN_OUT int * objectNumbers,
5181 OUT IDTScreenInfo * screenInfo);
5182
5195 int
5196 lcd_queryScreenbyID(IN int screenID, OUT int * result, OUT int * screenName, IN_OUT int * screenNameLen);
5197
5208 int
5209 lcd_queryObjectbyID(IN int objectID, OUT int * objectNumbers, OUT IDTScreenInfo * screenInfo);
5210
5219 int
5220 lcd_setBacklight(IN BYTE isBacklightOn, IN BYTE backlightVal);
5221
5232 int
5233 emv_getEMVKernelVersion(OUT char * version);
5234
5245 int
5246 emv_getEMVKernelVersion_Len(OUT char * version, IN_OUT int * versionLen);
5247
5257 int
5258 emv_getEMVKernelCheckValue(OUT BYTE * checkValue,
5259 IN_OUT int * checkValueLen);
5260
5269 int
5270 emv_getEMVConfigurationCheckValue(OUT BYTE * checkValue,
5271 IN_OUT int * checkValueLen);
5272
5280 void
5281 emv_setAutoAuthenticateTransaction(IN int authenticate);
5282
5290 void
5291 emv_setAutoCompleteTransaction(IN int complete);
5292
5297 int
5298 emv_getAutoAuthenticateTransaction();
5299
5304 int
5305 emv_getAutoCompleteTransaction();
5306
5311 void
5312 emv_allowFallback(IN int allow);
5313
5333 void
5334 emv_setTransactionParameters(IN double amount,
5335 IN double amtOther,
5336 IN int type,
5337 IN int timeout,
5338 IN BYTE * tags,
5339 IN int tagsLen);
5340
5361 int
5362 emv_startTransaction(IN double amount,
5363 IN double amtOther,
5364 IN int exponent,
5365 IN int type,
5366 IN int timeout,
5367 IN BYTE * tags,
5368 IN int tagsLen,
5369 IN int forceOnline);
5370
5395 int
5396 emv_activateTransaction(IN int timeout,
5397 IN BYTE * tags,
5398 IN int tagsLen,
5399 IN int forceOnline);
5400
5420 int
5421 emv_authenticateTransaction(IN BYTE * updatedTLV, IN int updatedTLVLen);
5422
5440 int
5441 emv_authenticateTransactionWithTimeout(IN int timeout, IN BYTE * updatedTLV, IN int updatedTLVLen);
5442
5467 int
5468 emv_completeTransaction(IN int commError,
5469 IN BYTE * authCode,
5470 IN int authCodeLen,
5471 IN BYTE * iad,
5472 IN int iadLen,
5473 IN BYTE * tlvScripts,
5474 IN int tlvScriptsLen,
5475 IN BYTE * tlv,
5476 IN int tlvLen);
5477
5484 int
5485 emv_cancelTransaction();
5486
5500 int
5501 emv_retrieveTransactionResult(IN BYTE * tags,
5502 IN int tagsLen,
5503 IDTTransactionData * cardData);
5504
5519 int
5520 emv_callbackResponseLCD(IN int type,
5521 byte selection);
5522
5534 int
5535 emv_callbackResponseMSR(IN BYTE * MSR, IN_OUT int MSRLen);
5536
5550 int
5551 emv_retrieveApplicationData(IN BYTE * AID,
5552 IN int AIDLen,
5553 OUT BYTE * tlv,
5554 IN_OUT int * tlvLen);
5555
5568 int
5569 emv_setApplicationData(IN BYTE * name,
5570 IN int nameLen,
5571 IN BYTE * tlv,
5572 IN int tlvLen);
5573
5586 int
5587 emv_setApplicationDataTLV(IN BYTE * tlv,
5588 IN int tlvLen);
5589
5600 int
5601 emv_removeApplicationData(IN BYTE * AID,
5602 IN int AIDLen);
5603
5611 int
5612 emv_removeAllApplicationData();
5613
5624 int
5625 emv_retrieveAIDList(OUT BYTE * AIDList,
5626 IN_OUT int * AIDListLen);
5627
5637 int
5638 emv_retrieveTerminalData(OUT BYTE * tlv,
5639 IN_OUT int * tlvLen);
5640
5654 int
5655 emv_setTerminalData(IN BYTE * tlv,
5656 IN int tlvLen);
5657
5671 int
5672 emv_setTerminalMajorConfiguration(IN int configuration);
5673
5681 int
5682 emv_removeTerminalData();
5683
5704 int
5705 emv_retrieveCAPK(IN BYTE * capk,
5706 IN int capkLen,
5707 OUT BYTE * key,
5708 IN_OUT int * keyLen);
5709
5727 int
5728 emv_setCAPK(IN BYTE * capk,
5729 IN int capkLen);
5730
5740 int
5741 emv_removeCAPK(IN BYTE * capk,
5742 IN int capkLen);
5743
5751 int
5752 emv_removeAllCAPK();
5753
5764 int
5765 emv_retrieveCAPKList(OUT BYTE * keys, IN_OUT int * keysLen);
5766
5775 int
5776 emv_retrieveTerminalID(OUT char * terminalID);
5777
5786 int
5787 emv_retrieveTerminalID_Len(OUT char * terminalID, IN_OUT int * terminalIDLen);
5788
5795 int
5796 emv_setTerminalID(IN char * terminalID);
5797
5808 int
5809 emv_retrieveCRL(OUT BYTE * list,
5810 IN_OUT int * lssLen);
5811
5823 int
5824 emv_setCRL(IN BYTE * list,
5825 IN int lsLen);
5826
5837 int
5838 emv_removeCRL(IN BYTE * list,
5839 IN int lsLen);
5840
5848 int
5849 emv_removeAllCRL();
5850
5856 int
5857 msr_clearMSRData();
5858
5866 int
5867 msr_getMSRData(OUT BYTE * reData,
5868 IN_OUT int * reLen);
5869
5875 int
5876 msr_cancelMSRSwipe();
5877
5886 int
5887 msr_startMSRSwipe(IN int _timeout);
5888
5889
5903 int
5904 executeTransaction(WorldPayData * data, pWP_callBack wpCallback, int requestOnly);
5905
5910 int
5911 cancelWorldPay();
5912
5913 void
5914 printfChar(BYTE * data, int dataLen);
5915
5922 void
5923 parseMSRData(IN BYTE * resData, IN int resLen,
5924 IN_OUT IDTMSRData * cardData);
5925
5939 int
5940 msr_getKeyFormatForICCDUKPT(OUT BYTE * format);
5941
5955 int
5956 msr_getKeyTypeForICCDUKPT(OUT BYTE * type);
5957
5970 int
5971 msr_setKeyFormatForICCDUKPT(IN BYTE format);
5972
5986 int
5987 msr_setKeyTypeForICCDUKPT(IN BYTE type);
5988
6008 int
6009 msr_captureMode(int isBufferMode,
6010 int withNotification);
6011
6017 int
6018 msr_flushTrackData();
6019
6030 int
6031 msr_setExpirationMask(int mask);
6032
6042 int
6043 msr_getExpirationMask(BYTE * value);
6044
6053 int
6054 msr_setClearPANID(BYTE val);
6055
6067 int
6068 msr_getClearPANID(BYTE * value);
6069
6084 int
6085 msr_setSwipeForcedEncryptionOption(int track1, int track2, int track3, int track3card0);
6086
6100 int
6101 msr_getSwipeForcedEncryptionOption(BYTE * option);
6102
6117 int
6118 msr_setSwipeMaskOption(int track1, int track2, int track3);
6119
6135 int
6136 msr_getSwipeMaskOption(BYTE * option);
6137
6143 int
6144 msr_disable();
6145
6157 int
6158 msr_getFunctionStatus(int * enable, int * isBufferMode, int * withNotification);
6159
6180 int
6181 pin_getPIN(IN int mode,
6182 IN int PANSource,
6183 IN char * iccPAN,
6184 IN int iccPANLen,
6185 IN int startTimeout,
6186 IN int entryTimeout,
6187 IN char * language,
6188 IN int languageLen);
6189
6197 int
6198 pin_cancelPINEntry();
6199
6208 int
6209 pin_setKeyValues(int mode);
6210
6223 int
6224 pin_getEncryptedOnlinePIN(IN int keyType,
6225 IN int timeout);
6226
6237 int
6238 pin_getPAN(IN int getCSC,
6239 IN int timeout);
6240
6261 int
6262 pin_promptCreditDebit(IN char * currencySymbol,
6263 IN int currencySymbolLen,
6264 IN char * displayAmount,
6265 IN int displayAmountLen,
6266 IN int timeout,
6267 OUT BYTE * retData,
6268 IN_OUT int * retDataLen);
6269
6288 int
6289 pin_getEncryptedPIN(int keyType,
6290 char * PAN,
6291 int PANLen,
6292 char * message,
6293 int messageLen,
6294 int timeout);
6295
6406 int
6407 pin_promptForKeyInput(int messageID,
6408 int languageID,
6409 int maskInput,
6410 int minLen,
6411 int maxLen,
6412 int timeout);
6413
6522 int
6523 pin_promptForAmountInput(int messageID,
6524 int languageID,
6525 int minLen,
6526 int maxLen,
6527 int timeout);
6528
6548 int
6549 pin_getFunctionKey(int timeout);
6550
6562 int
6563 pin_sendBeep(int frequency,
6564 int duration);
6565
6588 int
6589 pin_capturePin(IN int timeout, IN int type, IN char * PAN, IN int PANLen, IN int minPIN, IN int maxPIN,
6590 IN char * message, IN int messageLen);
6591
6616 int
6617 pin_capturePinExt(IN int type, IN char * PAN, IN int PANLen, IN int minPIN, IN int maxPIN, IN char * message,
6618 IN int messageLen, IN char * verify, IN int verifyLen);
6619
6647 int
6648 pin_promptForNumericKeyWithSwipe(IN int timeout, IN BYTE function, IN int minLen, IN int maxLen, IN char * line1,
6649 IN int line1Len, IN char * line2, IN int line2Len, BYTE * signature,
6650 IN int signatureLen);
6651
6673 int
6674 pin_promptForNumericKey(IN int timeout, IN int maskInput, IN int minLen, IN int maxLen, IN char * message,
6675 IN int messageLen, BYTE * signature, IN int signatureLen);
6676
6710 int
6711 pin_inputFromPrompt(BYTE mask, BYTE preClearText, BYTE postClearText, int minLen, int maxLen, char * lang,
6712 BYTE promptID, char * defaultResponse, int defaultResponseLen, int timeout);
6713
6730 int
6731 pin_promptForAmount(IN int timeout, IN int minLen, IN int maxLen, IN char * message, IN int messageLen,
6732 BYTE * signature, IN int signatureLen);
6733
6748 int
6749 pin_getPanEntry(IN int csc, IN int expDate, IN int ADR, IN int ZIP, IN int mod10CK, IN int timeout, IN int encPANOnly);
6750
6761 int
6762 lcd_savePrompt(int promptNumber,
6763 char * prompt,
6764 int promptLen);
6765
6775 int
6776 lcd_displayPrompt(int promptNumber,
6777 int lineNumber);
6778
6789 int
6790 lcd_displayMessage(int lineNumber,
6791 char * message,
6792 int messageLen);
6793
6801 int
6802 lcd_enableBacklight(int enable);
6803
6811 int
6812 lcd_getBacklightStatus(int * enabled);
6813
6823 int
6824 ws_requestCSR(OUT RequestCSR * csr);
6825
6837 int
6838 ws_loadSSLCert(IN char * name,
6839 IN int nameLen,
6840 IN char * dataDER,
6841 IN int dataDERLen);
6842
6852 int
6853 ws_revokeSSLCert(IN char * name,
6854 IN int nameLen);
6855
6865 int
6866 ws_deleteSSLCert(IN char * name,
6867 IN int nameLen);
6868
6877 int
6878 ws_getCertChainType(OUT int * type);
6879
6893 int
6894 ws_updateRootCertificate(IN char * name,
6895 IN int nameLen,
6896 IN char * dataDER,
6897 IN int dataDERLen,
6898 IN char * signature,
6899 IN int signatureLen);
6900
6957 int
6958 ctls_startTransaction(IN double amount,
6959 IN double amtOther,
6960 IN int type,
6961 IN const int _timeout,
6962 IN BYTE * tags,
6963 IN int tagsLen);
6964
7027 int
7028 ctls_activateTransaction(IN const int _timeout,
7029 IN BYTE * tags,
7030 IN int tagsLen);
7031
7039 int
7040 ctls_cancelTransaction();
7041
7055 int
7056 ctls_retrieveApplicationData(IN BYTE * AID,
7057 IN int AIDLen,
7058 OUT BYTE * tlv,
7059 IN_OUT int * tlvLen);
7060
7075 int
7076 ctls_setApplicationData(IN BYTE * tlv,
7077 IN int tlvLen);
7078
7089 int
7090 ctls_removeApplicationData(IN BYTE * AID,
7091 IN int AIDLen);
7092
7100 int
7101 ctls_removeAllApplicationData();
7102
7113 int
7114 ctls_retrieveAIDList(OUT BYTE * AIDList,
7115 IN_OUT int * AIDListLen);
7116
7128 int
7129 ctls_retrieveTerminalData(OUT BYTE * tlv,
7130 IN_OUT int * tlvLen);
7131
7148 int
7149 ctls_setTerminalData(IN BYTE * tlv,
7150 IN int tlvLen);
7151
7173 int
7174 ctls_retrieveCAPK(IN BYTE * capk,
7175 IN int capkLen,
7176 OUT BYTE * key,
7177 IN_OUT int * keyLen);
7178
7196 int
7197 ctls_setCAPK(IN BYTE * capk,
7198 IN int capkLen);
7199
7209 int
7210 ctls_removeCAPK(IN BYTE * capk,
7211 IN int capkLen);
7212
7220 int
7221 ctls_removeAllCAPK();
7222
7233 int
7234 ctls_retrieveCAPKList(OUT BYTE * keys,
7235 IN_OUT int * keysLen);
7236
7249 int
7250 ctls_setConfigurationGroup(IN BYTE * tlv,
7251 IN int tlvLen);
7252
7264 int
7265 ctls_getConfigurationGroup(IN int group,
7266 OUT BYTE * tlv,
7267 OUT int * tlvLen);
7268
7279 int
7280 ctls_getAllConfigurationGroups(OUT BYTE * tlv,
7281 IN_OUT int * tlvLen);
7282
7292 int
7293 ctls_removeConfigurationGroup(int group);
7294
7306 int
7307 ctls_displayOnlineAuthResult(IN int statusCode,
7308 IN BYTE * TLV,
7309 IN int TLVLen);
7310
7317 void
7318 parsePINBlockData(IN BYTE * resData,
7319 IN int resLen,
7320 IN_OUT IDTPINData * cardData);
7321
7328 void
7329 parsePINData(IN BYTE * resData,
7330 IN int resLen,
7331 IN_OUT IDTPINData * cardData);
7332
7333
7334 # ifdef __cplusplus
7335 }
7336 # endif
7337
7338
7339 #endif // ifndef __LIBIDT_DEVICE_H___
7340
IN
#define IN
lcd_clearScreenInfo
int lcd_clearScreenInfo()
lcd_displayText_Len
int lcd_displayText_Len(IN int posX, IN int posY, IN int displayWidth, IN int displayHeight, IN int fontDesignation, IN int fontID, IN int screenPosition, IN char *displayText, OUT BYTE *graphicsID, IN_OUT int *graphicsIDLen)
pin_getPanEntry
int pin_getPanEntry(IN int csc, IN int expDate, IN int ADR, IN int ZIP, IN int mod10CK, IN int timeout, IN int encPANOnly)
device_getMerchantRecord_Len
int device_getMerchantRecord_Len(IN int index, OUT BYTE *record, IN_OUT int *recordLen)
ctls_removeAllCAPK
int ctls_removeAllCAPK()
lcd_clearEventQueue
int lcd_clearEventQueue()
pRKI_callBack
void(* pRKI_callBack)(int, char *)
Definition: libIDT_Device.h:110
device_stopListenNotifications
int device_stopListenNotifications()
lcd_createInputField
int lcd_createInputField(IN BYTE *specs, IN int specsLen, OUT BYTE *graphicId)
lcd_removeItem
int lcd_removeItem(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen)
device_registerCardStatusFrontSwitchCallBk
void device_registerCardStatusFrontSwitchCallBk(pCSFS_callBack pCSFSf)
ctls_startTransaction
int ctls_startTransaction(IN double amount, IN double amtOther, IN int type, IN const int _timeout, IN BYTE *tags, IN int tagsLen)
device_readFileFromSD
int device_readFileFromSD(IN char *directoryName, IN int directoryNameLen, IN char *fileName, IN int fileNameLen, IN int startingOffset, IN int numBytes, OUT BYTE *fileData, IN_OUT int *fileDataLen)
lcd_startSlideShow
int lcd_startSlideShow(IN char *files, IN int filesLen, IN int posX, IN int posY, IN int posMode, IN int touchEnable, IN int recursion, IN int touchTerminate, IN int delay, IN int loops, IN int clearScreen)
iso8583_unpackMessage
int iso8583_unpackMessage(IN const DL_ISO8583_HANDLER *ISOHandler, IN const DL_UINT8 *packedData, IN DL_UINT16 packedDataLength, OUT DL_ISO8583_MSG *ISOMessage)
emv_retrieveTerminalData
int emv_retrieveTerminalData(OUT BYTE *tlv, IN_OUT int *tlvLen)
lcd_linkUIWithTransactionMessageId
int lcd_linkUIWithTransactionMessageId(IN BYTE MessageId, IN char *screenName, IN int screenNameLen)
msr_cancelMSRSwipe
int msr_cancelMSRSwipe()
device_stopQRCodeScan
int device_stopQRCodeScan()
felica_readWithMac
int felica_readWithMac(IN int blockCnt, IN BYTE *blockList, IN int blockListLen, OUT BYTE *blockData, OUT int *blockDataLen)
executeTransaction
int executeTransaction(WorldPayData *data, pWP_callBack wpCallback, int requestOnly)
device_setCameraParameters
int device_setCameraParameters(IN BYTE isAutoFocus, IN BYTE focalLength)
device_setNEO2DevicesConfigs
int device_setNEO2DevicesConfigs(IN const char *configs, IN int len)
device_setPollMode
int device_setPollMode(IN BYTE mode)
pin_getPIN
int pin_getPIN(IN int mode, IN int PANSource, IN char *iccPAN, IN int iccPANLen, IN int startTimeout, IN int entryTimeout, IN char *language, IN int languageLen)
pin_promptForNumericKeyWithSwipe
int pin_promptForNumericKeyWithSwipe(IN int timeout, IN BYTE function, IN int minLen, IN int maxLen, IN char *line1, IN int line1Len, IN char *line2, IN int line2Len, BYTE *signature, IN int signatureLen)
parseMSRData
void parseMSRData(IN BYTE *resData, IN int resLen, IN_OUT IDTMSRData *cardData)
device_setThreadStackSize
void device_setThreadStackSize(int threadSize)
lcd_getActiveScreen
int lcd_getActiveScreen(OUT char *screenName, IN_OUT int *screenNameLen)
pin_registerCallBk
void pin_registerCallBk(pPIN_callBack pPINf)
iso8583_get1987Handler
int iso8583_get1987Handler(OUT DL_ISO8583_HANDLER *ISOHandler)
device_getTamperStatus
int device_getTamperStatus(OUT int *isTampered)
lcd_getAllScreens
int lcd_getAllScreens(IN_OUT int *screenNumbers, OUT IDTScreenInfo *screenInfo)
lcd_addImage
int lcd_addImage(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE alignment, IN int xCord, IN int yCord, IN char *filename, IN int filenameLen, OUT IDTLCDItem *returnItem)
msr_flushTrackData
int msr_flushTrackData()
pin_getEncryptedPIN
int pin_getEncryptedPIN(int keyType, char *PAN, int PANLen, char *message, int messageLen, int timeout)
device_calibrateParameters
int device_calibrateParameters(BYTE delta)
msr_getSwipeForcedEncryptionOption
int msr_getSwipeForcedEncryptionOption(BYTE *option)
lcd_displayParagraph
int lcd_displayParagraph(IN int posX, IN int posY, IN int displayWidth, IN int displayHeight, IN int fontDesignation, IN int fontID, IN int displayProperties, IN char *displayText)
device_turnOnYellowLED
int device_turnOnYellowLED()
cancelWorldPay
int cancelWorldPay()
iso8583_getMessageField
int iso8583_getMessageField(IN DL_UINT16 dataField, IN DL_ISO8583_MSG *ISOMessage, OUT DL_ISO8583_MSG_FIELD *messageField)
device_lcdDisplayClear
int device_lcdDisplayClear()
config_setBeeperController
int config_setBeeperController(int firmwareControlBeeper)
pLog_callback
void(* pLog_callback)(BYTE, char *)
Definition: libIDT_Device.h:148
pCMR_callBack
void(* pCMR_callBack)(int, IDTCMRData *)
Definition: libIDT_Device.h:87
device_stopTakingPhoto
int device_stopTakingPhoto()
felica_authentication
int felica_authentication(IN BYTE *key, IN int keyLen)
lcd_queryScreenbyID
int lcd_queryScreenbyID(IN int screenID, OUT int *result, OUT int *screenName, IN_OUT int *screenNameLen)
pMessageHotplug
void(* pMessageHotplug)(int, int)
Definition: libIDT_Device.h:16
emv_removeAllCAPK
int emv_removeAllCAPK()
pin_getEncryptedOnlinePIN
int pin_getEncryptedOnlinePIN(IN int keyType, IN int timeout)
config_setEncryptionControl
int config_setEncryptionControl(int msr, int icc)
registerHotplugCallBk
void registerHotplugCallBk(pMessageHotplug pMsgHotplug)
msr_getMSRData
int msr_getMSRData(OUT BYTE *reData, IN_OUT int *reLen)
device_setConfigPath
int device_setConfigPath(const char *path)
icc_powerOnICC
int icc_powerOnICC(OUT BYTE *ATR, IN_OUT int *inLen)
config_getSerialNumber
int config_getSerialNumber(OUT char *sNumber)
iso8583_removeMessageField
int iso8583_removeMessageField(IN DL_UINT16 dataField, OUT DL_ISO8583_MSG *ISOMessage)
device_pollCardReader
int device_pollCardReader(OUT BYTE *status)
device_controlBeep
int device_controlBeep(int index, int frequency, int duration)
felica_poll
int felica_poll(IN BYTE *systemCode, IN int systemCodeLen, OUT BYTE *respData, OUT int *respDataLen)
ctls_setTerminalData
int ctls_setTerminalData(IN BYTE *tlv, IN int tlvLen)
lcd_updateColor
int lcd_updateColor(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE *color, IN int colorLen)
lcd_displayButton
int lcd_displayButton(IN int posX, IN int posY, IN int buttonWidth, IN int buttonHeight, IN int fontDesignation, IN int fontID, IN int displayPosition, IN char *buttonLabel, IN int buttonTextColorR, IN int buttonTextColorG, IN int buttonTextColorB, IN int buttonBackgroundColorR, IN int buttonBackgroundColorG, IN int buttonBackgroundColorB, OUT BYTE *graphicsID)
ws_loadSSLCert
int ws_loadSSLCert(IN char *name, IN int nameLen, IN char *dataDER, IN int dataDERLen)
pReadDataLog
void(* pReadDataLog)(BYTE *, int)
Definition: libIDT_Device.h:32
ctls_cancelTransaction
int ctls_cancelTransaction()
icc_exchangeAPDU
int icc_exchangeAPDU(IN BYTE *c_APDU, IN int cLen, OUT BYTE *reData, IN_OUT int *reLen)
config_getEncryptionControl
int config_getEncryptionControl(int *msr, int *icc)
lcd_customDisplayMode
int lcd_customDisplayMode(IN int enable)
pin_promptForKeyInput
int pin_promptForKeyInput(int messageID, int languageID, int maskInput, int minLen, int maxLen, int timeout)
lcd_captureSignature
int lcd_captureSignature(IN int timeout)
pin_promptForNumericKey
int pin_promptForNumericKey(IN int timeout, IN int maskInput, IN int minLen, IN int maxLen, IN char *message, IN int messageLen, BYTE *signature, IN int signatureLen)
device_getCameraParameters
int device_getCameraParameters(OUT BYTE *isAutoFocus, OUT BYTE *focalLength)
device_setTransactionExponent
void device_setTransactionExponent(int exponent)
lcd_getInputEvent_Len
int lcd_getInputEvent_Len(IN int timeout, OUT int *dataReceived, OUT BYTE *eventType, IN_OUT int *eventTypeLen, OUT BYTE *graphicsID, IN_OUT int *graphicsIDLen, OUT BYTE *eventData, IN_OUT int *eventDataLen)
felica_cancelCodeEntry
int felica_cancelCodeEntry()
lcd_queryObjectbyName
int lcd_queryObjectbyName(IN char *objectName, IN int objectNameLen, IN_OUT int *objectNumbers, OUT IDTScreenInfo *screenInfo)
lcd_createScreen
int lcd_createScreen(IN char *screenName, IN int screenNameLen, OUT int *ScreenID)
ftpComm_callBack
void(* ftpComm_callBack)(int, int, int)
Definition: libIDT_Device.h:141
device_getSDKWaitTime
int device_getSDKWaitTime()
pin_capturePin
int pin_capturePin(IN int timeout, IN int type, IN char *PAN, IN int PANLen, IN int minPIN, IN int maxPIN, IN char *message, IN int messageLen)
emv_setTransactionParameters
void emv_setTransactionParameters(IN double amount, IN double amtOther, IN int type, IN int timeout, IN BYTE *tags, IN int tagsLen)
lcd_createList
int lcd_createList(IN int posX, IN int posY, IN int numOfColumns, IN int numOfRows, IN int fontDesignation, IN int fontID, IN int verticalScrollArrowsVisible, IN int borderedListItems, IN int borderdScrollArrows, IN int touchSensitive, IN int automaticScrolling, OUT BYTE *graphicsID)
device_controlIndicator
int device_controlIndicator(IN int indicator, IN int enable)
registerLogCallBk
void registerLogCallBk(pSendDataLog pFSend, pReadDataLog pFRead)
device_enablePassThrough
int device_enablePassThrough(int enablePassThrough)
device_controlLED_ICC
int device_controlLED_ICC(int controlMode, int interval)
device_activateTransaction
int device_activateTransaction(IN const int _timeout, IN BYTE *tags, IN int tagsLen)
lcd_getInputEvent
int lcd_getInputEvent(IN int timeout, OUT int *dataReceived, OUT BYTE *eventType, OUT BYTE *graphicsID, OUT BYTE *eventData)
device_turnOffYellowLED
int device_turnOffYellowLED()
emv_setCAPK
int emv_setCAPK(IN BYTE *capk, IN int capkLen)
ctls_activateTransaction
int ctls_activateTransaction(IN const int _timeout, IN BYTE *tags, IN int tagsLen)
emv_getEMVKernelCheckValue
int emv_getEMVKernelCheckValue(OUT BYTE *checkValue, IN_OUT int *checkValueLen)
emv_callbackResponseMSR
int emv_callbackResponseMSR(IN BYTE *MSR, IN_OUT int MSRLen)
emv_retrieveTransactionResult
int emv_retrieveTransactionResult(IN BYTE *tags, IN int tagsLen, IDTTransactionData *cardData)
iso8583_displayMessage
int iso8583_displayMessage(IN DL_ISO8583_HANDLER *ISOHandler, IN DL_ISO8583_MSG *ISOMessage)
felica_read
int felica_read(IN BYTE *serviceCodeList, IN int serviceCodeListLen, IN int blockCnt, IN BYTE *blockList, IN int blockListLen, OUT BYTE *blockData, OUT int *blockDataLen)
emv_cancelTransaction
int emv_cancelTransaction()
device_isAttached
int device_isAttached(int deviceType)
device_startQRCodeScanWithDisplayWindowInfo
int device_startQRCodeScanWithDisplayWindowInfo(IN int _timeout, IN int x, IN int y, IN int width, IN int height)
emv_retrieveApplicationData
int emv_retrieveApplicationData(IN BYTE *AID, IN int AIDLen, OUT BYTE *tlv, IN_OUT int *tlvLen)
ws_deleteSSLCert
int ws_deleteSSLCert(IN char *name, IN int nameLen)
lcd_savePrompt
int lcd_savePrompt(int promptNumber, char *prompt, int promptLen)
device_setCoreDumpLogFile
int device_setCoreDumpLogFile(IN char *filename, IN int filenameLen)
device_pollCardReader_Len
int device_pollCardReader_Len(OUT BYTE *status, IN_OUT int *statusLen)
lcd_setBackgroundImage
int lcd_setBackgroundImage(IN char *file, IN int fileLen, IN int enable)
pin_promptForAmountInput
int pin_promptForAmountInput(int messageID, int languageID, int minLen, int maxLen, int timeout)
device_getL100PassThroughMode
int device_getL100PassThroughMode()
lcd_displayText
int lcd_displayText(IN int posX, IN int posY, IN int displayWidth, IN int displayHeight, IN int fontDesignation, IN int fontID, IN int screenPosition, IN char *displayText, OUT BYTE *graphicsID)
ws_revokeSSLCert
int ws_revokeSSLCert(IN char *name, IN int nameLen)
lcd_clearDisplay
int lcd_clearDisplay(IN BYTE control)
device_getMerchantRecord
int device_getMerchantRecord(IN int index, OUT BYTE *record)
device_stopAudio
int device_stopAudio()
ctls_removeCAPK
int ctls_removeCAPK(IN BYTE *capk, IN int capkLen)
msr_clearMSRData
int msr_clearMSRData()
device_playAudio
int device_playAudio(IN char *fileName, IN int fileNameLen, IN int onSD)
device_SendDataCommand
int device_SendDataCommand(IN BYTE *cmd, IN int cmdLen, IN BYTE *data, IN int dataLen, OUT BYTE *response, IN_OUT int *respLen)
msr_disable
int msr_disable()
device_getDRS
int device_getDRS(BYTE *codeDRS, int *codeDRSLen)
emv_setAutoAuthenticateTransaction
void emv_setAutoAuthenticateTransaction(IN int authenticate)
ctls_setApplicationData
int ctls_setApplicationData(IN BYTE *tlv, IN int tlvLen)
emv_removeCAPK
int emv_removeCAPK(IN BYTE *capk, IN int capkLen)
emv_getAutoAuthenticateTransaction
int emv_getAutoAuthenticateTransaction()
device_toSDCard
void device_toSDCard(int forSDCard)
lcd_registerCallBk
void lcd_registerCallBk(pLCD_callBack pLCDf)
lcd_getBacklightStatus
int lcd_getBacklightStatus(int *enabled)
httpComm_callBack
void(* httpComm_callBack)(BYTE *, int)
Definition: libIDT_Device.h:117
device_setCancelTransactionMode
int device_setCancelTransactionMode(int mode)
device_close
int device_close()
felica_requestService
int felica_requestService(IN BYTE *nodeCode, IN int nodeCodeLen, OUT BYTE *respData, OUT int *respDataLen)
device_getDateTime
int device_getDateTime(OUT BYTE *dateTime)
lcd_addText
int lcd_addText(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE alignment, IN int xCord, IN int yCord, IN int width, IN int height, IN BYTE fontID, IN BYTE *color, IN int colorLen, IN char *label, IN int labelLen, OUT IDTLCDItem *returnItem)
msr_getKeyFormatForICCDUKPT
int msr_getKeyFormatForICCDUKPT(OUT BYTE *format)
device_setMerchantRecord
int device_setMerchantRecord(int index, int enabled, char *merchantID, char *merchantURL)
icc_getKeyFormatForICCDUKPT
int icc_getKeyFormatForICCDUKPT(OUT BYTE *format)
msr_setKeyFormatForICCDUKPT
int msr_setKeyFormatForICCDUKPT(IN BYTE format)
iso8583_setMessageField
int iso8583_setMessageField(IN DL_UINT16 dataField, IN const DL_UINT8 *data, OUT DL_ISO8583_MSG *ISOMessage)
emv_setAutoCompleteTransaction
void emv_setAutoCompleteTransaction(IN int complete)
device_configureButtons
int device_configureButtons(IN BYTE done, IN BYTE swipe, IN BYTE delay)
emv_allowFallback
void emv_allowFallback(IN int allow)
device_setBurstMode
int device_setBurstMode(IN BYTE mode)
lcd_addExtVideo
int lcd_addExtVideo(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE alignment, IN int xCord, IN int yCord, IN BYTE loop, IN BYTE numVideos, IN char *filenames, IN int filenamesLen, OUT IDTLCDItem *returnItem)
device_enableBlueLED
int device_enableBlueLED(IN BYTE *data, IN int dataLen)
lcd_getButtonEvent
int lcd_getButtonEvent(OUT int *screenID, OUT int *objectID, OUT char *screenName, IN_OUT int *screenNameLen, OUT char *objectName, IN_OUT int *objectNameLen, OUT int *isLongPress)
pin_promptForAmount
int pin_promptForAmount(IN int timeout, IN int minLen, IN int maxLen, IN char *message, IN int messageLen, BYTE *signature, IN int signatureLen)
emv_authenticateTransaction
int emv_authenticateTransaction(IN BYTE *updatedTLV, IN int updatedTLVLen)
device_getFirmwareVersion_Len
int device_getFirmwareVersion_Len(OUT char *firmwareVersion, IN_OUT int *firmwareVersionLen)
iso8583_serializeToXML
int iso8583_serializeToXML(IN DL_ISO8583_HANDLER *ISOHandler, IN DL_ISO8583_MSG *ISOMessage, OUT BYTE *serializedMessage, OUT int *serializedMessageLength)
device_getCurrentDeviceType
int device_getCurrentDeviceType()
config_getSerialNumber_Len
int config_getSerialNumber_Len(OUT char *sNumber, IN_OUT int *sNumberLen)
device_startTakingPhoto
int device_startTakingPhoto(IN int _timeout)
pFW_callBack
void(* pFW_callBack)(int, int, int, int, int)
Definition: libIDT_Device.h:100
device_setSystemLanguage
int device_setSystemLanguage(char *language)
device_startTransaction
int device_startTransaction(IN double amount, IN double amtOther, IN int type, IN const int _timeout, IN BYTE *tags, IN int tagsLen)
iso8583_freeMessage
int iso8583_freeMessage(IN DL_ISO8583_MSG *ISOMessage)
msr_registerCallBkp
void msr_registerCallBkp(pMSR_callBackp pMSRf)
lcd_addVideo
int lcd_addVideo(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE alignment, IN int xCord, IN int yCord, IN char *filename, IN int filenameLen, OUT IDTLCDItem *returnItem)
msr_setClearPANID
int msr_setClearPANID(BYTE val)
emv_registerCallBk
void emv_registerCallBk(pEMV_callBack pEMVf)
device_getThreadStackSize
int device_getThreadStackSize()
pPIN_callBack
void(* pPIN_callBack)(int, IDTPINData *)
Definition: libIDT_Device.h:73
device_registerCameraCallBk
void device_registerCameraCallBk(pCMR_callBack pCMRf)
lcd_setDisplayImage
int lcd_setDisplayImage(IN char *file, IN int fileLen, IN int posX, IN int posY, IN int posMode, IN int touchEnable, IN int clearScreen)
lcd_destroyScreen
int lcd_destroyScreen(IN char *screenName, IN int screenNameLen)
lcd_storeScreenInfo
int lcd_storeScreenInfo()
device_getFirmwareVersion
int device_getFirmwareVersion(OUT char *firmwareVersion)
msr_getExpirationMask
int msr_getExpirationMask(BYTE *value)
device_init
int device_init()
device_createDirectory
int device_createDirectory(IN char *directoryName, IN int directoryNameLen)
device_buzzerOnOff
int device_buzzerOnOff()
lcd_getSelectedListItem_Len
int lcd_getSelectedListItem_Len(IN BYTE *listGraphicsID, OUT char *itemID, IN_OUT int *itemIDLen)
device_pingDevice
int device_pingDevice()
emv_retrieveCRL
int emv_retrieveCRL(OUT BYTE *list, IN_OUT int *lssLen)
device_disableBlueLED
int device_disableBlueLED()
emv_removeApplicationData
int emv_removeApplicationData(IN BYTE *AID, IN int AIDLen)
ctls_getAllConfigurationGroups
int ctls_getAllConfigurationGroups(OUT BYTE *tlv, IN_OUT int *tlvLen)
loyalty_registerCallBk
void loyalty_registerCallBk(pEMV_callBack pEMVf)
device_outputLog
int device_outputLog(IN char *filename, IN int filenameLen)
device_enableRFAntenna
int device_enableRFAntenna(IN int enableAntenna)
lcd_queryScreenbyName
int lcd_queryScreenbyName(IN char *screenName, IN int screenNameLen, OUT int *result)
device_cancelTransaction
int device_cancelTransaction()
device_setSleepModeTime
int device_setSleepModeTime(int time)
device_getAudioVolume
int device_getAudioVolume(OUT BYTE *volume)
device_enterStopMode
int device_enterStopMode()
emv_getAutoCompleteTransaction
int emv_getAutoCompleteTransaction()
iso8583_deserializeFromXML
int iso8583_deserializeFromXML(IN BYTE *serializedMessage, IN int serializedMessageLength, OUT DL_ISO8583_HANDLER *ISOHandler, OUT DL_ISO8583_MSG *ISOMessage)
emv_getEMVKernelVersion_Len
int emv_getEMVKernelVersion_Len(OUT char *version, IN_OUT int *versionLen)
loyalty_startTransaction
int loyalty_startTransaction(IN double amount, IN double amtOther, IN int type, IN const int _timeout, IN BYTE *tags, IN int tagsLen, IN const int cardType, IN const int iccReadType)
device_getDeviceMemoryUsageInfo
int device_getDeviceMemoryUsageInfo(OUT int *freeHeapSize, OUT int *notFreedBlockCnt, OUT int *minEverFreeHeapSize)
loyalty_cancelTransactionSilent
int loyalty_cancelTransactionSilent(int enable)
device_controlLED
int device_controlLED(byte indexLED, byte control, int intervalOn, int intervalOff)
emv_removeAllApplicationData
int emv_removeAllApplicationData()
lcd_getSelectedListItem
int lcd_getSelectedListItem(IN BYTE *listGraphicsID, OUT char *itemID)
device_controlUserInterface
int device_controlUserInterface(IN BYTE *values)
device_deleteDirectory
int device_deleteDirectory(IN char *dirName, IN int dirNameLen)
msr_setSwipeMaskOption
int msr_setSwipeMaskOption(int track1, int track2, int track3)
iso8583_packMessage
int iso8583_packMessage(IN const DL_ISO8583_HANDLER *ISOHandler, IN const DL_ISO8583_MSG *ISOMessage, OUT DL_UINT8 *packedData, OUT DL_UINT16 *packedDataLength)
config_setLEDController
int config_setLEDController(int firmwareControlMSRLED, int firmwareControlICCLED)
emv_removeTerminalData
int emv_removeTerminalData()
device_getL80PassThroughMode
int device_getL80PassThroughMode()
msr_getSwipeMaskOption
int msr_getSwipeMaskOption(BYTE *option)
lcd_loadScreenInfo
int lcd_loadScreenInfo()
lcd_addButton
int lcd_addButton(IN char *screenName, IN int screenNameLen, IN char *buttonName, IN int buttonNameLen, IN BYTE type, IN BYTE alignment, IN int xCord, IN int yCord, IN char *label, IN int labelLen, OUT IDTLCDItem *returnItem)
felica_SendCommand
int felica_SendCommand(IN BYTE *command, IN int commandLen, OUT BYTE *respData, OUT int *respDataLen)
pin_capturePinExt
int pin_capturePinExt(IN int type, IN char *PAN, IN int PANLen, IN int minPIN, IN int maxPIN, IN char *message, IN int messageLen, IN char *verify, IN int verifyLen)
emv_retrieveAIDList
int emv_retrieveAIDList(OUT BYTE *AIDList, IN_OUT int *AIDListLen)
lcd_queryObjectbyID
int lcd_queryObjectbyID(IN int objectID, OUT int *objectNumbers, OUT IDTScreenInfo *screenInfo)
device_SendDataCommandNEO
int device_SendDataCommandNEO(IN int cmd, IN int subCmd, IN BYTE *data, IN int dataLen, OUT BYTE *response, IN_OUT int *respLen)
set_open_com_port_timeout
void set_open_com_port_timeout(int timeout)
emv_retrieveTerminalID_Len
int emv_retrieveTerminalID_Len(OUT char *terminalID, IN_OUT int *terminalIDLen)
device_startListenNotifications
int device_startListenNotifications()
emv_retrieveCAPK
int emv_retrieveCAPK(IN BYTE *capk, IN int capkLen, OUT BYTE *key, IN_OUT int *keyLen)
loyalty_cancelTransaction
int loyalty_cancelTransaction()
msr_captureMode
int msr_captureMode(int isBufferMode, int withNotification)
device_setRTCDateTime
int device_setRTCDateTime(IN BYTE *dateTime, IN int dateTimeLen)
icc_getICCReaderStatus
int icc_getICCReaderStatus(OUT BYTE *status)
iso8583_get2003Handler
int iso8583_get2003Handler(OUT DL_ISO8583_HANDLER *ISOHandler)
lcd_setBacklight
int lcd_setBacklight(IN BYTE isBacklightOn, IN BYTE backlightVal)
icc_getFunctionStatus
int icc_getFunctionStatus(OUT int *enabled, OUT int *withNotification)
pin_getPAN
int pin_getPAN(IN int getCSC, IN int timeout)
emv_removeCRL
int emv_removeCRL(IN BYTE *list, IN int lsLen)
icc_disable
int icc_disable()
device_pollForToken
int device_pollForToken(IN int timeout, OUT BYTE *respData, IN_OUT int *respDataLen)
device_registerFWCallBk
void device_registerFWCallBk(pFW_callBack pFWf)
device_setSDKWaitTime
void device_setSDKWaitTime(int waitTime)
ctls_removeConfigurationGroup
int ctls_removeConfigurationGroup(int group)
icc_powerOffICC
int icc_powerOffICC()
emv_startTransaction
int emv_startTransaction(IN double amount, IN double amtOther, IN int exponent, IN int type, IN int timeout, IN BYTE *tags, IN int tagsLen, IN int forceOnline)
pWP_callBack
void(* pWP_callBack)(char *, int, int)
Definition: libIDT_Device.h:53
pin_setKeyValues
int pin_setKeyValues(int mode)
lcd_updateLabel
int lcd_updateLabel(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN char *label, IN int labelLen)
device_controlLED_MSR
int device_controlLED_MSR(byte control, int intervalOn, int intervalOff)
pEMV_callBack
void(* pEMV_callBack)(int, int, BYTE *, int, IDTTransactionData *, EMV_Callback *, int)
Definition: libIDT_Device.h:40
config_setCmdTimeOutDuration
int config_setCmdTimeOutDuration(IN int millisecond)
lcd_displayMessage
int lcd_displayMessage(int lineNumber, char *message, int messageLen)
msr_setKeyTypeForICCDUKPT
int msr_setKeyTypeForICCDUKPT(IN BYTE type)
ctls_retrieveCAPKList
int ctls_retrieveCAPKList(OUT BYTE *keys, IN_OUT int *keysLen)
emv_setApplicationDataTLV
int emv_setApplicationDataTLV(IN BYTE *tlv, IN int tlvLen)
pin_sendBeep
int pin_sendBeep(int frequency, int duration)
emv_setApplicationData
int emv_setApplicationData(IN BYTE *name, IN int nameLen, IN BYTE *tlv, IN int tlvLen)
felica_writeWithMac
int felica_writeWithMac(IN BYTE blockNum, IN BYTE *blockData, IN int blockDataLen)
emv_setCRL
int emv_setCRL(IN BYTE *list, IN int lsLen)
ctls_registerCallBkp
void ctls_registerCallBkp(pMSR_callBackp pMSRf)
device_queryFile
int device_queryFile(IN char *directoryName, IN int directoryNameLen, IN char *fileName, IN int fileNameLen, OUT int *isExist, OUT BYTE *timeStamp, IN_OUT int *timeStampLen, OUT char *fileSize, IN_OUT int *fileSizeLen)
icc_setKeyTypeForICCDUKPT
int icc_setKeyTypeForICCDUKPT(IN BYTE type)
msr_setExpirationMask
int msr_setExpirationMask(int mask)
device_getKeyStatus
int device_getKeyStatus(int *newFormat, BYTE *status, int *statusLen)
msr_getClearPANID
int msr_getClearPANID(BYTE *value)
iso8583_get1993Handler
int iso8583_get1993Handler(OUT DL_ISO8583_HANDLER *ISOHandler)
ws_requestCSR
int ws_requestCSR(OUT RequestCSR *csr)
emv_removeAllCRL
int emv_removeAllCRL()
OUT
#define OUT
lcd_setForeBackColor
int lcd_setForeBackColor(IN BYTE *foreRGB, IN int foreRGBLen, IN BYTE *backRGB, IN int backRGBLen)
emv_authenticateTransactionWithTimeout
int emv_authenticateTransactionWithTimeout(IN int timeout, IN BYTE *updatedTLV, IN int updatedTLVLen)
lcd_displayButton_Len
int lcd_displayButton_Len(IN int posX, IN int posY, IN int buttonWidth, IN int buttonHeight, IN int fontDesignation, IN int fontID, IN int displayPosition, IN char *buttonLabel, IN int buttonTextColorR, IN int buttonTextColorG, IN int buttonTextColorB, IN int buttonBackgroundColorR, IN int buttonBackgroundColorG, IN int buttonBackgroundColorB, OUT BYTE *graphicsID, IN_OUT int *graphicsIDLen)
ctls_removeAllApplicationData
int ctls_removeAllApplicationData()
ctls_removeApplicationData
int ctls_removeApplicationData(IN BYTE *AID, IN int AIDLen)
lcd_createInputField_Len
int lcd_createInputField_Len(IN BYTE *specs, IN int specsLen, OUT BYTE *graphicId, IN_OUT int *graphicIdLen)
device_enhancedPassthrough
int device_enhancedPassthrough(IN BYTE *data, IN int dataLen)
emv_setTerminalID
int emv_setTerminalID(IN char *terminalID)
device_getSpectrumProKSN_Len
int device_getSpectrumProKSN_Len(IN int type, OUT BYTE *KSN, IN_OUT int *KSNLen)
felica_write
int felica_write(IN BYTE *serviceCodeList, IN int serviceCodeListLen, IN int blockCnt, IN BYTE *blockList, IN int blockListLen, IN BYTE *blockData, IN int blockDataLen, OUT BYTE *statusFlag, OUT int *statusFlagLen)
device_selfCheck
int device_selfCheck()
device_getDateTime_Len
int device_getDateTime_Len(OUT BYTE *dateTime, IN_OUT int *dateTimeLen)
ctls_getConfigurationGroup
int ctls_getConfigurationGroup(IN int group, OUT BYTE *tlv, OUT int *tlvLen)
emv_retrieveTerminalID
int emv_retrieveTerminalID(OUT char *terminalID)
config_getBeeperController
int config_getBeeperController(int *firmwareControlBeeper)
lcd_showScreen
int lcd_showScreen(IN char *screenName, IN int screenNameLen)
lcd_cancelSlideShow
int lcd_cancelSlideShow(OUT BYTE *statusCode, IN_OUT int *statusCodeLen)
lcd_enableBacklight
int lcd_enableBacklight(int enable)
ctls_setCAPK
int ctls_setCAPK(IN BYTE *capk, IN int capkLen)
msr_registerCallBk
void msr_registerCallBk(pMSR_callBack pMSRf)
device_isConnected
int device_isConnected()
icc_getAPDU_KSN
int icc_getAPDU_KSN(OUT BYTE *KSN, IN_OUT int *inLen)
ws_getCertChainType
int ws_getCertChainType(OUT int *type)
pSendDataLog
void(* pSendDataLog)(BYTE *, int)
Definition: libIDT_Device.h:24
parsePINBlockData
void parsePINBlockData(IN BYTE *resData, IN int resLen, IN_OUT IDTPINData *cardData)
ws_updateRootCertificate
int ws_updateRootCertificate(IN char *name, IN int nameLen, IN char *dataDER, IN int dataDERLen, IN char *signature, IN int signatureLen)
setAbsoluteLibraryPath
int setAbsoluteLibraryPath(const char *absoluteLibraryPath)
lcd_createList_Len
int lcd_createList_Len(IN int posX, IN int posY, IN int numOfColumns, IN int numOfRows, IN int fontDesignation, IN int fontID, IN int verticalScrollArrowsVisible, IN int borderedListItems, IN int borderdScrollArrows, IN int touchSensitive, IN int automaticScrolling, OUT BYTE *graphicsID, IN_OUT int *graphicsIDLen)
emv_getEMVConfigurationCheckValue
int emv_getEMVConfigurationCheckValue(OUT BYTE *checkValue, IN_OUT int *checkValueLen)
device_setAudioVolume
int device_setAudioVolume(IN BYTE volume)
emv_activateTransaction
int emv_activateTransaction(IN int timeout, IN BYTE *tags, IN int tagsLen, IN int forceOnline)
lcd_addEthernet
int lcd_addEthernet(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE alignment, IN int xCord, IN int yCord, OUT IDTLCDItem *returnItem)
msr_getKeyTypeForICCDUKPT
int msr_getKeyTypeForICCDUKPT(OUT BYTE *type)
msr_startMSRSwipe
int msr_startMSRSwipe(IN int _timeout)
SDK_Version
char * SDK_Version()
pMSR_callBack
void(* pMSR_callBack)(int, IDTMSRData)
Definition: libIDT_Device.h:61
icc_getKeyTypeForICCDUKPT
int icc_getKeyTypeForICCDUKPT(OUT BYTE *type)
device_getSpectrumProKSN
int device_getSpectrumProKSN(IN int type, OUT BYTE *KSN)
lcd_addItemToList
int lcd_addItemToList(IN BYTE *listGraphicsID, IN char *itemName, IN char *itemID, IN int selected)
emv_completeTransaction
int emv_completeTransaction(IN int commError, IN BYTE *authCode, IN int authCodeLen, IN BYTE *iad, IN int iadLen, IN BYTE *tlvScripts, IN int tlvScriptsLen, IN BYTE *tlv, IN int tlvLen)
device_listDirectory
int device_listDirectory(IN char *directoryName, IN int directoryNameLen, IN int recursive, IN int onSD, OUT char *directory, IN_OUT int *directoryLen)
lcd_displayPrompt
int lcd_displayPrompt(int promptNumber, int lineNumber)
lcd_getInputFieldValue
int lcd_getInputFieldValue(IN BYTE *graphicId, OUT BYTE *retData, IN_OUT int *retDataLen)
device_enableExternalLCDMessages
int device_enableExternalLCDMessages(IN int enableExtLCDMsg)
emv_callbackResponseLCD
int emv_callbackResponseLCD(IN int type, byte selection)
device_registerRKICallBk
void device_registerRKICallBk(pRKI_callBack pRKIf)
device_startRKI
int device_startRKI(const char *caPath, int isProduction)
msr_getFunctionStatus
int msr_getFunctionStatus(int *enable, int *isBufferMode, int *withNotification)
device_enableL80PassThrough
int device_enableL80PassThrough(int enableL80PassThrough)
v4Comm_callBack
void(* v4Comm_callBack)(BYTE, BYTE, BYTE *, int)
Definition: libIDT_Device.h:126
device_startQRCodeScan
int device_startQRCodeScan(IN int _timeout)
emv_setTerminalData
int emv_setTerminalData(IN BYTE *tlv, IN int tlvLen)
device_rebootDevice
int device_rebootDevice()
ctls_retrieveCAPK
int ctls_retrieveCAPK(IN BYTE *capk, IN int capkLen, OUT BYTE *key, IN_OUT int *keyLen)
device_getButtonConfiguration
int device_getButtonConfiguration(OUT BYTE *done, OUT BYTE *swipe, OUT BYTE *delay)
config_getModelNumber_Len
int config_getModelNumber_Len(OUT char *sNumber, IN_OUT int *sNumberLen)
iso8583_getField
int iso8583_getField(IN DL_UINT16 dataField, IN DL_ISO8583_HANDLER *ISOHandler, OUT DL_ISO8583_FIELD_DEF *field)
device_setCurrentDevice
int device_setCurrentDevice(int deviceType)
ctls_retrieveApplicationData
int ctls_retrieveApplicationData(IN BYTE *AID, IN int AIDLen, OUT BYTE *tlv, IN_OUT int *tlvLen)
lcd_resetInitialState
int lcd_resetInitialState()
lcd_addLED
int lcd_addLED(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE alignment, IN int xCord, IN int yCord, OUT IDTLCDItem *returnItem, IN BYTE *LED, IN int LEDLen)
IN_OUT
#define IN_OUT
device_verifyBackdoorKey
int device_verifyBackdoorKey()
msr_setSwipeForcedEncryptionOption
int msr_setSwipeForcedEncryptionOption(int track1, int track2, int track3, int track3card0)
device_getRTCDateTime
int device_getRTCDateTime(IN BYTE *dateTime, IN_OUT int *dateTimeLen)
lcd_cloneScreen
int lcd_cloneScreen(IN char *screenName, IN int screenNameLen, IN char *cloneName, IN int cloneNameLen, OUT int *cloneID)
emv_setTerminalMajorConfiguration
int emv_setTerminalMajorConfiguration(IN int configuration)
icc_enable
int icc_enable(IN int withNotification)
pin_cancelPINEntry
int pin_cancelPINEntry()
device_deleteFile
int device_deleteFile(IN char *fileName, IN int fileNameLen)
ctls_retrieveTerminalData
int ctls_retrieveTerminalData(OUT BYTE *tlv, IN_OUT int *tlvLen)
device_SendDataCommandITP
int device_SendDataCommandITP(IN BYTE *cmd, IN int cmdLen, IN BYTE *data, IN int dataLen, OUT BYTE *response, IN_OUT int *respLen)
device_lcdDisplayLine2Message
int device_lcdDisplayLine2Message(IN BYTE *message, IN int messageLen)
emv_getEMVKernelVersion
int emv_getEMVKernelVersion(OUT char *version)
ctls_retrieveAIDList
int ctls_retrieveAIDList(OUT BYTE *AIDList, IN_OUT int *AIDListLen)
icc_setKeyFormatForICCDUKPT
int icc_setKeyFormatForICCDUKPT(IN BYTE format)
device_getIDGStatusCodeString
void device_getIDGStatusCodeString(IN int returnCode, OUT char *despcrition)
pLCD_callBack
void(* pLCD_callBack)(int, IDTLCDItem *)
Definition: libIDT_Device.h:80
pin_inputFromPrompt
int pin_inputFromPrompt(BYTE mask, BYTE preClearText, BYTE postClearText, int minLen, int maxLen, char *lang, BYTE promptID, char *defaultResponse, int defaultResponseLen, int timeout)
rs232_device_init
int rs232_device_init(int deviceType, int port_number, int brate)
parsePINData
void parsePINData(IN BYTE *resData, IN int resLen, IN_OUT IDTPINData *cardData)
pin_promptCreditDebit
int pin_promptCreditDebit(IN char *currencySymbol, IN int currencySymbolLen, IN char *displayAmount, IN int displayAmountLen, IN int timeout, OUT BYTE *retData, IN_OUT int *retDataLen)
device_cancelTransactionSilent
int device_cancelTransactionSilent(int enable)
emv_retrieveCAPKList
int emv_retrieveCAPKList(OUT BYTE *keys, IN_OUT int *keysLen)
device_getDriveFreeSpace
int device_getDriveFreeSpace(OUT int *free, OUT int *used)
ctls_displayOnlineAuthResult
int ctls_displayOnlineAuthResult(IN int statusCode, IN BYTE *TLV, IN int TLVLen)
pin_getFunctionKey
int pin_getFunctionKey(int timeout)
device_updateFirmware
int device_updateFirmware(IN BYTE *firmwareData, IN int firmwareDataLen, IN char *firmwareName, IN int encryptionType, IN BYTE *keyBlob, IN int keyBlobLen)
pCSFS_callBack
void(* pCSFS_callBack)(BYTE status)
Definition: libIDT_Device.h:94
device_lcdDisplayLine1Message
int device_lcdDisplayLine1Message(IN BYTE *message, IN int messageLen)
device_enableL100PassThrough
int device_enableL100PassThrough(int enableL100PassThrough)
iso8583_initializeMessage
int iso8583_initializeMessage(OUT DL_ISO8583_MSG *ISOMessage)
device_getResponseCodeString
void device_getResponseCodeString(IN int returnCode, OUT char *despcrition)
icc_exchangeEncryptedAPDU
int icc_exchangeEncryptedAPDU(IN BYTE *c_APDU, IN int cLen, OUT BYTE *reData, IN_OUT int *reLen)
felica_getCode
int felica_getCode()
config_getModelNumber
int config_getModelNumber(OUT char *sNumber)
config_getLEDController
int config_getLEDController(int *firmwareControlMSRLED, int *firmwareControlICCLED)
pMSR_callBackp
void(* pMSR_callBackp)(int, IDTMSRData *)
Definition: libIDT_Device.h:67
ctls_setConfigurationGroup
int ctls_setConfigurationGroup(IN BYTE *tlv, IN int tlvLen)
lcd_updatePosition
int lcd_updatePosition(IN char *screenName, IN int screenNameLen, IN char *objectName, IN int objectNameLen, IN BYTE alignment, IN int new_xCord, IN int new_yCord)
device_transferFile
int device_transferFile(IN char *fileName, IN int fileNameLen, IN BYTE *file, IN int fileLen)
lcd_getAllObjects
int lcd_getAllObjects(IN char *screenName, IN int screenNameLen, IN_OUT int *objectNumbers, OUT IDTObjectInfo *objectInfo)