dnp3 (C++ API) 1.1.0
dnp3::flag Namespace Reference

Individual flag constants that may be combined using bitwise-OR operator. More...

Variables

constexpr uint8_t online = 0x01
 Object value is 'good' / 'valid' / 'nominal'. More...
 
constexpr uint8_t restart = 0x02
 Object value has not been updated since device restart. More...
 
constexpr uint8_t comm_lost = 0x04
 Object value represents the last value available before a communication failure occurred. Should never be set by originating devices. More...
 
constexpr uint8_t remote_forced = 0x08
 Object value is overridden in a downstream reporting device. More...
 
constexpr uint8_t local_forced = 0x10
 Object value is overridden by the device reporting this flag. More...
 
constexpr uint8_t chatter_filter = 0x20
 Object value is changing state rapidly (device dependent meaning) More...
 
constexpr uint8_t over_range = 0x20
 Object's true exceeds the measurement range of the reported variation. More...
 
constexpr uint8_t discontinuity = 0x40
 Reported counter value cannot be compared against a prior value to obtain the correct count difference. More...
 
constexpr uint8_t reference_err = 0x40
 Object's value might not have the expected level of accuracy. More...
 

Detailed Description

Individual flag constants that may be combined using bitwise-OR operator.

Variable Documentation

◆ chatter_filter

constexpr uint8_t dnp3::flag::chatter_filter = 0x20
constexpr

Object value is changing state rapidly (device dependent meaning)

◆ comm_lost

constexpr uint8_t dnp3::flag::comm_lost = 0x04
constexpr

Object value represents the last value available before a communication failure occurred. Should never be set by originating devices.

◆ discontinuity

constexpr uint8_t dnp3::flag::discontinuity = 0x40
constexpr

Reported counter value cannot be compared against a prior value to obtain the correct count difference.

◆ local_forced

constexpr uint8_t dnp3::flag::local_forced = 0x10
constexpr

Object value is overridden by the device reporting this flag.

◆ online

constexpr uint8_t dnp3::flag::online = 0x01
constexpr

Object value is 'good' / 'valid' / 'nominal'.

◆ over_range

constexpr uint8_t dnp3::flag::over_range = 0x20
constexpr

Object's true exceeds the measurement range of the reported variation.

◆ reference_err

constexpr uint8_t dnp3::flag::reference_err = 0x40
constexpr

Object's value might not have the expected level of accuracy.

◆ remote_forced

constexpr uint8_t dnp3::flag::remote_forced = 0x08
constexpr

Object value is overridden in a downstream reporting device.

◆ restart

constexpr uint8_t dnp3::flag::restart = 0x02
constexpr

Object value has not been updated since device restart.