102
Class Documentation
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.46
- (RETURN_CODE) emv_getTerminalMajorConfiguration: (NSUInteger
∗∗
)
configuration
Gets the terminal major configuration in ICS .
Parameters
configuration
A configuration value, range 1-5
• 1 = 1C
• 2 = 2C
• 3 = 3C
• 4 = 4C
• 5 = 5C
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
13.7.2.47
- (RETURN_CODE) emv_removeApplicationData: (NSString
∗
)
AID
Remove Application Data by AID
This will REMOVE the an AID configuration file and all the tlv data associated with that AID.
Parameters
AID
Name of
in ASCII, example "A0000000031020". Must be between 5 and 16 characters If
null or empty string is passed, it will remove ALL application data
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
#80152504-001 IDTech iOS SDK Guide for NEO2