usb_protocol.emitters.descriptor module
- class usb_protocol.emitters.descriptor.ComplexDescriptorEmitter(collection=None)[source]
Bases:
ConstructEmitterBase class for emitting complex descriptors, which contain nested subordinates.
- DESCRIPTOR_FORMAT: DescriptorFormat
- __init__(collection=None)[source]
- Parameters:
collection – If this descriptor belongs to a collection, it should be – provided here. Using a collection object allows e.g. automatic assignment of string descriptor indices.