13.7 IDT_NEO2 Class Reference
97
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
13.7.2.35
- (RETURN_CODE) device_setMerchantRecord: (int)
index
enabled:(bool)
enabled
merchantID:(NSString
∗
)
merchantID
merchantURL:(NSString
∗
)
merchantURL
Set Merchant Record Sets the merchant record for ApplePay VAS
Parameters
index
Merchant Record index, valid values 1-6
enabled
Merchant Enabled/Valid flag
merchantID
Merchant unique identifer registered with Apple. Example com.idtechproducts.applePay
merchantURL
Merchant URL, when applicable
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
13.7.2.36
- (RETURN_CODE) device_setPassThrough: (BOOL)
enablePassThrough
Set Pass Through
Sets Pass-Through mode on NEO2
Parameters
enablePassThrough
TRUE = Pass through enabled
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.37
- (RETURN_CODE) device_setPollMode: (int)
mode
Send Poll Mode
Sets the poll mode forthe device. Auto Poll keeps reader active, Poll On Demand only polls when requested by
terminal
IDTech iOS SDK Guide for NEO2 #80152802-001