# How to use the MagTek SCRA OEM Demo

This section describes how to use the MagTek SCRA OEM Demo on an Android host. Some peripherals are not included in every MagTek OEM device. Use each feature of the Demo accordingly.

### Connecting to a MagTek SCRA OEM Device <a href="#id-3.1_connecting_to_a_magtek_scra_oem_devi" id="id-3.1_connecting_to_a_magtek_scra_oem_devi"></a>

* Connect the MagTek SCRA OEM device to the Android host USB port using an OTG cable.
* Press on MagTek SCRA OEM Demo to launch the app.

<figure><img src="/files/wTmciWiJeGD3lj3xyl5r" alt=""><figcaption></figcaption></figure>

* To start the process of connecting, press on Connect .

<figure><img src="/files/6E63ddghDDYUqnDwSE5x" alt=""><figcaption></figcaption></figure>

* Select the appropriate peripheral connected to the MagTek SCRA OEM device’s SPI Port and UART Port, and then press on Connect .

<figure><img src="/files/rbFJmgwhH8dtRNyy0hN3" alt=""><figcaption></figcaption></figure>

* Approve any prompts for allowing the app to access the USB device by pressing on OK .

<figure><img src="/files/IGVRsiqo4SS0C0899ymC" alt=""><figcaption></figcaption></figure>

* To disconnect the MagTek SCRA OEM device, press the red X at the top of the app.

<figure><img src="/files/f2rKW8CLtnS2MffwX19a" alt=""><figcaption></figcaption></figure>

### Sending Commands

* To begin the process of sending a command to the device, press on Send at the top of the app.

<figure><img src="/files/mIlNuFUgNEhwXwNX3rPb" alt=""><figcaption></figcaption></figure>

* Select which interface the command is to be sent to:&#x20;
  * Board: Commands to the main board chip peripheral.&#x20;
  * UAER: Commands to NFC contactless peripheral.&#x20;
  * SPI: Commands to the MSR peripheral.

<figure><img src="/files/H04fOniqdRDg6irSopPh" alt=""><figcaption></figcaption></figure>

* Enter the command under Custom Command , then press on Send.

<figure><img src="/files/wAWxygaZKV4bukTZ6EJu" alt=""><figcaption></figcaption></figure>

* Sent commands and device responses are displayed similarly as below.

<figure><img src="/files/PRCDMJNA7eKcPTnOaXYD" alt=""><figcaption></figcaption></figure>

* To clear the display, press on Clear at the top of the app.

<figure><img src="/files/tgJx8JSRleNShBHISGXk" alt=""><figcaption></figcaption></figure>

### EMV Transactions

* To begin the process of starting an EMV transaction, press on EMV at the top of the app.

<figure><img src="/files/W9HUKUo0hSgNZFeT7xUX" alt=""><figcaption></figcaption></figure>

* Select the transaction approval type:
  * Approved: On for approval response code. Off for decline response code.
  * Quick Chip: On to transact only an Acquirer Request Cryptogram (ARQC). Off to transact both ARQC and Acquirer Response Code (ARPC.&#x20;

<figure><img src="/files/IGdZELeISqP646cOV41N" alt=""><figcaption></figcaption></figure>

* MagTek SCRA OEM devices and peripherals not equipped with batteries will need to have their time set on each USB connection to the Android host device. This step is needed only once until there is a power cycle or reset of the MagTek SCRA OEM device. Set the time according to which peripheral is to be used for the transaction:
  * Set Time: For the main board chip transaction.&#x20;
  * Set Time \[UART]: For NFC contactless transaction.

<figure><img src="/files/2HLfIE4LusbVf5tGK287" alt=""><figcaption></figcaption></figure>

* Select one of the card types for the transaction:&#x20;
  * Start Chip Transaction: for chip cards only.&#x20;
  * Start Contactless: for contactless only.
  * Start Chip & Contavtless: for both chip and contactless.

<figure><img src="/files/PXZoZLaCinfgdH6Hc6JJ" alt=""><figcaption></figcaption></figure>

* Present the card to the device.

<figure><img src="/files/2IefVIPub8u1CflzdOcr" alt=""><figcaption></figcaption></figure>

* Follow the prompts for selecting any languages and applications to complete the transaction. The result will be displayed similar as below.

<figure><img src="/files/wL9GP4UQc5k1iIVC2btQ" alt=""><figcaption></figcaption></figure>

* To cancel a transacion, press EMV at the top of the app and press Cancel Transaction. A transaction may only be canceled before a card is presented.

<figure><img src="/files/hgS5XV26o8ca3Gk5Ql3i" alt=""><figcaption></figcaption></figure>

### Configuration

This section describes the get, set, and commit commands for terminal configuration on the device.

* Get – retrieves the terminal configuration.

* Set – sets the terminal configuration. Changes do not remain after device power cycle or reset.&#x20;

* Commit – is used to store configuration changes to non-volatile memory to remain in place after a power cycle or reset.

* To access the device’s terminal configuration, press at the top of the app and select Configuration.

<figure><img src="/files/ic6IXmVo9kWuk4JMo8Bm" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9pUb6IjCnumqw7LjgOw5" alt=""><figcaption></figcaption></figure>

* To get the devices terminal configuration, select Get Terminal Config . The value will be displayed similar as below.

<figure><img src="/files/n4lEqBIlirFTM3UugADP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/341OJSdcI6eml8b2AUC0" alt=""><figcaption></figcaption></figure>

* To set the devices terminal configuration, select Set Terminal Config . The value will be displayed similar as below. Setting the Terminal Configuration requires an authenticated message unique to each device, so in the MagTek SCRA OEM Demo the response will indicate an invalid serial number or invalid MAC.

<figure><img src="/files/ierbTANI3NydMFzqJJHM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4rYxi6Mehcjcv3p2xuQj" alt=""><figcaption></figcaption></figure>

* To commit the devices terminal configuration, select Commit Config . The value will be displayed similar as below.

<figure><img src="/files/Erhye79Z64N06GFrRlud" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/H8loLZWxB7Vbz8s4lZry" alt=""><figcaption></figcaption></figure>


---

# 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/programmers-manual-android-demo/how-to-use-the-magtek-scra-oem-demo.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.
