Skip to main content

Message Keys

The Message Key is the single byte after <blaeck: that identifies a frame (see the envelope in the Introduction).

A key fully determines the layout of the payload that follows. Decoders therefore switch on the key alone and never need prior state to know how to read a frame.

Assigned Keys​

Each frame owns a small block of keys. Keys within a block are taken in ascending order as the frame is revised.

BlockCurrentFrame
85–8885Event
90–9490Entity List
95–9895Property
A5–A8A5Command Ack
B2–BFB7Device List
C0–C3C1Device Notification
D1–D7D3Data

80–84, A0–A4, E0–E3 and F0–F3 are unassigned.

Allocating a Key​

When a modification violates the payload's structure — such as replacing, reordering, or deleting a field — a new key must be assigned from the next available slot in the assigned keys list. However, utilizing reserved bytes to add additional capabilities is preferred when it allows the existing key to be retained.