ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::usb_host::UsbDeviceInfo Struct Reference

Identity of a connected USB device, copied out of the descriptors the USB host stack caches for the lifetime of the connection. More...

#include <usb_host.h>

Data Fields

uint16_t vendor_id
 
uint16_t product_id
 
uint16_t bcd_device
 
char manufacturer [DESC_STRING_BUF_SIZE]
 
char product [DESC_STRING_BUF_SIZE]
 
char serial_number [DESC_STRING_BUF_SIZE]
 

Detailed Description

Identity of a connected USB device, copied out of the descriptors the USB host stack caches for the lifetime of the connection.

Definition at line 128 of file usb_host.h.

Field Documentation

◆ bcd_device

uint16_t esphome::usb_host::UsbDeviceInfo::bcd_device

Definition at line 131 of file usb_host.h.

◆ manufacturer

char esphome::usb_host::UsbDeviceInfo::manufacturer[DESC_STRING_BUF_SIZE]

Definition at line 132 of file usb_host.h.

◆ product

char esphome::usb_host::UsbDeviceInfo::product[DESC_STRING_BUF_SIZE]

Definition at line 133 of file usb_host.h.

◆ product_id

uint16_t esphome::usb_host::UsbDeviceInfo::product_id

Definition at line 130 of file usb_host.h.

◆ serial_number

char esphome::usb_host::UsbDeviceInfo::serial_number[DESC_STRING_BUF_SIZE]

Definition at line 134 of file usb_host.h.

◆ vendor_id

uint16_t esphome::usb_host::UsbDeviceInfo::vendor_id

Definition at line 129 of file usb_host.h.


The documentation for this struct was generated from the following file: