Skip to content
HALOWERK

Iotwerk

sensor uart frame sample audit

Decode supplied aligned UART bit samples and flag start, parity and stop-bit failures.

POST https://iot.halowerk.com/v1/sensor-uart-frame-sample-audit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
data_bitsintegerYes
paritySee schemaYes
stop_bitsintegerYes
bitsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "data_bits": {
      "type": "integer",
      "minimum": 5,
      "maximum": 8
    },
    "parity": {
      "enum": [
        "none",
        "even",
        "odd"
      ]
    },
    "stop_bits": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2
    },
    "bits": {
      "type": "array",
      "items": {
        "enum": [
          0,
          1
        ]
      },
      "maxItems": 2000,
      "minItems": 7
    }
  },
  "required": [
    "data_bits",
    "parity",
    "stop_bits",
    "bits"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "data_bits": 8,
  "parity": "none",
  "stop_bits": 1,
  "bits": [
    0,
    1,
    0,
    1,
    0,
    0,
    0,
    1,
    0,
    1
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’