11 #import <Foundation/Foundation.h> 12 #import "IDTMSRData.h" 13 #import "APDUResponse.h" 14 #import "IDT_Device.h" 25 - (void) plugStatusChange:(BOOL)deviceInserted;
26 - (void) dataInOutMonitor:(NSData*)data incoming:(BOOL)isIncoming;
33 - (void) swipeMSRData:(IDTMSRData*)cardData;
34 - (void) deviceMessage:(NSString*)message;
71 -(void) eventFunctionICC: (Byte) nICC_Attached;
85 @property(strong) id<IDT_UniPay_Delegate>
delegate;
123 -(RETURN_CODE) config_getModelNumber:(NSString**)response;
135 -(RETURN_CODE) config_getSerialNumber:(NSString**)response;
146 -(BOOL) config_setCmdTimeOutDuration: (
float) nSecond;
160 -(RETURN_CODE) config_setSerialNumber:(NSString*)strSN;
206 -(RETURN_CODE) device_getBatteryVoltage:(NSString**)response;
217 -(RETURN_CODE) device_getFirmwareVersion:(NSString**)response;
232 -(RETURN_CODE) device_getKSN:(
int)keySlot ksn:(NSData**)ksn;
243 -(RETURN_CODE) device_getLevelAndBaud:(NSString**)response;
349 -(NSString *) device_getResponseCodeString: (
int) errorCode;
381 -(bool) device_isConnected:(IDT_DEVICE_Types)device;
409 -(RETURN_CODE) device_sendDataCommand:(NSData*)cmd calcLRC:(BOOL)lrc response:(NSData**)response;
421 -(RETURN_CODE) device_setAudioVolume:(
float)val;
461 -(RETURN_CODE) icc_exchangeAPDU:(NSData*)dataAPDU encrypted:(BOOL)encrypted response:(APDUResponse**)response;
487 -(RETURN_CODE) icc_exchangeEncryptedAPDU:(NSData*)dataAPDU response:(APDUResponse**)response;
509 -(RETURN_CODE) icc_exchangeMultiAPDU:(NSArray*)dataAPDU response:(NSData**)response;
522 -(RETURN_CODE) icc_getAPDU_KSN:(NSData**)ksn;
539 -(RETURN_CODE) icc_getExpiryDateOption:(NSString**)response;
589 -(RETURN_CODE) icc_getKeyFormatForICCDUKPT:(NSString**)response;
603 -(RETURN_CODE) icc_getKeyTypeForICCDUKPT:(NSString**)response;
620 -(RETURN_CODE) icc_powerOffICC:(NSString**)error;
638 -(RETURN_CODE) icc_powerOnICC:(NSData**)response;
655 -(RETURN_CODE) icc_setICCNotification:(BOOL)turnON;
673 -(RETURN_CODE) icc_setKeyFormatForICCDUKPT:(
int)encryption;
693 -(RETURN_CODE) icc_setKeyTypeForICCDUKPT:(
int)encryption;
714 -(RETURN_CODE) icc_loadDUKPTKey:(DUKPT_KEY_Type)type ksn:(NSString*)hexKSN initialKey:(NSString*)hexInitKey;
742 -(RETURN_CODE) msr_getClearPANID:(NSString**)response;
755 -(RETURN_CODE) msr_getExpirationMask:(NSString**)response;
768 -(RETURN_CODE) msr_getSwipeEncryption:(NSString**)response;
784 -(RETURN_CODE) msr_getSwipeForcedEncryptionOption:(NSString**)response;
799 -(RETURN_CODE) msr_getSwipeMaskOption:(NSString**)response;
815 -(RETURN_CODE) msr_setClearPANID:(
int)digits;
830 -(RETURN_CODE) msr_setExpirationMask:(BOOL)masked;
843 -(RETURN_CODE) msr_setSwipeEncryption:(
int)encryption;
861 -(RETURN_CODE) msr_setSwipeForcedEncryptionOption:(BOOL)track1 track2:(BOOL)track2 track3:(BOOL)track3 track3card0:(BOOL)track3card0;
878 -(RETURN_CODE) msr_setSwipeMaskOption:(BOOL)track1 track2:(BOOL)track2 track3:(BOOL)track3;
908 -(RETURN_CODE) msr_startMSRSwipe:(
int)track;
RETURN_CODE device_startRKI()
void deviceConnected()
Fires when device connects. If a connection is established before the delegate is established (no del...
void deviceDisconnected()
Fires when device disconnects.
RETURN_CODE device_rebootDevice()
Definition: IDT_UniPay.h:81
Definition: IDT_UniPay.h:20
RETURN_CODE device_cancelConnectToAudioReader()
RETURN_CODE msr_cancelMSRSwipe()
Definition: IDTCommon.h:13
id< IDT_UniPay_Delegate > delegate
Definition: IDT_UniPay.h:82
IDT_UniPay * sharedController()
RETURN_CODE device_connectToAudioReader()
BOOL device_isAudioReaderConnected()