# MTSCRA Delegate Methods 5.11 - 5.22

#### 5.11 onDeviceResponse

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

<table data-header-hidden><thead><tr><th width="131.27276611328125" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>data</p></td><td valign="top">Byte array containing the data received from the device. For details, see the <em>Programmer's Manual (COMMANDS)</em> for the specific device with which you are communicating.</td></tr></tbody></table>

#### 5.12 onDeviceError <a href="#id-5.12_ondeviceerror" id="id-5.12_ondeviceerror"></a>

This message occurs when an error occurs.

<table data-header-hidden><thead><tr><th width="180.3636474609375" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top">error</td><td valign="top">Error object.</td></tr></tbody></table>

#### 5.13 onTransactionStatus (EMV Device Only) <a href="#id-5.13_ontransactionstatus_-emv_device_onl" id="id-5.13_ontransactionstatus_-emv_device_onl"></a>

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

<table data-header-hidden><thead><tr><th width="166.727294921875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>data</p></td><td valign="top">Byte array containing the transaction status received from the device. For details about the Transaction Status, see the <em>Programmer's Manual (COMMANDS)</em> for the specific device with which you are communicating.</td></tr></tbody></table>

#### 5.14 onDisplayMessageRequest (EMV Device Only) <a href="#id-5.14_ondisplaymessagerequest_-emv_device" id="id-5.14_ondisplaymessagerequest_-emv_device"></a>

Device request for displaying information to user.

<table data-header-hidden><thead><tr><th width="144.90911865234375" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>data</p></td><td valign="top">Byte array containing the display message received from the device. For details about the Display Message Request, see the <em>Programmer's Manual (COMMANDS)</em> for the specific device with which you are communicating.</td></tr></tbody></table>

#### 5.15 onUserSelectionRequest (EMV Device Only) <a href="#id-5.15_onuserselectionrequest_-emv_device" id="id-5.15_onuserselectionrequest_-emv_device"></a>

Device request for application to display a User Selection Menu.

<table data-header-hidden><thead><tr><th width="147.63641357421875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>data</p></td><td valign="top">Byte array containing the display selection from the device. For details about the Display Message Request, see the <em>Programmer's Manual (COMMANDS)</em> for the specific device with which you are communicating.</td></tr></tbody></table>

#### 5.16 onARQCReceived (EMV Device Only) <a href="#id-5.16_onarqcreceived_-emv_device_only" id="id-5.16_onarqcreceived_-emv_device_only"></a>

This notification is sent from the device for ARQC data.

<table data-header-hidden><thead><tr><th width="96.27276611328125" valign="top"></th><th width="165.9090576171875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Offset</td><td valign="top">Field Name</td><td valign="top">Value</td></tr><tr><td valign="top">0</td><td valign="top">Message Length</td><td valign="top">Two byte binary, most significant byte first. This gives the total length of the ARQC message that follows.</td></tr><tr><td valign="top">2</td><td valign="top"><p>ARQC</p><p>Message</p></td><td valign="top">For details about the ARQC format, see the <em>Programmer's Manual (COMMANDS)</em> for the specific device with which you are communicating.</td></tr></tbody></table>

#### 5.17 onTransactionResult (EMV Device Only) <a href="#id-5.17_ontransactionresult_-emv_device_onl" id="id-5.17_ontransactionresult_-emv_device_onl"></a>

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

<table data-header-hidden><thead><tr><th width="154.90911865234375" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>data</p></td><td valign="top">Byte array containing the transaction result from the EMV device. For details about the Display Message Request, see the <em>Programmer's Manual (COMMANDS)</em> for the specific device you are communicating with.</td></tr></tbody></table>

#### 5.18 onEMVCommandResult (EMV Device Only) <a href="#id-5.18_onemvcommandresult_-emv_device_only" id="id-5.18_onemvcommandresult_-emv_device_only"></a>

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

<table data-header-hidden><thead><tr><th width="134.90911865234375" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>data</p></td><td valign="top">Byte array containing the command result from the EMV device. For details about the Display Message Request, see the <em>Programmer's Manual (COMMANDS)</em> for the specific device you are communicating with.</td></tr></tbody></table>

#### 5.19 onDeviceExtendedResponseReceived <a href="#id-5.19_ondeviceextendedresponsereceived" id="id-5.19_ondeviceextendedresponsereceived"></a>

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

<table data-header-hidden><thead><tr><th width="126.727294921875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>data</p></td><td valign="top">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.</td></tr></tbody></table>

#### 5.20 deviceNotPaired <a href="#id-5.20_devicenotpaired" id="id-5.20_devicenotpaired"></a>

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

#### 5.21 didGetRSSI <a href="#id-5.21_didgetrssi" id="id-5.21_didgetrssi"></a>

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

<table data-header-hidden><thead><tr><th width="137.63641357421875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Parameter</td><td valign="top">Description</td></tr><tr><td valign="top">RSSI</td><td valign="top">Integer value for the Received Signal Strength Indicator.</td></tr><tr><td valign="top">error</td><td valign="top">NSError object</td></tr></tbody></table>

#### 5.22 debugInfoCallback <a href="#id-5.22_debuginfocallback" id="id-5.22_debuginfocallback"></a>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.magtek.com/hardware/card-readers/magnetic-stripe-readers/idynamo-5-gen-iii/documentation/developers-manuals/secure-card-reader-authenticators-sdk-programmers-manual-ios/mtscra-delegate-methods/mtscra-delegate-methods-5.11-5.22.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
