Electronic Components Datasheet Search |
|
CP2114 Datasheet(PDF) 5 Page - Silicon Laboratories |
|
CP2114 Datasheet(HTML) 5 Page - Silicon Laboratories |
5 / 54 page AN433 Rev. 0.5 5 2.2. HidUart_GetString Description: This function returns a null-terminated vendor ID string, product ID string, serial string, device path string, manufacturer string, or product string for the device specified by an index passed in deviceNum. The index for the first device is 0 and the last device is the value returned by HidUart_GetNumDevices() – 1. Prototype: HID_UART_STATUS HidUart_GetString (DWORD deviceNum, WORD vid, WORD pid, char* deviceString, DWORD options) Parameters:1. deviceNum—Index of the device for which the string is desired. 2. vid—Filter device results by vendor ID. If both vid and pid are set to 0x0000, then HID devices will not be filtered by VID/PID. 3. pid—Filter device results by product ID. If both vid and pid are set to 0x0000, then HID devices will not be filtered by VID/PID. 4. deviceString—Variable of type HID_UART_DEVICE_STRING which will contain a NULL terminated ASCII device string on return. The string is 260 bytes on Windows and 512 bytes on Mac OS X and Linux. 5. options—Determines if deviceString contains a vendor ID string, product ID string, serial string, device path string, manufacturer string, or product string. Return Value: HID_UART_STATUS = HID_UART_SUCCESS HID_UART_DEVICE_NOT_FOUND HID_UART_INVALID_PARAMETER HID_UART_DEVICE_ACCESS_ERROR Definition Value Length Description HID_UART_GET_VID_STR 0x01 5 Vendor ID HID_UART_GET_PID_STR 0x02 5 Product ID HID_UART_GET_PATH_STR 0x03 260/512 Device path HID_UART_GET_SERIAL_STR 0x04 256 Serial string HID_UART_GET_MANUFACTURER_STR 0x05 256 Manufacturer string HID_UART_GET_PRODUCT_STR 0x06 256 Product string |
Similar Part No. - CP2114 |
|
Similar Description - CP2114 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |