For the complete documentation index, see llms.txt. This page is also available as Markdown.
Page cover

MTSCRA Delegate Methods 11-22

onDeviceResponse

This message occurs when a non EMV command response is returned from the device.

Parameter

Description

data

Byte array containing the data received from the device. For details, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.

onDeviceError

This message occurs when an error occurs.

Parameter

Description

error

Error object.

onTransactionStatus (EMV Device Only)

The SDK sends this notification when the transaction status has changed.

Parameter

Description

data

Byte array containing the transaction status received from the device. For details about the Transaction Status, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.

onDisplayMessageRequest (EMV Device Only)

Device request for displaying information to user.

Parameter

Description

data

Byte array containing the display message received from the device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.

onUserSelectionRequest (EMV Device Only)

Device request for application to display a User Selection Menu.

Parameter

Description

data

Byte array containing the display selection from the device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.

onARQCReceived (EMV Device Only)

This notification is sent from the device for ARQC data.

Offset

Field Name

Value

0

Message Length

Two byte binary, most significant byte first. This gives the total length of the ARQC message that follows.

2

ARQC

Message

For details about the ARQC format, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.

onTransactionResult (EMV Device Only)

This message occurs when the transaction result is received from the EMV device.

Parameter

Description

data

Byte array containing the transaction result from the EMV device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device you are communicating with.

onEMVCommandResult (EMV Device Only)

This message occurs when an EMV command result is received from the EMV device.

Parameter

Description

data

Byte array containing the command result from the EMV device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device you are communicating with.

onDeviceExtendedResponseReceived

This message occurs when and extended response is received from the device.

Parameter

Description

data

Hexadecimal string containing the extended response data received from the device. The first two bytes represent the result codes for the extended command. The next two bytes (most significant byte first) indicate the total length for the following data in bytes.

deviceNotPaired

This message occurs when a command is sent to an unpaired Bluetooth LE device.

didGetRSSI

This message occurs when and extended response is received from the device.

Parameter

Description

RSSI

Integer value for the Received Signal Strength Indicator.

error

NSError object

debugInfoCallback

This call back will be raised if host software subscribes to it.

Last updated