Iotwerk
register frame length contract
Return declared-versus-actual frame length and trailing or missing byte counts for a supplied layout. Supplied bytes only; no device connection or command.
POST https://iot.halowerk.com/v1/register-frame-length-contractInputs
| Field | Type | Required | Description |
|---|---|---|---|
| hex | string | Yes | |
| header_bytes | integer | Yes | |
| length_offset | integer | Yes | |
| length_bytes | See schema | Yes | |
| endian | See schema | Yes | |
| length_includes_header | boolean | Yes |
Show full input schema
{
"type": "object",
"properties": {
"hex": {
"type": "string",
"pattern": "^(?:[0-9a-fA-F]{2}){1,4096}$"
},
"header_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 4096
},
"length_offset": {
"type": "integer",
"minimum": 0,
"maximum": 4095
},
"length_bytes": {
"enum": [
1,
2,
4
]
},
"endian": {
"enum": [
"be",
"le"
]
},
"length_includes_header": {
"type": "boolean"
}
},
"required": [
"hex",
"header_bytes",
"length_offset",
"length_bytes",
"endian",
"length_includes_header"
],
"additionalProperties": false
}Published input example
{
"hex": "000400010203",
"header_bytes": 2,
"length_offset": 0,
"length_bytes": 2,
"endian": "be",
"length_includes_header": false
}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
- Iotwerk0.003 USDC
battery degradation
POSThttps://iot.halowerk.com/v1/battery-degradationApplies a transparent heuristic: cycle fade scales with equivalent full cycles and depth-of-discharge exponent; calendar fade scales with square-root time and a temperature factor. Coefficients are caller supplied or declared defaults. This
- Iotwerk0.002 USDC
device auth
POSThttps://iot.halowerk.com/v1/device-authCanonicalizes device_id, nonce and message, computes an HMAC-SHA256 tag with caller-supplied ephemeral key material, and optionally compares a claimed tag in constant time. It does not provision devices, store keys or replace asymmetric dev
- Iotwerk0.004 USDC
digital twin sync
POSThttps://iot.halowerk.com/v1/digital-twin-syncGroups caller-supplied scalar field changes by field name, selects the highest version, and reports a conflict when equal-version values differ. It does not connect to a twin platform, merge nested documents or resolve semantic conflicts.