hid_device_priv::string_index is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDhid_device_priv::string_index

hid_device_priv::string_index field

Syntax

uint8_t string_index[3];

References

LocationReferrerText
windows_winusb.h:171
uint8_t string_index[3]; // man, prod, ser
windows_winusb.c:3515_hid_get_device_descriptor()
d.iManufacturer = hid_priv->string_index[0];
windows_winusb.c:3516_hid_get_device_descriptor()
d.iProduct = hid_priv->string_index[1];
windows_winusb.c:3517_hid_get_device_descriptor()
d.iSerialNumber = hid_priv->string_index[2];
windows_winusb.c:3618_hid_get_string_descriptor()
if (_index == (hid_priv->string_index[i])) {
windows_winusb.c:4071hid_open()
priv->hid->string_index[0] = dev->device_descriptor.iManufacturer;
windows_winusb.c:4072hid_open()
if (priv->hid->string_index[0] != 0)
windows_winusb.c:4077hid_open()
priv->hid->string_index[1] = dev->device_descriptor.iProduct;
windows_winusb.c:4078hid_open()
if (priv->hid->string_index[1] != 0)
windows_winusb.c:4082hid_open()
HidD_GetIndexedString(hid_handle, priv->hid->string_index[1], priv->hid->string[1], sizeof(priv->hid->string[1]));
windows_winusb.c:4086hid_open()
priv->hid->string_index[2] = dev->device_descriptor.iSerialNumber;
windows_winusb.c:4087hid_open()
if (priv->hid->string_index[2] != 0)

Data Use

Functions reading hid_device_priv::string_index
hid_device_priv::string_index
Type of hid_device_priv::string_index
hid_device_priv::string_index
uint8_t
all items filtered out