flatUSB/examples/jsons/usb_config_eem.json
Epagris 27942ade8e - stm32 driver fixes
- example JSON vendor and product ID's placeholdered
2024-11-19 07:39:33 +01:00

46 lines
1.0 KiB
JSON

{
"class": "0x02",
"subclass": "0x00",
"protocol_code": "0x00",
"max_ep0_packet_size": 64,
"vendor_id": "0x0000",
"product_id": "0x0001",
"device_release_bcd": "0x0100",
"vendor_string": "<Vendor>",
"product_string": "<Product name>",
"serial_number": "0000000000000",
"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
}
]
}
]
}
]
}