#import <IDT_VP3300.h>
Protocol methods established for IDT_VP3300 class
- (void) dataInOutMonitor: |
|
(NSData *) |
data |
incoming: |
|
(BOOL) |
isIncoming |
|
|
| |
|
optional |
All incoming/outgoing data going to the device can be monitored through this delegate.
- Parameters
-
data | The serial data represented as a NSData object |
isIncoming | The direction of the data
TRUE specifies data being received from the device,
FALSE indicates data being sent to the device.
|
- (void) deviceMessage: |
|
(NSString *) |
message |
|
|
optional |
Receives messages from the framework
- Parameters
-
message | String message transmitted by framework |
- (void) emvTransactionData: |
|
(IDTEMVData *) |
emvData |
errorCode: |
|
(int) |
error |
|
|
| |
|
optional |
EMV Transaction Data
This protocol will receive results from IDT_Device::startEMVTransaction:otherAmount:timeout:cashback:additionalTags:()
- Parameters
-
emvData | EMV Results Data. Result code, card type, encryption type, masked tags, encrypted tags, unencrypted tags and KSN |
error | The error code as defined in the errors.h file |
- (void) lcdDisplay: |
|
(int) |
mode |
lines: |
|
(NSArray *) |
lines |
|
|
| |
|
optional |
LCD Display Request During an EMV transaction, this delegate will receive data to clear virtual LCD display, display messages, display menu, or display language. Applies to UniPay III
- Parameters
-
mode | LCD Display Mode:
- 0x01: Menu Display. A selection must be made to resume the transaction
- 0x02: Normal Display get function key. A function must be selected to resume the transaction
- 0x03: Display without input. Message is displayed without pausing the transaction
- 0x04: List of languages are presented for selection. A selection must be made to resume the transaction
- 0x10: Clear Screen. Command to clear the LCD screen
|
- (void) pinRequest: |
|
(EMV_PIN_MODE_Types) |
mode |
key: |
|
(NSData *) |
key |
PAN: |
|
(NSData *) |
PAN |
startTO: |
|
(int) |
startTO |
intervalTO: |
|
(int) |
intervalTO |
language: |
|
(NSString *) |
language |
|
|
| |
|
optional |
PIN Request During an EMV transaction, this delegate will receive data that is a request to collect a PIN
- Parameters
-
mode | PIN Mode:
- EMV_PIN_MODE_CANCEL = 0X00,
- EMV_PIN_MODE_ONLINE_PIN_DUKPT = 0X01,
- EMV_PIN_MODE_ONLINE_PIN_MKSK = 0X02,
- EMV_PIN_MODE_OFFLINE_PIN = 0X03
|
key | Either DUKPT or SESSION, depending on mode. If offline plaintext, value is nil |
PAN | PAN for calculating PINBlock |
startTO | Timeout value to start PIN entry |
intervalTO | Timeout value between key presses |
language | "EN"=English, "ES"=Spanish, "ZH"=Chinese, "FR"=French |
- (void) plugStatusChange: |
|
(BOOL) |
deviceInserted |
|
|
optional |
Monitors the headphone jack for device insertion/removal.
- Parameters
-
deviceInserted | TRUE = device inserted, FALSE = device removed |
Receives card data from MSR swipe.
- Parameters
-
cardData | Captured card data from MSR swipe |
The documentation for this protocol was generated from the following file: