UsbPeripheralReport
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Raport o urządzeniach peryferyjnych podłączonych przez USB.
Zapis JSON |
{
"vendor": string,
"name": string,
"vid": integer,
"pid": integer,
"categories": [
string
],
"classId": integer,
"subclassId": integer,
"firmwareVersion": string
} |
Pola |
vendor |
string
Tylko dane wyjściowe. Nazwa dostawcy
|
name |
string
Tylko dane wyjściowe. Nazwa urządzenia, nazwa modelu lub nazwa produktu
|
vid |
integer
Tylko dane wyjściowe. Identyfikator dostawcy
|
pid |
integer
Tylko dane wyjściowe. Identyfikator produktu
|
categories[] |
string
Tylko dane wyjściowe. Kategorie, do których należy urządzenie: https://www.usb.org/defined-class-codes
|
classId |
integer
Tylko dane wyjściowe. Identyfikator klasy https://www.usb.org/defined-class-codes
|
subclassId |
integer
Tylko dane wyjściowe. Identyfikator podklasy https://www.usb.org/defined-class-codes
|
firmwareVersion |
string
Tylko dane wyjściowe. Wersja oprogramowania
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 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 |"]]