Skip to content
HALOWERK

IoT and Devices

linecode hamming74 single error

Return even-parity Hamming(7,4) encoding, an injected single-bit error and syndrome-based correction.

POST https://iot.halowerk.com/v1/linecode-hamming74-single-error

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
dataarrayYes
error_positionintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 4,
      "minItems": 4
    },
    "error_position": {
      "type": "integer",
      "minimum": 0,
      "maximum": 7
    }
  },
  "required": [
    "data",
    "error_position"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "data": [
    1,
    0,
    1,
    1
  ],
  "error_position": 5
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’