destack:device/binding import destack:device/binding Structs - BluetoothAdapter — Bluetooth adapter. - BluetoothAdapterEventAttached — Bluetooth adapter attached event. - BluetoothAdapterEventChanged — Bluetooth adapter changed event. - BluetoothAdapterEventDetached — Bluetooth adapter detached event. - BluetoothAdapterEventOverflow — Bluetooth adapter overflow event. - BluetoothAdvertisement — Bluetooth advertisement payload. - BluetoothDataFilter — Bluetooth payload filter. - BluetoothDevice — Bluetooth device. - BluetoothGattCharacteristic — Bluetooth GATT characteristic. - BluetoothGattDescriptor — Bluetooth GATT descriptor. - BluetoothGattService — Bluetooth GATT service. - BluetoothGattValueEvent — Bluetooth GATT value event. - BluetoothManufacturerData — Bluetooth advertisement manufacturer payload. - BluetoothManufacturerFilter — Bluetooth manufacturer-data filter. - BluetoothScanEventDiscovered — Bluetooth scan discovered event. - BluetoothScanEventLost — Bluetooth scan lost event. - BluetoothScanEventOverflow — Bluetooth scan overflow event. - BluetoothScanEventUpdated — Bluetooth scan updated event. - BluetoothScanOptions — Bluetooth scan options. - BluetoothServiceData — Bluetooth advertisement service payload. - BluetoothServiceFilter — Bluetooth service-data filter. - BluetoothSessionEventDisconnected — Bluetooth session disconnected event. - BluetoothSessionEventGattChanged — Bluetooth session GATT changed event. - BluetoothSessionEventOverflow — Bluetooth session overflow event. - BluetoothSessionEventPairingChanged — Bluetooth session pairing changed event. - CameraControlCapability — Camera control capability. - CameraControlValue — Camera control value. - CameraDevice — Camera device. - CameraFormat — Camera stream format. - CameraFrame — Camera frame result. - CameraPlane — Camera frame plane. - CameraStreamOptions — Camera stream open options. - CameraWatchEventAttached — Camera attached watch event. - CameraWatchEventChanged — Camera changed watch event. - CameraWatchEventDetached — Camera detached watch event. - CameraWatchEventOverflow — Camera overflow watch event. - HidDevice — HID device descriptor. - HidDeviceQuery — HID device query. - HidReport — HID report payload. - MidiBackend — MIDI backend. - MidiEventAttached — MIDI attached event. - MidiEventBackendDetached — MIDI backend detached event. - MidiEventChanged — MIDI changed event. - MidiEventDetached — MIDI detached event. - MidiEventOverflow — MIDI overflow event. - MidiInputRecord — MIDI input record. - MidiListOptions — MIDI port list options. - MidiOpenOptions — MIDI port open options. - MidiOutputRecord — MIDI output record. - MidiPort — MIDI port. - MidiVirtualOptions — Virtual MIDI port options. - MidiWatchOptions — MIDI topology watch options. - SerialConfig — Serial port configuration. - SerialEventDisconnected — Serial disconnected event. - SerialEventError — Serial error event. - SerialEventOverflow — Serial overflow event. - SerialEventReadable — Serial readable event. - SerialEventSignals — Serial signals event. - SerialInputSignals — Serial input signal state. - SerialOpenOptions — Serial port open options. - SerialOutputSignals — Serial output signal patch. - SerialPort — Serial port. - SerialWatchEventAttached — Serial attached watch event. - SerialWatchEventDetached — Serial detached watch event. - SerialWatchEventOverflow — Serial overflow watch event. - UsbConfiguration — USB configuration descriptor. - UsbControlSetup — USB control transfer setup packet. - UsbDevice — USB device descriptor. - UsbEndpoint — USB endpoint descriptor. - UsbEndpointSelector — USB endpoint selector. - UsbInterface — USB interface descriptor. - UsbIsochronousPacket — USB isochronous packet result. - UsbTransferResult — USB transfer result. - UsbWatchEventAttached — USB attached watch event. - UsbWatchEventDetached — USB detached watch event. - UsbWatchEventOverflow — USB overflow watch event. Enums - BluetoothGattWriteMode — Bluetooth GATT write mode. - BluetoothPairing — Bluetooth pairing state. - BluetoothPhy — Bluetooth LE PHY selector. - BluetoothScanMode — Bluetooth scan mode. - BluetoothTransport — Bluetooth LE transport classification. - CameraColorSpace — Camera color space. - CameraControl — Camera control identifier. - CameraControlMode — Camera control mode. - CameraDynamicRange — Camera dynamic-range mode. - CameraFacing — Camera facing mode. - CameraPixelFormat — Camera pixel format. - HidBus — HID device bus kind. - MidiBackendKind — MIDI backend kind. - MidiFormat — MIDI transport data format. - MidiProtocol — MIDI protocol. - SerialDataBits — Serial data-bit count. - SerialErrorKind — Serial error kind. - SerialParity — Serial parity mode. - SerialStopBits — Serial stop-bit mode. - SerialTransport — Serial port transport kind. - UsbDirection — USB endpoint direction. - UsbRecipient — USB control recipient. - UsbRequestType — USB control request type. - UsbSpeed — USB device speed. - UsbTransferStatus — USB transfer status. - UsbTransferType — USB endpoint transfer type. Newtypes - BluetoothAdapterEvent — Bluetooth adapter topology event. - BluetoothAdapterWatchHandle — Handle for one Bluetooth adapter watch. - BluetoothDeviceHandle — Handle for one Bluetooth device session. - BluetoothGattProperties — Bluetooth GATT characteristic property flags. - BluetoothScanEvent — Bluetooth scan event. - BluetoothScanHandle — Handle for one Bluetooth scan session. - BluetoothSessionEvent — Bluetooth session event. - BluetoothSubscriptionHandle — Handle for one Bluetooth GATT subscription. - CameraControlModeFlags — Camera control mode flags. - CameraDeviceHandle — Handle for one camera device endpoint. - CameraStreamHandle — Handle for one camera stream endpoint. - CameraWatchEvent — Camera topology event. - CameraWatchHandle — Handle for one camera watch stream. - HidDeviceHandle — Handle for one HID device endpoint. - HidDeviceListFlags — HID device list flags. - MidiBackendFlags — MIDI backend capability flags. - MidiDirectionFlags — MIDI port direction flags. - MidiEvent — MIDI topology event. - MidiFormatFlags — MIDI transport data-format flags. - MidiInputPortHandle — Handle for one opened MIDI input endpoint. - MidiListFlags — MIDI port list flags. - MidiOutputPortHandle — Handle for one opened MIDI output endpoint. - MidiProtocolFlags — MIDI protocol flags. - MidiWatchFlags — MIDI topology watch flags. - MidiWatchHandle — Handle for one MIDI watch. - SerialEvent — Serial port event. - SerialFlowControl — Serial flow-control flags. - SerialFlushFlags — Serial flush flags. - SerialOpenFlags — Serial port creation flags. - SerialPortHandle — Handle for one serial-port endpoint. - SerialWatchEvent — Serial topology event. - SerialWatchHandle — Handle for one serial watch. - UsbDeviceHandle — Handle for one USB device endpoint. - UsbWatchEvent — USB topology event. - UsbWatchHandle — Handle for one USB watch. Interfaces - DeviceBinding — Device binding family. - DeviceBluetoothBinding — Bluetooth binding family. - DeviceCameraBinding — Camera binding family. - DeviceHidBinding — Hid binding family. - DeviceMidiBinding — Midi binding family. - DeviceSerialBinding — Serial binding family. - DeviceUsbBinding — Usb binding family. Constants - BLUETOOTHGATTINDICATE — Characteristic supports indications. - BLUETOOTHGATTNOTIFY — Characteristic supports notifications. - BLUETOOTHGATTREAD — Characteristic supports reads. - BLUETOOTHGATTWRITE — Characteristic supports writes with response. - BLUETOOTHGATTWRITEWITHOUTRESPONSE — Characteristic supports writes without response. - CAMERACONTROLMODEAUTO — Camera control supports automatic mode. - CAMERACONTROLMODECONTINUOUSAUTO — Camera control supports continuous automatic mode. - CAMERACONTROLMODEMANUAL — Camera control supports manual mode. - CAMERACONTROLMODEOFF — Camera control supports the off mode. - CAMERACONTROLMODEON — Camera control supports the on mode. - device — Current device binding family. - HIDDEVICELISTDISCONNECTED — Include disconnected devices when the host reports them. - HIDDEVICELISTVIRTUAL — Include virtual and emulated devices. - MIDIBACKENDEVENTS — Backend can report topology events. - MIDIBACKENDINPUTTIMESTAMPS — Backend can report input timestamps. - MIDIBACKENDSCHEDULEDOUTPUT — Backend can schedule output by timestamp. - MIDIBACKENDVIRTUALINPUT — Backend can create virtual input ports. - MIDIBACKENDVIRTUALOUTPUT — Backend can create virtual output ports. - MIDIDIRECTIONALL — MIDI input and output port directions. - MIDIDIRECTIONINPUT — MIDI input port direction. - MIDIDIRECTIONNONE — No MIDI port direction. - MIDIDIRECTIONOUTPUT — MIDI output port direction. - MIDIFORMATMIDI1BYTES — MIDI 1.0 byte-stream transport. - MIDIFORMATNONE — No MIDI transport data formats. - MIDIFORMATUMP — Universal MIDI Packet transport. - MIDILISTDISCONNECTED — Include disconnected ports when the backend reports them. - MIDILISTVIRTUAL — Include virtual ports. - MIDIPROTOCOLMIDI1 — MIDI 1.0 protocol. - MIDIPROTOCOLMIDI2 — MIDI 2.0 protocol. - MIDIPROTOCOLNONE — No MIDI protocols. - MIDIWATCHDISCONNECTED — Include disconnected ports when the backend reports them. - MIDIWATCHVIRTUAL — Include virtual ports. - SERIALFLOWDTRDSR — Enable DTR/DSR hardware flow control. - SERIALFLOWNONE — Disable flow control. - SERIALFLOWRTSCTS — Enable RTS/CTS hardware flow control. - SERIALFLOWXONXOFF — Enable XON/XOFF software flow control. - SERIALFLUSHINPUT — Flush queued input bytes. - SERIALFLUSHOUTPUT — Flush queued output bytes. - SERIALOPENEXCLUSIVE — Request exclusive access to the port. - SERIALOPENNONBLOCK — Open the port in nonblocking mode.