> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-go/documents/developers-manuals/programmers-manual-commands/configuration/usb-settings-usb-only.md).

# USB Settings (USB Only)

## Property Subgroup 1.2.2.2.nn USB Settings (USB Only) - 1.2.2.2.1.1 - 1.2.2.2.1.6

## Table - Property 1.2.2.2.1.1 Reduce Power During USB Suspend

<table data-header-hidden><thead><tr><th width="225.33331298828125" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">Property Description</td><td></td></tr><tr><td valign="top">Property OID</td><td>1.2.2.2.1.1 / 0x010202020101</td></tr><tr><td valign="top">Name</td><td>Reduce Power During USB Suspend</td></tr><tr><td valign="top"><p> </p><p> </p><p>Description</p></td><td><p>The device uses this property to determine whether it should reduce its power consumption when a USB host directs it to suspend. If this property is set to Disabled, the device will not have a USB compliant current draw when suspended, which, for example, allows it to continue to turn on LEDs and the display if present.</p><p> </p><p>To activate changes made to this property, the device must be reset or power cycled.</p></td></tr><tr><td valign="top">Securing Key</td><td>None</td></tr><tr><td valign="top">Min. Len (b)</td><td>1</td></tr><tr><td valign="top">Max. Len (b)</td><td>1</td></tr><tr><td valign="top">Data Type</td><td>Binary</td></tr><tr><td valign="top">Valid Values</td><td>0x00 = Disabled 0x01 = Enabled</td></tr><tr><td valign="top">Default</td><td>0x01</td></tr></tbody></table>

## Table - Get Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 8104 0155D101 840F D101 8501 01 8704 02020201 8902 C100</td></tr></tbody></table>

## Table - Get Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D10182040000000084820010D1018501018704020202018903C10101</td></tr></tbody></table>

## Table - Set Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 81040155D111 8410 D111 850101 8704 02020201 8903 C10101</td></tr></tbody></table>

## Table - Set Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820010D1118501018704020202018903C10101</td></tr></tbody></table>

## Table - Property 1.2.2.2.1.2 USB Configuration Type

<table data-header-hidden><thead><tr><th width="221.33331298828125" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">Property Description</td><td></td></tr><tr><td valign="top">Property OID</td><td>1.2.2.2.1.2 / 0x010202020102</td></tr><tr><td valign="top">Name</td><td>USB Configuration Type</td></tr><tr><td valign="top"><p> </p><p> </p><p>Description</p></td><td><p>The device uses this property to determine if it should behave as a USB HID device or an USB iAP2 device. USB HID devices can communicate with most hosts except for Apple hosts. USB iAP2 devices can communicate to Apple hosts like iPads and iPhones. The behavior affects USB enumeration and communications.</p><p> </p><p>To activate changes made to this property, the device must be reset or power cycled.</p></td></tr><tr><td valign="top">Securing Key</td><td>None</td></tr><tr><td valign="top">Min. Len (b)</td><td>1</td></tr><tr><td valign="top">Max. Len (b)</td><td>1</td></tr><tr><td valign="top">Data Type</td><td>Binary</td></tr><tr><td valign="top">Valid Values</td><td><p>0x00 = HID only 0x01 = iAP2 only</p><p>0x02 = autodetect (iAP2 with HID fallback)</p><p>The autodetect option can allow a device to work with iAP2 hosts and HID hosts. With this option, every time the device is attached to a USB host it will first enumerate as an iAP2 device, if the device does not receive an iAP2 initialization sequence response from the host within 2 seconds the device will perform a soft USB detach from the host and then a soft USB attach and next enumerate as a USB HID device.</p></td></tr><tr><td valign="top">Default</td><td>0x02</td></tr></tbody></table>

## Table - Get Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 8104 0155D101 840F D101 8501 01 8704 02020201 8902 C200</td></tr></tbody></table>

## Table - Get Response Example (HID only)

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D10182040000000084820010D1018501018704020202018903C20100</td></tr></tbody></table>

## Table - Set Request Example (HID only)

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 81040155D111 8410 D111 850101 8704 02020201 8903 C20100</td></tr></tbody></table>

## Table - Set Response Example (HID only)

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820010D1118501018704020202018903C20100</td></tr></tbody></table>

## Table - Set Request Example (iAP2 only)

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 81040155D111 8410 D111 850101 8704 02020201 8903 C20101</td></tr></tbody></table>

## Table - Set Response Example (iAP2 only)

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820010D1118501018704020202018903C20101</td></tr></tbody></table>

## Table - Set Request Example (autodetect (iAP2 with HID fallback))

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 81040155D111 8410 D111 850101 8704 02020201 8903 C20102</td></tr></tbody></table>

## Table - Set Response Example (autodetect (iAP2 with HID fallback))

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820010D1118501018704020202018903C20102</td></tr></tbody></table>

## Table - Property 1.2.2.2.1.3 Battery Charging Mode

<table data-header-hidden><thead><tr><th width="170" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">Property Description</td><td></td></tr><tr><td valign="top">Property OID</td><td>1.2.2.2.1.3 / 0x010202020103</td></tr><tr><td valign="top">Name</td><td>Battery Charging Mode</td></tr><tr><td valign="top"><p> </p><p>Description</p></td><td>The device uses this property to determine if it should charge continuously, or run off the battery only [even if it is plugged into a USB power source], or if it should dynamically run off the battery until it reaches a configurable low level before charging to a configurable high level, then run off the battery again (repeating this cycled indefinitely).</td></tr><tr><td valign="top">Securing Key</td><td>None</td></tr><tr><td valign="top">Min. Len (b)</td><td>1</td></tr><tr><td valign="top">Max. Len (b)</td><td>1</td></tr><tr><td valign="top">Data Type</td><td>Binary</td></tr><tr><td valign="top"><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p>Valid Values</p></td><td><p>0x00 = NORMAL_BATTERY_CHARGING</p><p>0x01 = DYNAMIC_BATTERY_CHARGING</p><p> </p><p>When the device is in NORMAL_BATTERY_CHARGING mode it charges continuously until full, if it is connected to a dedicated charger or a USB host device like a tablet.</p><p>When the device is VBUS_BATTERY_DYNAMIC_CHARGING mode the device will run off the battery only until it reaches the battery charge percentage defined in Property 1.2.2.2.1.4 Battery Charging Start Level, then it will charge until it reaches the battery charge percentage defined in Property 1.2.2.2.1.5 Battery Charging Stop Level. In this mode it will repeat this cycle repeatedly. However, if the device is connected to dedicated charger, it will charge until full and not run off the battery unless the charger is disconnected.</p><p> </p><p>The Property 1.2.2.2.1.6 Battery Charging Schedule feature can optionally be enabled while in DYNAMIC_BATTERY_CHARGING mode. When ON-DUTY the charging behavior is as described above When OFF-DUTY it will charge until full and not run off the battery until ON-DUTY.</p></td></tr><tr><td valign="top">Default</td><td>0x00 NORMAL_BATTERY_CHARGING</td></tr></tbody></table>

## Table - Get Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 8104 0155D101 840F D101 8501 01 8704 02020201 8902 C300</td></tr></tbody></table>

## Table - Get Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D10182040000000084820010D1018501018704020202018903C30101</td></tr></tbody></table>

## Table - Set Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081040155D1118410D111 8501 01 8704 02020201 8903 C301 01</td></tr></tbody></table>

## Table - Set Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820010D1118501018704020202018903C30101</td></tr></tbody></table>

## Table - Property 1.2.2.2.1.4 Battery Charging Start Level

<table data-header-hidden><thead><tr><th width="233.33331298828125" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">Property Description</td><td></td></tr><tr><td valign="top">Property OID</td><td>1.2.2.2.1.4 / 0x010202020104</td></tr><tr><td valign="top">Name</td><td>Battery Charging Start Level</td></tr><tr><td valign="top"><p> </p><p> </p><p>Description</p></td><td><p>The device uses this property to determine the lowest charge percentage level the battery must reach, before the device starts charging the battery. This forces the device to run off the battery as much as possible, only charging when necessary.</p><p> </p><p>To activate this property, NORMAL_BATTERY_CHARGING described in Property 1.2.2.2.1.3 Battery Charging Mode must be enabled first.</p></td></tr><tr><td valign="top">Securing Key</td><td>None</td></tr><tr><td valign="top">Min. Len (b)</td><td>1</td></tr><tr><td valign="top">Max. Len (b)</td><td>1</td></tr><tr><td valign="top">Data Type</td><td>Binary</td></tr><tr><td valign="top"><p> </p><p> </p><p>Valid Values</p></td><td><p>Range 0x0A – 0x63</p><p>0x0A = Minimum value (10%) 0x63 = Maximum value (99%)<sup>*</sup></p><p>*The maximum value must be less than the value set in Property 1.2.2.2.1.5 Battery Charging Stop Level</p></td></tr><tr><td valign="top">Default</td><td>0x19 (25%)</td></tr></tbody></table>

## Table - Get Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 8104 0155D101 840F D101 8501 01 8704 02020201 8902 C400</td></tr></tbody></table>

## Table - Get Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D10182040000000084820010D1018501018704020202018903C4015A</td></tr></tbody></table>

## Table - Set Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081040155D1118410D111 8501 01 8704 02020201 8903 C401 1E</td></tr></tbody></table>

## Table - Set Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820010D1118501018704020202018903C4011E</td></tr></tbody></table>

## Table - Property 1.2.2.2.1.5 Battery Charging Stop Level

<table data-header-hidden><thead><tr><th width="202" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">Property Description</td><td></td></tr><tr><td valign="top">Property OID</td><td>1.2.2.2.1.5 / 0x010202020105</td></tr><tr><td valign="top">Name</td><td>Battery Charging Stop Level</td></tr><tr><td valign="top"><p> </p><p> </p><p>Description</p></td><td><p>The device uses this property to determine the highest charge percentage level the battery must reach, before the device stops charging the battery. This forces the device to run off the battery as much as possible and only charge when necessary.</p><p> </p><p>To activate this property, NORMAL_BATTERY_CHARGING described in Property 1.2.2.2.1.3 Battery Charging Mode must be enabled first.</p></td></tr><tr><td valign="top">Securing Key</td><td>None</td></tr><tr><td valign="top">Min. Len (b)</td><td>1</td></tr><tr><td valign="top">Max. Len (b)</td><td>1</td></tr><tr><td valign="top">Data Type</td><td>Binary</td></tr><tr><td valign="top"><p> </p><p> </p><p>Valid Values</p></td><td><p>Range 0x0B – 0x64</p><p>0x0B = Minimum value (11%) 0x64 = Maximum value (100%)<sup>*</sup></p><p>*The minimum value must be greater than the value set in Property 1.2.2.2.1.4 Battery Charging Start Level</p></td></tr><tr><td valign="top">Default</td><td>0x64 (100%)</td></tr></tbody></table>

## Table - Get Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 8104 0155D101 840F D101 8501 01 8704 02020201 8902 C500</td></tr></tbody></table>

## Table - Get Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D10182040000000084820010D1018501018704020202018903C5015F</td></tr></tbody></table>

## Table - Set Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081040155D1118410D111 8501 01 8704 02020201 8903 C501 5A</td></tr></tbody></table>

## Table - Set Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820010D1118501018704020202018903C5015A</td></tr></tbody></table>

## Table - Property 1.2.2.2.1.6 Battery Charging Schedule

<table data-header-hidden><thead><tr><th width="206.66668701171875" valign="top"></th><th></th></tr></thead><tbody><tr><td valign="top">Property Description</td><td></td></tr><tr><td valign="top">Property OID</td><td>1.2.2.2.1.6 / 0x010202020106</td></tr><tr><td valign="top">Name</td><td>Battery Charging Schedule</td></tr><tr><td valign="top"><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p>Description</p></td><td><p>The device uses this property to define on-duty hours. It consists of an on-duty starting time and on-duty duration. When on-duty the battery charging behavior matches the DYNAMIC_BATTERY_CHARGING described in Property 1.2.2.2.1.3 Battery Charging Mode. While off-duty the battery charging behavior is the same except it will charge to 100%, instead of the stop level set in Property 1.2.2.2.1.5 Battery Charging Stop Level. NOTE: The battery charging schedule is an optional feature of DYNAMIC_BATTERY_CHARGING.</p><p> </p><p>The battery charging schedule is disabled by default. After enabling it, the charging mode must also be set to DYNAMIC_BATTERY_CHARGING described in Property 1.2.2.2.1.3 Battery Charging Mode. When disabled, the dynamic battery charging behavior does not take into account of on-duty or off-duty times, instead it charges according to the charging start and stop level properties only.</p></td></tr><tr><td valign="top">Securing Key</td><td>None</td></tr><tr><td valign="top">Min. Len (b)</td><td>5</td></tr><tr><td valign="top">Max. Len (b)</td><td>5</td></tr><tr><td valign="top">Data Type</td><td>Binary</td></tr><tr><td valign="top">Valid Values</td><td><p>Example Setting: 00 08 00 0C 00</p><p>0x00 = Charge Schedule Enable (0x00 disable, 0x01 enable) 0x08 = Start Hour 00 – 23 (value range 0x00 – 0x17)</p><p>0x00 = Start Minute 00 – 59 (value range 0x00 – 0x3B) 0x0C = Duration Hour 00 – 23 (value range 0x00 – 0x17) 0x00 = Duration Minute 00 – 59 (value range 0x00 – 0x3B)</p><p> </p><p>The Battery Charging Schedule determines when the goes ON-DUTY and OFF_DUTY. The start hour and minute are used to determine the start of ON-DUTY. The device will remain On-DUTY until the duration hour and minute expires. Then it will go OFF- DUTY.</p></td></tr><tr><td valign="top">Default</td><td><p>00 08 00 0C 00</p><p>0x00 = Charge Schedule disabled 0x08 = Start Hour 08:00</p><p>0x00 = Start Minute 00 0x0C = Duration Hour 12 0x00 = Duration Minute 0</p><p>ON-DUTY starts at 08:00 and lasts for 12 hours 0 minutes</p></td></tr></tbody></table>

## Table - Get Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA00 8104 0155D101 840F D101 8501 01 8704 02020201 8902 C600</td></tr></tbody></table>

\#Table 839 - Get Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D10182040000000084820014D1018501018704020202018907C6050106090406</td></tr></tbody></table>

## Table - Set Request Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081040155D111 8414 D111 8501 01 8704 02020201 8907 C605 01 08 1E 0C 00</td></tr></tbody></table>

## Table- Set Response Example

<table data-header-hidden><thead><tr><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Example (Hex)</td></tr><tr><td valign="top">AA0081048255D11182040000000084820014D1118501018704020202018907C60501081E0C00</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/mms-dyna-devices/dynaflex-ii-go/documents/developers-manuals/programmers-manual-commands/configuration/usb-settings-usb-only.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.
