Skip to main content

Module wire

Module wire 

Source
Expand description

Typed CLS.EEDI 1.x JSON messages. The default sender version is 1.2.0.

Use Message::decode at the trust boundary. Its budgets include unknown extension fields. Explicit nulls are rejected for typed fields and duplicate keys are rejected throughout a message. Deserializing a payload struct directly skips these checks, except the power-property nesting check.

Structs§

Ack
Application outcome. Code zero indicates success.
Control
Backend desired settings. A standalone control carries exactly one property and, for limits and failsafes, exactly one direction.
DecodeFailure
DecodeLimits
Wire resource budgets. The byte limit is checked before parsing.
Energy
Consumed and produced energy readings.
Limit
Active power in watts and optional lifetime from receipt in seconds.
Measurement
A meter reading in the unit defined by its wire property.
Message
Meter
Latest measurements for one source.
MeterPower
Total or per-phase power.
Notify
An empty object cancels notifications. A configuration supplies all three fields.
Pairing
SHIP pairing material. Debug output is redacted.
Phases
Per-phase readings.
Power
Directions within an active-power property.
Read
Requested state properties. Empty requests a full snapshot.
ReplyHint
Correlation metadata for a protocol-defined error reply.
ScaledNumber
Exact meter value equal to number × 10^scale. The wire property supplies its unit.
State
Local device snapshot, selective reply or unsolicited update. limits and failsafes use the same power.active nesting as Control.
Status
Online publication or offline last will.
TrustEntry
One trust credential or pairing operation.
TrustReport
A snapshot of commissioning status suitable for operator diagnostics.
TrustSummary
Direct entries include SKIs resulting from certificate-based commissioning.
Voltages
Phase-to-neutral voltages.

Enums§

Kind
Payload
WireError

Constants§

MAX_MESSAGE_BYTES
Maximum payload accepted by the default codec, in bytes.