Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F B NIGHT USB CONTROL / usb control transfer data status phase

A USB-stack conformance test agent needs exact data/status stage and PID/direction obligations of a supplied normalized control-transfer transcript. No actual USB device access or standard-request authorization.

POST https://detect.halowerk.com/v1/F-B-NIGHT-USB-CONTROL/usb-control-transfer-data-status-phase

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "usb_control"
      ],
      "properties": {
        "usb_control": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "max_packet",
            "events",
            "claim"
          ],
          "properties": {
            "max_packet": {
              "enum": [
                8,
                16,
                32,
                64
              ]
            },
            "events": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "direction",
                      "length"
                    ],
                    "properties": {
                      "kind": {
                        "const": "setup"
                      },
                      "direction": {
                        "enum": [
                          "in",
                          "out"
                        ]
                      },
                      "length": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 65535
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "direction",
                      "pid",
                      "bytes"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "data",
                          "status"
                        ]
                      },
                      "direction": {
                        "enum": [
                          "in",
                          "out"
                        ]
                      },
                      "pid": {
                        "enum": [
                          0,
                          1
                        ]
                      },
                      "bytes": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 64
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "direction"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "nak",
                          "stall"
                        ]
                      },
                      "direction": {
                        "enum": [
                          "in",
                          "out"
                        ]
                      }
                    }
                  }
                ]
              },
              "maxItems": 128
            },
            "claim": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "phase",
                "next_direction",
                "next_data_pid",
                "data_bytes",
                "data_stage_short_terminated",
                "completed_transfers",
                "aborted_transfers",
                "subsequent_setups",
                "nak_transactions",
                "protocol_stall_transactions",
                "violations"
              ],
              "properties": {
                "phase": {
                  "enum": [
                    "idle",
                    "data",
                    "status",
                    "stalled",
                    "complete"
                  ]
                },
                "next_direction": {
                  "enum": [
                    "in",
                    "out",
                    null
                  ]
                },
                "next_data_pid": {
                  "enum": [
                    0,
                    1,
                    null
                  ]
                },
                "data_bytes": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 65535
                },
                "data_stage_short_terminated": {
                  "type": "boolean"
                },
                "completed_transfers": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 128
                },
                "aborted_transfers": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 128
                },
                "subsequent_setups": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 128
                },
                "nak_transactions": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 128
                },
                "protocol_stall_transactions": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 128
                },
                "violations": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 128
                }
              }
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 20:49 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →