analyzer_decode_classes
Decode captured USB traffic at class level, including control requests, HID reports, CDC-ACM state, mass-storage SCSI, and serial adapter data, to inspect and filter packets.
Instructions
Decode the captured traffic at USB class level: standard control requests and descriptors (device model per address), HID reports (keys, mouse), CDC-ACM line coding / serial state, mass-storage CBW/SCSI/CSW, and serial data of CDC-ACM / CH34x / FTDI / CP210x adapters. Always decodes the whole buffer, then filters and pages (next_seq). Works during and after a capture; no hardware access. During a capture, next_seq points at the first item still open (e.g. a control transfer waiting for its status stage), so that item is returned again, completed, by the next page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyzer_decode_classes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hints | No | Class hints keyed by device address, for captures that missed the enumeration. Values: a driver name ('cdc', 'serial', 'ch340'/'ch34x', 'ftdi', 'cp210x', 'hid', 'keyboard', 'mouse', 'msc', 'raw'), {'vid': ..., 'pid': ...}, {'driver': ...}, or per endpoint {'2': 'cdc', '0x81': 'keyboard'}. | |
| limit | No | Maximum items to return. | |
| layers | No | Only these layers (default all): control, hid, cdc, msc, serial, raw. | |
| address | No | Only this device address. | |
| endpoint | No | Only this endpoint number. | |
| start_seq | No | Only items starting at or after this record sequence number (None = all). Use next_seq to page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||