0X0100 Through 0Xffff Refer To Idt_Device::getresponsecodestring:() - IDTECH NEO2 Manual

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

Advertisement

13.7 IDT_NEO2 Class Reference
The TLV data in that AID is returned as a NSDictionary, with the Key being the tag name as a NSString
representation of the tag hex value (example "9F06"), and the Object being the Value as NSData (example
0xa0000000031010).
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.
Parameters
AID
Name of
characters
responseAID
The response returned from the method as a dictionary with Key/Object to match TagValues as
follows:
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.53 - (RETURN_CODE) emv_retrieveCAPKFile: (NSString ) rid index:(NSString ) index response:(NSData
Retrieve Certificate Authority Public Key
• BTPay 200
Retrieves the CAPK as specified by the RID/Index passed as a parameter in the
be in the response parameter
Parameters
rid
The RID of the key to retrieve
index
The Index of the key to retrieve
response
Response returned as a NSData object with the following data:
• 5 bytes RID
• 1 byte Index
• 1 byte Hash Algorithm
• 1 byte Encryption Algorithm
• 20 bytes HashValue
• 4 bytes Public Key Exponent
• 2 bytes Modulus Length
• Variable bytes Modulus
IDTech iOS SDK Guide for NEO2 #80152802-001
ApplicationID
in ASCII, example "A0000000031020". Must be between 5 and 16
) response
CAKey
structure. The CAPK will
105

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?

Table of Contents

Save PDF