Skip to content
HALOWERK

IoT and Devices

linecode convolutional trellis encode

Return convolutional encoder output symbols and state history for supplied bits and generator masks.

POST https://iot.halowerk.com/v1/linecode-convolutional-trellis-encode

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
bitsarrayYes
constraintintegerYes
polynomialsarrayYes
initial_stateintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "bits": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 256,
      "minItems": 0
    },
    "constraint": {
      "type": "integer",
      "minimum": 2,
      "maximum": 8
    },
    "polynomials": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 255
      },
      "maxItems": 3,
      "minItems": 1
    },
    "initial_state": {
      "type": "integer",
      "minimum": 0,
      "maximum": 127
    }
  },
  "required": [
    "bits",
    "constraint",
    "polynomials",
    "initial_state"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "bits": [
    1,
    0,
    1
  ],
  "constraint": 3,
  "polynomials": [
    7,
    5
  ],
  "initial_state": 0
}

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