usb_protocol.types.descriptors.cdc module

Structures describing Communications Device Class descriptors.

class usb_protocol.types.descriptors.cdc.CDCDescriptorNumbers(value)[source]

Bases: IntEnum

An enumeration.

CS_ENDPOINT = 37
CS_INTERFACE = 36
class usb_protocol.types.descriptors.cdc.CDCDescriptorSubtypes(value)[source]

Bases: IntEnum

Numbers of the Communications Class descriptor subtypes.

ABSTRACT_CONTROL_MANAGEMENT_FUNCTIONAL = 2
ATM_NETWORKING_FUNCTIONAL = 16
CALL_MANAGEMENT_FUNCTIONAL = 1
CAPI_CONTROL_MANAGEMENT_FUNCTIONAL = 14
COMMAND_SET_DETAIL_FUNCTIONAL = 23
COMMAND_SET_FUCNTIONAL = 22
COUNTRY_SELECTION_FUNCTIONAL = 7
DEVICE_MANAGEMENT_MODEL_FUNCTIONAL = 20
DIRECT_LINE_MANAGEMENT_FUNCTIONAL = 3
ETHERNET_NETWORKING_FUNCTIONAL = 15
EXTENSION_UNIT_FUNCTIONAL = 12
HEADER = 0
MDLM_DETAIL_FUNCTIONAL = 19
MOBILE_DIRECT_LINE_MODEL_FUNCTIONAL = 18
MULTI_CHANNEL_MANAGEMENT_FUNCTIONAL = 13
NCM_FUNCTIONAL = 26
NETWORK_CHANNEL_TERMINAL = 10
OBEX_FUNCTIONAL = 21
OBEX_SERVICE_IDENTIFIER_FUNCTIONAL = 25
PROTOCOL_UNIT_FUNCTIONAL = 11
TELEPHONE_CALL_AND_LINE_STATE_FUNCTIONAL = 5
TELEPHONE_CONTROL_MODEL_FUNCTIONAL = 24
TELEPHONE_OPERATIONAL_MODES_FUNCTIONAL = 8
TELEPHONE_RINGER_FUNCTIONAL = 4
UNION_FUNCTIONAL_DESCRIPTOR = 6
USB_TERMINAL_FUNCTIONAL = 9
WIRELESS_HANDSET_CONTROL_MODEL_FUNCTIONAL = 17