Configuration File Formats; Json Format - Microchip Technology Protouch2 User Manual

Gui
Hide thumbs Also See for Protouch2:
Table of Contents

Advertisement

Protouch2 GUI User Manual

8 Configuration File formats

Configuration file holds the data to be programmed to the hub. Configuration file
used for programming can be in Binary format (.cfg) or JSON format. Both the files
are generated when changes are done to the configuration items in the Hub.

8.1 JSON Format

JSON file uses human readable text to program. Json file starts with open brace "{"
and end with close brace "}". Number of properties using
separated by commas can be declared inside these braces. There should not be any
empty space or empty line. Use only below mentioned names (case-sensitive) in Json
File. Json file should be in the below given format.
Format:
{
"name":"value"
}
*use comma to separate when there are more entries.
Example:
{
"pid":"0x1234",
"did":"0x5678"
}
In this example, pid and did are configuration items and 0x1234and 0x5678 are the
new values.
Below is the list of supported configuration items:
Name
vid
16-bit value that uniquely identifies the Vendor
ID of the USB2 device
pid
16-bit value that the Vendor can assign that
uniquely identifies particular Product ID for
USB2 device
did
16-bit device release number for USB2 device
in BCD format
usbvcd
USB2 Specification Release Number in BCD
format
languageid
USB2 LANGUAGE ID
manufacturer
Manufacturer String of the USB2 HUB
product
Product String of the USB2 HUB
serial
Serial String of the USB2 HUB
usb3vid
16-bit value that uniquely identifies the Vendor
ID of the USB3 device
usb3pid
16-bit value that the Vendor can assign that
uniquely identifies particular Product ID for
USB3 device
usb3did
16-bit device release number for USB3 device
in BCD format
usb3languageid
USB3 LANGUAGE ID
usb3manufacturer
Manufacturer String of the USB3 HUB
usb3product
Product String of the USB3 HUB
MICROCHIP CONFIDENTIAL
Explanation
pairing,
"name": "value"
Example
"vid":"0x0424"
"pid":"0x2744"
"did":"0x1234"
"usbvcd":"2.10"
"languageid":"0x4009"
"manufacturer":"Microchip"
"product":"Tyler"
"serial":"123456"
"usb3vid":"0x0424"
"usb3pid":"0x5744"
"usb3did":"0x5678"
"usb3languageid":"0x4009"
"usb3manufacturer":"Microchip"
"usb3product":"USB5734"
Page 8

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Protouch2 and is the answer not in the manual?

Questions and answers

Table of Contents