UDMI / Docs / Messages / Config
Schema Definition: config.json (🧬View)
The UDMI config block specifies information that controls a device's intended behavior.
It is composed of specific sub-entries for each sub-system { system, pointset, gateway, etc... }.
This working example shows how a typical config
message
is constructed.
min_loglevel
: Indicates the minimum loglevel for reporting log messages below which log entries should not be sent. See note below for a description of the level value.
sample_rate_sec
: Sampling rate for the system, which should proactively send an update (e.g. pointset, logentry, discover message) at this interval.sample_limit_sec
: Minimum time between sample updates. Updates that happen faster than this time (e.g. due tocov
events) should be coalesced so that only the most recent update is sent.
set_value
: Set a value to be used during diagnostics and operational use. Should override any operational values, but not override alarm conditions.
During a config receive/up sequence, the system should produce the following log/status update entries:
- system.config.receive: (DEBUG) Receiving a config message
- system.config.parse: (DEBUG) Parsing a received message
- system.config.apply: (NOTICE) Application of a parsed config message