added - basic flatUSB_config.h concept added - example JSONs added - CDC request replies fixed
46 lines
1.0 KiB
JSON
46 lines
1.0 KiB
JSON
{
|
|
"class": "0x02",
|
|
"subclass": "0x00",
|
|
"protocol_code": "0x00",
|
|
"max_ep0_packet_size": 64,
|
|
"vendor_id": "0x0925",
|
|
"product_id": "0x9050",
|
|
"device_release_bcd": "0x0100",
|
|
"vendor_string": "Epagris",
|
|
"product_string": "Testdevice",
|
|
"serial_number": "1552",
|
|
"configurations": [
|
|
{
|
|
"id": 1,
|
|
"is_bus_powered": true,
|
|
"can_wake_up_host": false,
|
|
"max_power_mA": 200,
|
|
"interfaces": [
|
|
{
|
|
"id": 0,
|
|
"class": "0x02",
|
|
"subclass": "0x0C",
|
|
"protocol_code": "0x07",
|
|
"additional_interfaces": [],
|
|
"endpoints": [
|
|
{
|
|
"n": 3,
|
|
"direction": "in",
|
|
"transfer_type": "bulk",
|
|
"max_packet_size": 64,
|
|
"service_interval": 0
|
|
},
|
|
{
|
|
"n": 3,
|
|
"direction": "out",
|
|
"transfer_type": "bulk",
|
|
"max_packet_size": 64,
|
|
"service_interval": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|