13.7 IDT_NEO2 Class Reference
107
Returns
RETURN_CODE:
• 0x0000: Success: no error - RETURN_CODE_DO_SUCCESS
• 0x0001: Disconnect: no response from reader - RETURN_CODE_ERR_DISCONNECT
• 0x0002: Invalid Response: invalid response data - RETURN_CODE_ERR_CMD_RESPONSE
• 0x0003: Timeout: time out for task or CMD - RETURN_CODE_ERR_TIMEDOUT
• 0x0004: Invalid Parameter: wrong parameter - RETURN_CODE_ERR_INVALID_PARAMETER
• 0x0005: MSR Busy: SDK is doing MSR or ICC task - RETURN_CODE_SDK_BUSY_MSR
• 0x0006: PINPad Busy: SDK is doing PINPad task - RETURN_CODE_SDK_BUSY_PINPAD
• 0x0007: Unknown: Unknown error - RETURN_CODE_ERR_OTHER
• 0x0100 through 0xFFFF refer to IDT_Device::getResponseCodeString:()
13.7.2.56
- (RETURN_CODE) emv_retrieveTerminalData: (NSDictionary
∗∗
)
responseData
Retrieve Terminal Data
Retrieves the tag values associated with the terminal configuration file. This will be a combination of uneditable
major configuration tags for the kernel configuration (example 9F33, Terminal Capabilities), and editable tags set
with IDT_Device::emv_setTerminalData:() (example DF13, Terminal Action Code - Default)
The TLV data returned as a NSDictionary, with the Key being the tag name as a NSString representation of the tag
hex value (example "DF13"), and the Object being the Value as NSData (example 0x00058003FF).
The data returned will be from the range of allowable kernel EMV tags. Please see "EMV Tag Reference" at the end
of this document for the listing.
Returns
RETURN_CODE:
• 0x0000: Success: no error - RETURN_CODE_DO_SUCCESS
• 0x0001: Disconnect: no response from reader - RETURN_CODE_ERR_DISCONNECT
• 0x0002: Invalid Response: invalid response data - RETURN_CODE_ERR_CMD_RESPONSE
• 0x0003: Timeout: time out for task or CMD - RETURN_CODE_ERR_TIMEDOUT
• 0x0004: Invalid Parameter: wrong parameter - RETURN_CODE_ERR_INVALID_PARAMETER
• 0x0005: MSR Busy: SDK is doing MSR or ICC task - RETURN_CODE_SDK_BUSY_MSR
• 0x0006: PINPad Busy: SDK is doing PINPad task - RETURN_CODE_SDK_BUSY_PINPAD
• 0x0007: Unknown: Unknown error - RETURN_CODE_ERR_OTHER
• 0x0100 through 0xFFFF refer to IDT_Device::getResponseCodeString:()
13.7.2.57
- (RETURN_CODE) emv_retrieveTransactionResult: (NSData
∗
)
tags
retrievedTags:(NSDictionary
∗∗
)
retrievedTags
Retrieve Transaction Results
Retrieves the requested tag values (if they exist) from the last transaction.
The TLV data returned as a NSDictionary, with the Key being the tag name as a NSString representation of the tag
hex value (example "5A"), and the Object being the Value as NSData (example 0x41359276429372938).
IDTech iOS SDK Guide for NEO2 #80152802-001
Содержание Vivopay Neo 2
Страница 1: ...Apple iOS SDK Guide for NEO2 80152802 001 Rev A...
Страница 10: ......
Страница 29: ...6 2 Import the necessary framework libraries 19 IDTech iOS SDK Guide for NEO2 80152802 001...
Страница 47: ...7 2 Import the Necessary Framework Libraries 37 IDTech iOS SDK Guide for NEO2 80152802 001...