IDTECH NEO2 Manual page 121

Apple ios sdk guide
Hide thumbs Also See for NEO2:
Table of Contents

Advertisement

13.7 IDT_NEO2 Class Reference
• 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.62 - (RETURN_CODE) emv_setTerminalMajorConfiguration: (int) configuration
Sets 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.63 - (RETURN_CODE) emv_startTransaction: (double) amount amtOther:(double) amtOther type:(int) type timeout:(int)
timeout tags:(NSData ) tags forceOnline:(BOOL) forceOnline fallback:(BOOL) fallback
Start EMV Transaction Request
Authorizes the EMV transaction for an ICC card
The tags will be returned in the emvTransactionData delegate protocol.
By default, auto authorize is ENABLED. If auto authorize is DISABLED, this function will complete with a return of
EMV_RESULT_CODE_START_TRANSACTION_SUCCESS to emvTransactionData delegate protocol, and then
IDT_NEO2::emv_authenticateTransaction() must be executed. If auto authorize is ENABLED (default), IDT_N
EO2::emv_authenticateTransaction() will automatically be executed after receiving the result EMV_RESULT_C
ODE_START_TRANSACTION_SUCCESS. The auto authorize can be enabled/disabled with
AuthenticateTransaction:
Parameters
amount
Transaction amount value (tag value 9F02)
amtOther
Other amount value, if any (tag value 9F03)
type
Transaction type (tag value 9C).
timeout
Timeout value in seconds.
tags
Any other tags to be included in the request. Passed as NSData. Example, tag 9F0C with
amount 0x000000000100 would be 0x9F0C06000000000100 If tags 9F02 (amount),9F03
(other amount), or 9C (transaction type) are included, they will take priority over these
values supplied as individual parameters to this method. Tag DFEE1A can be used to
specify tags to be returned in response, in addition to the default tags. Example
DFEE1A049F029F03 will return tags 9F02 and 9F03 with the response
IDTech iOS SDK Guide for NEO2 #80152802-001
111
emv_disableAuto

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NEO2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF