udmi

UDMI / Docs / Specs / Sequences / Config

Config & State Sequence

State and config

Generated using <https://sequencediagram.org>

participant Device
participant Broker
participantspacing 5
Broker->Device: **CONFIG**
Device->Broker: **STATE**
[->Device:Update from external\nsource, e.g. BMS
Device->Broker: **STATE**
[->Device:Change
Device->Broker: **STATE**

Config Message

State Message

Erroneous Config Handling

A device should be capable of interpreting erroneous messages without disrupting operation. There are three types of errors which may be encountered when interpreting config messages:

This behavior is tested by the config sequencer tests.

Hard-errors

Hard errors are ones such that the sanity of the entire config block is held in question, and considered “invalid” at a core level. This can happen when:

When this happens, the device should:

Soft-errors

Are things that can be safely relegated to a specific sub-block (e.g. pointset) without other areas being affected. This can happen when:

When this happens, the device should:

Non-Errors

There are some things that are specifically non-errors, and essentially meant to enable/help with backwards compatibility. This can happen when:

When this happens, the device should: