EasyManua.ls Logo

IDTECH NEO2 - Page 105

Default Icon
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13.7 IDT_NEO2 Class Reference 95
Returns
NSString Returns the default friendly name to be used when discovering any BLE devices
13.7.2.28 - (RETURN_CODE) device_getFirmwareVersion: (NSString ∗∗) response
Polls device for Firmware Version
Parameters
response Response returned of Firmware Version
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_UniPay::device_getResponseCodeString:()
13.7.2.29 - (RETURN_CODE) device_getMerchantRecord: (int) index record:(NSData ) record
Get Merchant Record Gets the merchant record for ApplePay VAS
Parameters
index Merchant Record index, valid values 1-6
record Data returned containing 99 bytes: Byte 0 = Merchand Index Byte 1 = Merchant Enabled (1 =
enabled) Byte 2 - 33 = Merchant Protocol Hash-256 value Byte 34 = Length of Merchant URL Bytes
35 - 99 = URL
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
13.7.2.30 - (NSString ) device_getResponseCodeString: (int) errorCode
Get Response Code String
Interpret a response code and return string description.
Parameters
errorCode Error code, range 0x0000 - 0xFFFF, example 0x0300
IDTech iOS SDK Guide for NEO2 #80152802-001

Table of Contents

Related product manuals