Use the Device Configuration Tool

USB Library ›› Device ››
… visits
Parent Previous Next

Make choices on the left and read the generated code and explanations on the right. The output updates when you change a setting. Some choices depend on each other, so fix any error before copying the code.

Find the setting you need

Save and reopen your settings

Use Save as… to save your settings in a .usbconfig project. This keeps the target, USB choices, register settings and imported HTML. Use Open… to continue later, or New to begin another project.

Save the BASIC file too. A .usbconfig file stores the tool's settings, not your application code or external storage data. Changes you make in the BASIC editor do not return to the tool automatically.

A Device project belongs in the Device program. A project saved for Host or OTG should be opened in its matching program.

Enter values in the tool

Control

How to use it

Fixed dropdown

Choose one of the supported values.

Editable dropdown

Choose a suggested value or type a valid value within the allowed range.

Checkbox

Checked enables the option; unchecked disables it. Generated values are normally 1 and 0.

Number field

Enter decimal, $-prefixed hexadecimal or 0x-prefixed hexadecimal where accepted. For example, decimal 100 and $64 mean the same number.

Version field

Enter a normal version such as 1.00 or 2.15. The tool converts it to the descriptor's BCD representation.

Text field

Enter the requested name or text; do not add BASIC quotation marks around the input.

Computed field

Read the calculated value; change its source settings to change the result.

Descriptor text entered through the tool accepts up to 126 printable ASCII characters without double quotes. It is encoded into USB string descriptors. Choosing a string language sets the descriptor's language identifier; it does not translate the text or enable unrestricted Unicode entry. Class-specific fields such as file names, value names and page titles have tighter rules.


A greyed-out field is not in use for the current choice. The tool may remember its old value, but that does not turn the feature on.

See also

Created with the Personal Edition of HelpNDoc: iPhone web sites made easy