9 #import <Foundation/Foundation.h> 10 #import "IDTMSRData.h" 11 #import "IDT_Device.h" 18 - (void) plugStatusChange:(BOOL)deviceInserted;
19 - (void) dataInOutMonitor:(NSData*)data incoming:(BOOL)isIncoming;
29 - (void) deviceMessage:(NSString*)message;
32 - (void) bypassData:(NSData*)data;
69 - (void) ctlsEvent:(Byte)event scheme:(Byte)scheme data:(Byte)data;
85 - (void) lcdDisplay:(
int)mode lines:(NSArray*)lines;
95 - (void) bluetoothPickerAlert:(UIAlertView*)view;
106 - (void) bluetoothDeviceNames:(NSArray*)names;
109 - (void) gen2Data:(NSData*)tlv;
131 - (void) pinRequest:(EMV_PIN_MODE_Types)mode key:(NSData*)key PAN:(NSData*)PAN startTO:(
int)startTO intervalTO:(
int)intervalTO language:(NSString*)language;
147 - (void) emvTransactionData:(
IDTEMVData*)emvData errorCode:(
int)error;
160 @property(strong) id<IDT_VP3300_Delegate>
delegate;
246 -(RETURN_CODE) device_setTerminalData:(NSData*)tags;
268 -(RETURN_CODE) device_retrieveTerminalData:(NSData**)responseData;
291 -(RETURN_CODE) device_addTLVToTerminalData:(NSData*)tlv;
309 -(RETURN_CODE) device_getTransactionResults:(NSData**)results;
323 -(RETURN_CODE) ctls_getConfigurationGroup:(
int)group response:(NSDictionary**)response;
334 -(void) processBypassResponse:(NSData*)data;
372 -(RETURN_CODE) ctls_removeApplicationData:(NSString*)AID;
384 -(RETURN_CODE) ctls_removeCAPK:(NSData*)capk;
396 -(RETURN_CODE) ctls_removeConfigurationGroup:(
int)group;
409 -(RETURN_CODE) ctls_retrieveAIDList:(NSArray**)response;
421 -(RETURN_CODE) ctls_retrieveApplicationData:(NSString*)AID response:(NSDictionary**)response;
440 -(RETURN_CODE) ctls_retrieveCAPK:(NSData*)capk key:(NSData**)key;
452 -(RETURN_CODE) ctls_retrieveCAPKList:(NSArray**)keys;
466 -(RETURN_CODE) ctls_retrieveTerminalData:(NSData**)tlv;
480 -(RETURN_CODE) device_sendGen2Cmd:(NSData*)tlv response:(NSData**)response;
498 -(RETURN_CODE) ctls_setApplicationData:(NSData*)tlv;
517 -(RETURN_CODE) ctls_setCAPK:(NSData*)key;
533 -(RETURN_CODE) ctls_setConfigurationGroup:(NSData*)tlv;
547 -(RETURN_CODE) ctls_setTerminalData:(NSData*)tlv;
599 -(RETURN_CODE)
ctls_startTransaction:(
double)amount type:(
int)type timeout:(
int)timeout tags:(NSMutableDictionary *)tags;
658 -(RETURN_CODE) device_getFirmwareVersion:(NSString**)response;
679 -(bool) device_enableBLEDeviceSearch:(NSUUID*)identifier;
694 - (void)setServiceUUID:(nullable NSArray<CBUUID *> *)serviceUUIDs;
714 -(void) device_setBLEFriendlyName:(NSString*)friendlyName;
761 -(RETURN_CODE) device_getAutoPollTransactionResults:(
IDTEMVData**)result;
775 -(NSString *) device_getResponseCodeString: (
int) errorCode;
792 -(bool) device_isConnected:(IDT_DEVICE_Types)device;
807 -(RETURN_CODE) device_sendIDGCommand:(
unsigned char)command subCommand:(
unsigned char)subCommand data:(NSData*)data response:(NSData**)response;
822 -(RETURN_CODE) device_sendIDGCommandV3:(
unsigned char)command subCommand:(
unsigned char)subCommand data:(NSData*)data response:(NSData**)response;
844 -(RETURN_CODE) device_setAudioVolume:(
float)val;
865 -(RETURN_CODE) device_setPassThrough:(BOOL)enablePassThrough;
878 -(RETURN_CODE) device_setBurstMode:(
int) mode;
891 -(RETURN_CODE) device_setPollMode:(
int) mode;
954 -(RETURN_CODE) device_getMerchantRecord:(
int)index record:(NSData**)record;
968 -(RETURN_CODE) device_setMerchantRecord:(
int)index enabled:(BOOL)enabled merchantID:(NSString*)merchantID merchantURL:(NSString*)merchantURL;
995 -(RETURN_CODE) emv_authenticateTransaction:(NSData*)tags;
1012 -(RETURN_CODE) emv_callbackResponseLCD:(
int)mode selection:(
unsigned char) selection;
1030 -(RETURN_CODE) emv_callbackResponsePIN:(EMV_PIN_MODE_Types)mode KSN:(NSData*)KSN PIN:(NSData*)PIN;
1074 -(RETURN_CODE) emv_completeOnlineEMVTransaction:(BOOL)isSuccess hostResponseTags:(NSData*)tags;
1086 -(void) emv_disableAutoAuthenticateTransaction:(BOOL)disable;
1108 -(RETURN_CODE) emv_getEMVL2Version:(NSString**)response;
1129 -(RETURN_CODE) emv_removeApplicationData:(NSString*)AID;
1151 -(RETURN_CODE) emv_removeCAPK:(NSString*)rid index:(NSString*)index ;
1164 -(RETURN_CODE) emv_setTerminalMajorConfiguration:(
int)configuration;
1177 -(RETURN_CODE) emv_getTerminalMajorConfiguration:(NSUInteger**)configuration;
1239 -(RETURN_CODE) emv_retrieveAIDList:(NSArray**)response;
1270 -(RETURN_CODE) emv_retrieveApplicationData:(NSString*)AID response:(NSDictionary**)responseAID;
1294 -(RETURN_CODE) emv_retrieveCAPK:(NSString*)rid index:(NSString*)index response:(
CAKey**)response;
1328 -(RETURN_CODE) emv_retrieveCAPKFile:(NSString*)rid index:(NSString*)index response:(NSData**)response;
1349 -(RETURN_CODE) emv_retrieveCAPKList:(NSArray**)response;
1372 -(RETURN_CODE) emv_retrieveCRLList:(NSMutableArray**)response;
1399 -(RETURN_CODE) emv_retrieveTerminalData:(NSDictionary**)responseData;
1422 -(RETURN_CODE) emv_retrieveTransactionResult:(NSData*)tags retrievedTags:(NSDictionary**)retrievedTags;
1470 -(RETURN_CODE) emv_setApplicationData:(NSString*)aidName configData:(NSDictionary*)data;
1491 -(RETURN_CODE) emv_setCAPK:(
CAKey)key;
1510 -(RETURN_CODE) emv_setCAPKFile:(NSData*)file;
1535 -(RETURN_CODE) emv_setCRLEntries:(NSData*)data;
1585 -(RETURN_CODE) emv_setTerminalData:(NSDictionary*)data;
1617 -(RETURN_CODE) emv_startTransaction:(
double)amount amtOther:(
double)amtOther type:(
int)type timeout:(
int)timeout tags:(NSData*)tags forceOnline:(BOOL)forceOnline fallback:(BOOL)fallback;
1636 -(RETURN_CODE) emv_getEMVKernelCheckValue:(NSString**)response;
1647 -(RETURN_CODE) emv_getEMVConfigurationCheckValue:(NSString**)response;
1658 -(RETURN_CODE) emv_callbackResponseMSR:(NSData*)MSR;
1673 -(RETURN_CODE) ctls_getAllConfigGroups:(NSData**)response;
1687 -(RETURN_CODE) ctls_getAllConfigurationGroups:(NSDictionary<NSString*, NSDictionary*>**)response;
1699 -(RETURN_CODE) config_getSerialNumber:(NSString**)response;
1715 -(RETURN_CODE) icc_exchangeAPDU:(NSData*)dataAPDU response:(
APDUResponse**)response;
1746 -(RETURN_CODE) icc_getICCReaderStatus:(
ICCReaderStatus**)readerStatus;
1763 -(RETURN_CODE) icc_powerOnICC:(NSData**)response;
1781 -(RETURN_CODE) icc_powerOffICC:(NSString**)error;
1798 -(RETURN_CODE) icc_getKeyFormatForICCDUKPT:(NSData**)format;
1815 -(RETURN_CODE) icc_setKeyFormatForICCDUKPT:(NSData*)encryption;
1874 -(RETURN_CODE) device_startTransaction:(
double)amount amtOther:(
double)amtOther type:(
int)type timeout:(
int)timeout tags:(NSData*)tags forceOnline:(BOOL)forceOnline fallback:(BOOL)fallback;
1886 -(RETURN_CODE) device_getPollMode:(NSData**)mode;
1901 -(RETURN_CODE) device_setQuickChipHIDMode:(Byte)mode;
1943 -(RETURN_CODE) device_getProductType:(NSData**)type;
1960 -(RETURN_CODE) device_getProcessorType:(NSData**)type;
1983 -(RETURN_CODE) device_getHardwareInfo:(NSString**)response;
1994 -(RETURN_CODE) device_getUIDofMCU:(NSString**)response;
2020 -(RETURN_CODE) device_getDateTime:(NSData**)dateTime;
2046 -(RETURN_CODE) device_controlLED:(Byte)indexLED control:(Byte)control;
2090 -(RETURN_CODE) device_controlUserInterface:(NSData*)values;
2101 -(RETURN_CODE) device_getCashTranRiskPara:(NSData**)tlv;
2113 -(RETURN_CODE) device_getDrlReaderRiskPara:(Byte)index tlv:(NSData**)tlv;
2124 -(RETURN_CODE) device_getModuleVer:(NSString**)moduleVer;
2135 -(RETURN_CODE) emv_getEMVKernelVersion:(NSString**)response;
2146 -(RETURN_CODE) emv_getEMVKernelVersionExt:(NSString**)response;
2154 -(void) setReaderAttached:(BOOL)attached;
2169 + (NSString*) createFastEMVData:(
IDTEMVData*)emvData;
2186 - (void)scanForBLEDevices:(NSTimeInterval)scanTime serviceUUIDs:(nullable NSArray<CBUUID *> *)serviceUUIDs options:(nullable NSDictionary<NSString *,
id> *)options;
2203 - (void)scanForBLEDeviceNames:(NSTimeInterval)scanTime serviceUUIDs:(nullable NSArray<CBUUID *> *)serviceUUIDs options:(nullable NSDictionary<NSString *,
id> *)options;
2296 -(RETURN_CODE) activateTransaction:(NSMutableDictionary<NSString*,NSString*> *_Nullable)tags timeout:(
int)timeout;
BOOL device_isAudioReaderConnected()
RETURN_CODE device_setDateTime()
RETURN_CODE device_syncTime()
void deviceDisconnected()
Fires when device disconnects.
RETURN_CODE device_pingDevice()
RETURN_CODE emv_cancelTransaction()
void deviceConnected()
Fires when device connects. If a connection is established before the delegate is established (no del...
Definition: IDTMSRData.h:21
RETURN_CODE ctls_startTransaction()
Definition: IDT_VP3300.h:14
bool device_disableBLEDeviceSearch()
RETURN_CODE device_cancelTransaction()
NSString * device_getBLEFriendlyName()
Definition: APDUResponse.h:14
RETURN_CODE device_connectToAudioReader()
RETURN_CODE emv_removeCRLList()
RETURN_CODE device_rebootDevice()
RETURN_CODE emv_removeAllApplicationData()
RETURN_CODE msr_cancelMSRSwipe()
Definition: IDTCommon.h:13
Definition: IDTCommon.h:42
RETURN_CODE device_syncClock()
id< IDT_VP3300_Delegate > bypassDelegate
Definition: IDT_VP3300.h:156
RETURN_CODE ctls_removeAllCAPK()
RETURN_CODE device_cancelConnectToAudioReader()
NSUUID * device_connectedBLEDevice()
void device_disconnectBLE()
void setBLEDeviceTypeVP3300()
RETURN_CODE emv_removeTerminalData()
RETURN_CODE msr_startMSRSwipe()
void disableAudioDetection()
IDT_VP3300 * sharedController()
id< IDT_VP3300_Delegate > delegate
Definition: IDT_VP3300.h:155
Definition: IDT_VP3300.h:154
RETURN_CODE device_startRKI()
Definition: IDTEMVData.h:16
RETURN_CODE ctls_cancelTransaction()