# How to use the MagTek SCRA Demo

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

### Connecting via USB OTG <a href="#id-2.1_connecting_via_usb_otg" id="id-2.1_connecting_via_usb_otg"></a>

This section describes how to use the MagTek SCRA Demo with a SCRA Device such as Dynamag, DynaMAX, eDynamo, mDynamo, BulleT, uDynamo, tDynamo, and DynaWave, iDynamo 5 (Gen III) connected to an Android host via USB OTG cable. Please note that the Android host must have USB OTG support to use this connection type.

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

<figure><img src="/files/0MBHj8qxxJhq7rcSm6C0" alt=""><figcaption></figcaption></figure>

* Connect a SCRA Device via USB OTG cable, then select USB in the menu.

<figure><img src="/files/846PMBcDTeOMxpYvfbAp" alt=""><figcaption></figcaption></figure>

* If the device is Serial with a USB OTG cable, press on the device selector to the right of USB, then select Serial .

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

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

* Press on Connect .

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

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

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

* If you have a tDynamo device, press the ![](data:image/png;base64,/9j/4AAQSkZJRgABAQEAkACQAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wAARCAATABwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDlPCzafb6JGZ/CN3qUrsS1xs3Keei1sfa9K/6J/c/9+a6D4dknwPYbScAuOD/tGuly3q1AHnX2vSv+if3P/fmuA8SxwR63N9l0+fT4mAYW833kyP5elfQmW9WrxX4nsG8bXA3ZKxRg89DtHFAHP2Gt6lpaMlhfXFujclY5CAfwq1/wl2v/APQXvP8Av6aKKAD/AIS/Xx/zF7z/AL+msmWWSeVpJnaSRjlmY5JPuaKKAP/Z) icon and select Set MSR On to turn on the head.

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

* Swipe a card to see the card data displays on the screen.
* To disconnect the MagTek SCRA device, press the red X.

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

#### Connecting via Bluetooth

This section describes how to use the MagTek SCRA Demo with a SCRA Device such as Dynamag, DynaMAX, eDynamo, BulleT, and tDynamo connected to an Android host via USB OTG cable. Please note that the Android host must support Bluetooth and Bluetooth LE to use this connection type.

* Connect the MagTek SCRA device to the Android host USB port using an OTG cable.
* Press on the device selector and select either Bluetooth, BLE, BLE EMVT from the list.
  * Bluetooth: for BulleT
  * BLE: for eDynamo and DynaMAX
  * BLE EMVT: for iDynamo

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

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

* Select the intended device from the list. Example shown below.

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

* Press Connect to connect to the device.

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

* The host will prompt to pair the device the first time the connection is established. Enter the pairing PIN and press OK .

<figure><img src="/files/8uMEI7zRoC4gie5v5IKK" alt=""><figcaption></figcaption></figure>

* After the Connection State changes to Connected , the device is ready.

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

### Sending Commands

* To begin the process of sending a command to the device, press on the magnetic stripe card icon at the top of the app, then select SEND .

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

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

* Enter a command, then press on SEND . An example is shown below with the response.

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

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

* The selections other than SEND command are as follows.
  * Clear: Clears the screen.
  * Device Info: Returns information about the device.&#x20;
  * Battery Level: Returns the battery level of the device.
  * Set MSR On: Powers on the MSR head while idle for devices that support this feature.&#x20;
  * Set MSR Off: Powers off the MSR head while idle for devices that support this feature

### EMV Transactions

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

<figure><img src="/files/GBK1pTuKafjocy4wGynU" 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).

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

* For MagTek SCRA devices not equipped with batteries, the devices must have their time set after a power up from the host. This is needed only once until the next power cycle or reset.&#x20;
  * Select Set Time. A response of all 0’s means the time was set.

<figure><img src="/files/63N49Fgi9wEzRZFaMHYP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/509VJ6y79ygyCmfVXosZ" alt=""><figcaption></figcaption></figure>

* Select Start Transaction and select each Transaction Types. Transaction types may be combined.
  * Swipe: For magnetic stripe
  * Chip: for chip.
  * Contactless: for contactless
* Press Start to start the transaction

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

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

* Present the card to the device and 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/FWQyoIFgSp2NZFFEPrfb" alt=""><figcaption></figcaption></figure>

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

* To cancel a transaction, 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/5FM34YY9toQmxDCvK20V" 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.

* 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 on the chip card icon at the top of the app and select Configuration.

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

<figure><img src="/files/xWBYsgjazFP5TksiFR0i" 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/xT9Z2EziMx6B7QNu5Osj" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/cEejJuS9D6YaXTYMijEY" 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/PGDVV3QUorKzHaN7UKJQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JsnmxovEbl4UdVdKIr9K" 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/EfJRcsiKT5dFu6NZbWOJ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/idpp0Vzg35jCi1XZK53Z" 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-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.
