#import <IDT_VP3300.h>
Protocol methods established for IDT_VP3300 class
- (void) bluetoothDeviceNames: |
|
(NSArray *) |
names |
|
|
optional |
Bluetooth Device Names When a bluetooth name scan is requested, this delegate will return a NSArray with the names of the found devices
- Parameters
-
names | NSArray of device names: |
- (void) bluetoothPickerAlert: |
|
(UIAlertView *) |
view |
|
|
optional |
Bluetooth Picker Alert When a bluetooth scan is requested, this delegate will return an UIAlertView for displaying to allow the selection of a found device
- Parameters
-
- (void) bypassData: |
|
(NSData *) |
data |
|
|
optional |
When bypass output is enabled, all data intended for the current device will be sent here .
- Parameters
-
data | The data intended for the device |
- (void) ctlsEvent: |
|
(Byte) |
event |
scheme: |
|
(Byte) |
scheme |
data: |
|
(Byte) |
data |
|
|
| |
|
optional |
Contactless Event During a Contactless transaction, if events are enabled, they will be sent to this protocol,
- Parameters
-
event | Event Type:
- 01 = LED Event
- 02 = Buzzer Event
- 03 = LCD Message
|
scheme | LCD Message Scheme |
data | Data
- When Event Type 01: – 0x00 = LED0 off – 0x10 = LED1 off – 0x20 = LED2 off – 0x30 = LED3 off – 0xF0 = ALL off – 0x01 = LED0 on – 0x11 = LED1 on – 0x21 = LED2 on – 0x31 = LED3 on – 0xF1 = ALL on
- When Event Type 02: – 0x10 = Short Beep No Change – 0x11 = Short Beep No Change – 0x12 = Double Short Beep – 0x13 = Triple Short Beep – 0x20 = 200ms Beep – 0x21 = 400ms Beep – 0x22 = 600ms Beep
- When Event Type 03: – Message ID (please refer to table in NEO Reference Guide)
|
- (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) gen2Data: |
|
(NSData *) |
tlv |
|
|
optional |
Receives Gen2 TLV data.
- Parameters
-
tlv | TLV data from gen2 event |
- (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: