diff --git a/desc/usb_config_cdc.json b/desc/usb_config_cdc.json new file mode 100644 index 0000000..a08fa28 --- /dev/null +++ b/desc/usb_config_cdc.json @@ -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 + } + ] + } + ] + } + ] +}