Skip to main content

Module transport

Module transport 

Source
Expand description

Transport abstraction for camera control transfers.

Every method on crate::Device is a thin shim that calls into a Transport implementation. The default in-tree implementation is usb::UsbTransport (ioctls on /dev/videoN via the uvcvideo driver on Linux); test code substitutes a mock.

The trait expresses USB Video Class class-specific control transfers identified by (entity_id, selector). Higher layers know which entity they target - Camera Terminal, Processing Unit, or vendor Extension Unit.

Modulesยง

usb
Linux UVC class-specific control transfer transport.