# Properties - 0x6E - 0x88

### Property 0x6E - Mask Service Code (Set Mask Service Code Only) <a href="#toc183604169" id="toc183604169"></a>

| Property ID:   | 0x6E   |
| -------------- | ------ |
| Property Type: | Byte   |
| Length:        | 1 byte |
| Get Property:  | Yes    |
| Set Property:  | Yes    |
| Default Value: | 0x01   |

This property controls the masking of the service code on ISO card tracks 1 and 2. If this property is set to 1, the device masks the service code.  If this property is set to 0, the device does not mask the service code.

### Property 0x78 - Selectable Card Data Encryption Enable (MAC MREQMK)

<table data-header-hidden><thead><tr><th width="270.3636474609375"></th><th></th></tr></thead><tbody><tr><td>Property ID:</td><td>0x78</td></tr><tr><td>Property Type:</td><td>Binary</td></tr><tr><td>Length:</td><td>1 byte</td></tr><tr><td>Get Property:</td><td>Yes</td></tr><tr><td>Set Property:</td><td>Yes (Secure MAC)</td></tr><tr><td>Default Value:</td><td>0x00</td></tr></tbody></table>

The host can use this property to enable Selectable Card Data Encryption. Any of the bits in this property enables the SCDE with the corresponding data field included in the encrypted SCDE.

The M002 message is transmitted to the host instead of the M001 message when the following four conditions are met when a financial card is swiped.

* Any of the defined property 0x78 bits are set to 1 (enabled)
* Card Encode Type of the swiped card is ISO
* Initial SCDE DUKPT Key was injected into the device
* SCDE DUKPT future keys are available (not exhausted)

<table data-header-hidden><thead><tr><th width="129.45458984375"></th><th></th></tr></thead><tbody><tr><td>Bit Number</td><td> Description of Bit</td></tr><tr><td>Bit 0</td><td><p>Card Holder Name</p><ul><li>0 = Disable (Default)</li><li>1 = Enable</li></ul></td></tr><tr><td>Bit 1</td><td><p> PAN </p><ul><li>0 = Disable (Default)</li><li>1 = Enable</li></ul></td></tr><tr><td>Bit 2</td><td><p>Expiration Date</p><ul><li>0 = Disable (Default)</li><li>1 = Enable</li></ul></td></tr><tr><td>Bit 3</td><td><p>Service Code </p><ul><li>0 = Disable (Default)</li><li>1 = Enable</li></ul></td></tr><tr><td>Bit 4</td><td><p> T1 Discretionary Data</p><ul><li>0 = Disable (Default)</li><li>1 = Enable</li></ul></td></tr><tr><td>Bit 5</td><td><p>T2 Discretionary Data</p><ul><li>0 = Disable (Default)</li><li>1 = Enable</li></ul></td></tr><tr><td> Bit 6 </td><td>Reserved</td></tr><tr><td>Bit 7</td><td>Reserved </td></tr></tbody></table>

### Property 0x80 – Device Hardware ID

| Property ID:   | 0x80   |
| -------------- | ------ |
| Property Type: | String |
| Length:        | varies |
| Get Property:  | Yes    |
| Set Property:  | No     |
| Default Value: | N/A    |

| Example     |
| ----------- |
| 10PCI50U0BA |

### Property 0x81 – Mode of Operation (MAC MREQMK) <a href="#toc161816337" id="toc161816337"></a>

| Property ID:   | 0x81                                                                               |
| -------------- | ---------------------------------------------------------------------------------- |
| Property Type: | Byte                                                                               |
| Length:        | 1 byte                                                                             |
| Get Property:  | Yes                                                                                |
| Set Property:  | Yes (Secure MAC)                                                                   |
| Default Value: | <p>0</p><p>•           0 = Normal Operation</p><p>•           1 = QWANTUM Mode</p> |

### Property 0x82 – Time of Day Reset

| Property ID:   | 0x82                                     |
| -------------- | ---------------------------------------- |
| Property Type: | Byte                                     |
| Length:        | 2 bytes                                  |
| Get Property:  | Yes                                      |
| Set Property:  | Yes (New value takes effect after reset) |
| Default Value: | 0000 (UTC Midnight)                      |

For security purposes, the reader will reset itself once a day. You can choose what time this reset will occur by changing this property. Set the value to HHMM in Coordinated Universal Time (UTC).  HH is one byte with a value of 0-23.  MM is one byte with a value of 0-59  The new value takes effect after the next device reset or power cycle.

### Table - PCI Time of Day Reset Value

| Length | Field Name | Value                         |
| ------ | ---------- | ----------------------------- |
| 1      | Hour       | Value from 0x00...0x17 (0-23) |
| 1      | Minute     | Value from 0x00...0x3B (0-59) |

### Property 0x83 – QWANTUM Secure Data Buffer (MAC MREQMK) <a href="#toc156981750" id="toc156981750"></a>

| Property ID:   | 0x83             |
| -------------- | ---------------- |
| Property Type: | Bytes            |
| Length:        | 0-1023 bytes     |
| Get Property:  | Yes (Secure MAC) |
| Set Property:  | Yes (Secure MAC) |
| Default Value: | Length = 0       |

This data is stored securely (encrypted by DDEK).  The data gets sent out in encrypted form using DUKPT when the device is in QWANTUM Mode, the button is enabled, and the button is pressed.

### Property 0x84 – Device Model Name

| Property ID:    | 0x84                |
| --------------- | ------------------- |
| Property Type:  | String              |
| Length:         | varies              |
| Get Property:   | Yes                 |
| Set Property:   | No                  |
| Standard Value: | 'iDynamo 5 Gen III' |

For PCI certified devices, this value will match the one found on the PCI website and the product label.

### Property 0x85 Keyset ID <a href="#toc161816362" id="toc161816362"></a>

| Property ID:   | 0x85                                      |
| -------------- | ----------------------------------------- |
| Property Type: | Binary                                    |
| Length:        | 3 bytes                                   |
| Get Property:  | Yes                                       |
| Set Property:  | No (Value depends on firmware build type) |
| Default Value: | 005454 (for PCI), 000101 (for Non-PCI)    |

This property indicates whether the firmware was built to use production device keys (005454) or test device keys (000101).

{% hint style="info" %}
**Note** – Test firmware can only allow test keys to be injected.
{% endhint %}

### Property 0x86 – Device State

| Property ID:   | 0x86                                                 |
| -------------- | ---------------------------------------------------- |
| Property Type: | Binary                                               |
| Length:        | 4 bytes                                              |
| Get Property:  | Yes                                                  |
| Set Property:  | No – values come from self-test and security status. |
| Default Value: | N/A                                                  |

{% hint style="info" %}
Note that the device is considered offline (no card reading) until all 4 bytes are zero.
{% endhint %}

### Table - Device State Definition

| Byte | Type                | Bit 7          | Bit 6         | Bit 5 | Bit 4               | Bit 3              | Bit 2           | Bit 1              | Bit 0            |
| ---- | ------------------- | -------------- | ------------- | ----- | ------------------- | ------------------ | --------------- | ------------------ | ---------------- |
| 1    | System State        | Offline        | 0             | 0     | Device Keys missing | RTC not active/set | Not Initialized | Security Inactive  | Tampered         |
| 2    | Self-Test failure   | Data Integrity | Key Integrity | 0     | 0                   | 0                  | Registers       | Crypto             | RNG              |
| 3    | PCI Info            | 0              | 0             | 0     | 0                   | 0                  | HW ID Missing   | Model Name Missing | Serial # Missing |
| 4    | Unmapped Data Types | 0              | 0             | 0     | 0                   | 0                  | 0               | 0                  | 0                |

#### BYTE Description

The primary functions of device states are to inform production software about completed steps and pending tasks. It serves as a checklist and can also assist with remote services and RMAs.

### Table - BYTE Description

| Bytes                        | Bits  | Name                | Settings                                                                                                                                                                                                                                                                                                                            |
| ---------------------------- | ----- | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| BYTE 1 – System State        | Bit 7 | Offline             | <p>0 = All bits in this property are set to 0</p><p>1 = Not all bits in this property are 0</p>                                                                                                                                                                                                                                     |
|                              | Bit 6 | Reserved            | Always 0                                                                                                                                                                                                                                                                                                                            |
|                              | Bit 5 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 4 | Device Keys Missing | <p>0 = Device keys present</p><p>1 = Device keys missing</p><p> </p><p>NOTE: “Device Keys” refer to the keys that are injected during MfgCfg such as Transport Keys and MAC Keys. “Device Keys” do not include DUKPT keys (2007, 2002 and 2003). The DUKPT keys are “Financial Keys”.</p>                                           |
|                              | Bit 3 | RTC not Active/Set  | <p>0 = RTC active</p><p>1 = RTC inactive (not enabled)</p>                                                                                                                                                                                                                                                                          |
|                              | Bit 2 | Not Initialized     | <p>0 = Non-volatile storage initialized</p><p>1= Non-volatile storage not initialized</p><p> </p><p>NOTE: “Initialized” means:</p><p>a.      the master keys are generated internally.</p><p>b.     the data & key storage area is initialized with an initialization indicator such as 0xAA55 and its integrity is known good.</p> |
|                              | Bit 1 | Security Inactive   | <p>0 = Security activated</p><p>1= Security not activated</p><p> </p><p>NOTE: “Security” means Tamper.</p>                                                                                                                                                                                                                          |
|                              | Bit 0 | Tampered            | <p>0 = Device not tampered</p><p>1 = Device tampered</p>                                                                                                                                                                                                                                                                            |
| BYTE 2 – Self-Test Failure   | Bit 7 | Data Integrity      | <p>0 = Configuration data in NVS not corrupted</p><p>1 = Found data corruption in the configuration data</p>                                                                                                                                                                                                                        |
|                              | Bit 6 | Key Integrity       | <p>0 = All fixed keys and injected keys are not corrupted</p><p>1 = Found key data for one or more keys is corrupted</p>                                                                                                                                                                                                            |
|                              | Bit 5 | Reserved            | Always 0                                                                                                                                                                                                                                                                                                                            |
|                              | Bit 4 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 3 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 2 | Registers           | <p>0 = All hardware registers in uC required for normal operation of the device are initialized/ enabled/configured/ functional;</p><p>1 = Any one or more of those registers are not operating correctly</p>                                                                                                                       |
|                              | Bit 1 | Crypto              | <p>0 = Passed test</p><p>1 = Failed test</p><p> </p><p>NOTE: Enable Crypto engine in uC and test crypto functions and make sure it returns the expected results. (e.g. KAT – Known Answer Test)</p>                                                                                                                                 |
|                              | Bit 0 | RNG                 | <p>0 = Passed test</p><p>1 = Failed test</p><p> </p><p>NOTE: Enable RNG in uC and read RNG value a few times and make sure RNG returns different values for each read.</p>                                                                                                                                                          |
| BYTE 3 – PCI Info            | Bit 7 | Reserved            | Always 0                                                                                                                                                                                                                                                                                                                            |
|                              | Bit 6 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 5 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 4 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 3 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 2 | PCI HW ID Missing   | <p>0 = Found a valid PCI HW ID in Property 0x80</p><p>1 = PCI HW ID missing</p>                                                                                                                                                                                                                                                     |
|                              | Bit 1 | Model Name Missing  | <p>0 = Found a valid model name in Property 0x84</p><p>1 = Model name missing</p>                                                                                                                                                                                                                                                   |
|                              | Bit 0 | Serial # Missing    | <p>0 = Found a valid DSN in Property 0x03</p><p>1 = DSN missing</p>                                                                                                                                                                                                                                                                 |
| BYTE 4 – Unmapped Data Types | Bit 7 | Reserved            | Always 0                                                                                                                                                                                                                                                                                                                            |
|                              | Bit 6 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 5 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 4 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 3 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 2 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 1 |                     |                                                                                                                                                                                                                                                                                                                                     |
|                              | Bit 0 |                     |                                                                                                                                                                                                                                                                                                                                     |

### Property 0x87 – Key map status

| Property ID:    | 0x87                                 |
| --------------- | ------------------------------------ |
| Property Type:  | Binary                               |
| Length:         | 8 bytes                              |
| Get Property:   | Yes                                  |
| Set Property:   | No – values come from key injection. |
| Starting Value: | 0 – if no keys loaded                |

If a key has been loaded into the device, then it’s bit indicator should be set to 1.

### Table  - Key Map Status Bits

A fully loaded reader would return a keymap of:  7E 00 07 00 8C 00 00 00.

<table data-header-hidden><thead><tr><th width="74.3636474609375"></th><th width="94.36358642578125"></th><th width="88"></th><th width="84.3636474609375"></th><th width="89.81817626953125"></th><th width="96.18182373046875"></th><th width="99.818115234375"></th><th width="98"></th><th width="98"></th></tr></thead><tbody><tr><td>Byte</td><td>Bit 7</td><td>Bit 6</td><td>Bit 5</td><td>Bit 4</td><td>Bit 3</td><td>Bit 2</td><td>Bit 1</td><td>Bit 0</td></tr><tr><td>1 – TK1</td><td>0</td><td>MKIFTK</td><td>MFGTK</td><td>PRODTK</td><td>FINTK</td><td>DEVTK</td><td>MTK</td><td>TMPTK</td></tr><tr><td>2 – TK2</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>3 – MK1</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>MFRQMK</td><td>MREQMK</td><td>FREQMK</td></tr><tr><td>4 – MK2</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>5 – DK1</td><td>DKPTM7</td><td>0</td><td>0</td><td>0</td><td>DKPTM3</td><td>DKPTM2</td><td>0</td><td>0</td></tr><tr><td>6 – DK2</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>7 – DK3</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr><tr><td>8 – DK4</td><td>DKPTM1F</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr></tbody></table>

### Property 0x88 - USB Packet Delay <a href="#ref166659560" id="ref166659560"></a>

| Property ID:    | 0x88        |
| --------------- | ----------- |
| Property Type:  | Binary      |
| Length:         | 1 byte      |
| Get Property:   | Yes         |
| Set Property:   | Yes         |
| Starting Value: | 0x00 (0 ms) |

The host can use this property to adjust the device’s USB packet delay.  The property can be set to 0 to have no delay, or it can be set to a specific value in the range of 1 to 255 ms.

* Adjusting this value does not require security when the device is fully configured.
* Adjusting this value does not affect the USB HOST POLL TIMEOUT, PROPERTY 0x52. In fact, it is mostly independent from the polling interval.

MagTek recommends the following values for various platforms:

* Windows = 0x00 (0 ms)
* Android = 0x19 (25 ms)
* Linux = 0x32 (50 ms)

&#x20;


---

# 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-commands/properties/properties-0x6e-0x88.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.
