UsbPeripheralReport
Stay organized with collections
Save and categorize content based on your preferences.
USB connected peripheral report.
JSON representation |
{
"vendor": string,
"name": string,
"vid": integer,
"pid": integer,
"categories": [
string
],
"classId": integer,
"subclassId": integer,
"firmwareVersion": string
} |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-23 UTC.
[null,null,["Last updated 2025-06-23 UTC."],[[["\u003cp\u003eThis document describes the JSON representation of a USB connected peripheral report.\u003c/p\u003e\n"],["\u003cp\u003eThe report includes details such as vendor, name, IDs, categories, class, subclass, and firmware version of the device.\u003c/p\u003e\n"],["\u003cp\u003eAll fields in the JSON representation are output only and provide information about the connected USB peripheral.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided links for more details on USB defined class codes for categories, class ID, and subclass ID.\u003c/p\u003e\n"]]],[],null,["# UsbPeripheralReport\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nUSB connected peripheral report.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"vendor\": string, \"name\": string, \"vid\": integer, \"pid\": integer, \"categories\": [ string ], \"classId\": integer, \"subclassId\": integer, \"firmwareVersion\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------|\n| `vendor` | `string` Output only. Vendor name |\n| `name` | `string` Output only. Device name, model name, or product name |\n| `vid` | `integer` Output only. Vendor ID |\n| `pid` | `integer` Output only. Product ID |\n| `categories[]` | `string` Output only. Categories the device belongs to \u003chttps://www.usb.org/defined-class-codes\u003e |\n| `classId` | `integer` Output only. Class ID \u003chttps://www.usb.org/defined-class-codes\u003e |\n| `subclassId` | `integer` Output only. Subclass ID \u003chttps://www.usb.org/defined-class-codes\u003e |\n| `firmwareVersion` | `string` Output only. Firmware version |"]]