Skip to content
HALOWERK

Iotwerk

register bitfield layout overlaps

Return overlapping bitfield declarations, uncovered bits and buffer-capacity violations. Supplied bytes only; no device connection or command.

POST https://iot.halowerk.com/v1/register-bitfield-layout-overlaps

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
buffer_bitsintegerYes
fieldsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "buffer_bits": {
      "type": "integer",
      "minimum": 1,
      "maximum": 512
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "start": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1024
          },
          "width": {
            "type": "integer",
            "minimum": 1,
            "maximum": 64
          }
        },
        "required": [
          "name",
          "start",
          "width"
        ],
        "additionalProperties": false
      },
      "maxItems": 50,
      "minItems": 1
    }
  },
  "required": [
    "buffer_bits",
    "fields"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "buffer_bits": 16,
  "fields": [
    {
      "name": "mode",
      "start": 0,
      "width": 4
    },
    {
      "name": "flags",
      "start": 3,
      "width": 5
    },
    {
      "name": "count",
      "start": 8,
      "width": 8
    }
  ]
}

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 โ†’