udmi

UDMI / Docs / Specs / Subblocks

Subblocks API

The Subblocks API defines a high-level interface between UDMI core services and ancillary applications. These messages are similar to those used for device communication, but are Specifically segmented by designated subblocks that partition functionality into atomic chunks. Specifically, the subblock state/config are a limited form of the overall device state/config, and only expose the relevant pieces.

The basic mode of this interface is a “read only” subscription to a PubSub topic (normally udmi_target) that then provides a complete view of updates as they flow through the system. This level of visibility should be sufficient to completely mirror the visible state of the system (barring issues like loss-of-message etc…).

Messages are typed by their subType and subFolder (named so because of legacy integrations). The subType field specifies generic message semantics, while the subFolder specifies the semantic interpretation.

subType attribute values

Several main subType values cover normal system operations. Other values not specified here should be ignored if received. If the subType field is missing then it should default to event.

subFolder attribute values

The subFolder attribute describes the semantic category for the message. There’s many potential values for this field (and it can be easily extended), but there are some primary values commonly of interest (and values not relevant to any given application should be ignored).