- CDC ACM example renamed

This commit is contained in:
Wiesner András 2024-04-27 22:15:55 +02:00
parent 29ec3bebca
commit c05d59ddf5

77
desc/usb_config_cdc.json Normal file
View File

@ -0,0 +1,77 @@
{
"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": 100,
"interfaces": [
{
"id": 0,
"class": "0x02",
"subclass": "0x02",
"protocol_code": "0x01",
"additional_interfaces": [
{
"type": "hfd"
},
{
"type": "acmfd"
},
{
"type": "ufd",
"master_interface": 0,
"slave_interface": 1
},
{
"type": "cmfd",
"data_interface": 1
}
],
"endpoints": [
{
"n": 2,
"direction": "in",
"transfer_type": "interrupt",
"max_packet_size": 64,
"service_interval": 2
}
]
},
{
"id": 1,
"class": "0x0A",
"subclass": "0x00",
"protocol_code": "0x00",
"additional_interfaces": [],
"endpoints": [
{
"n": 1,
"direction": "in",
"transfer_type": "bulk",
"max_packet_size": 64,
"service_interval": 0
},
{
"n": 1,
"direction": "out",
"transfer_type": "bulk",
"max_packet_size": 64,
"service_interval": 0
}
]
}
]
}
]
}