|
| enum | dnp3_param_error_t {
DNP3_PARAM_ERROR_OK = 0
, DNP3_PARAM_ERROR_INVALID_TIMEOUT = 1
, DNP3_PARAM_ERROR_NULL_PARAMETER = 2
, DNP3_PARAM_ERROR_STRING_NOT_UTF8 = 3
,
DNP3_PARAM_ERROR_NO_SUPPORT = 4
, DNP3_PARAM_ERROR_ASSOCIATION_DOES_NOT_EXIST = 5
, DNP3_PARAM_ERROR_ASSOCIATION_DUPLICATE_ADDRESS = 6
, DNP3_PARAM_ERROR_INVALID_SOCKET_ADDRESS = 7
,
DNP3_PARAM_ERROR_INVALID_DNP3_ADDRESS = 8
, DNP3_PARAM_ERROR_INVALID_BUFFER_SIZE = 9
, DNP3_PARAM_ERROR_ADDRESS_FILTER_CONFLICT = 10
, DNP3_PARAM_ERROR_SERVER_ALREADY_STARTED = 11
,
DNP3_PARAM_ERROR_SERVER_BIND_ERROR = 12
, DNP3_PARAM_ERROR_MASTER_ALREADY_SHUTDOWN = 13
, DNP3_PARAM_ERROR_RUNTIME_CREATION_FAILURE = 14
, DNP3_PARAM_ERROR_RUNTIME_DESTROYED = 15
,
DNP3_PARAM_ERROR_RUNTIME_CANNOT_BLOCK_WITHIN_ASYNC = 16
, DNP3_PARAM_ERROR_LOGGING_ALREADY_CONFIGURED = 17
, DNP3_PARAM_ERROR_POINT_DOES_NOT_EXIST = 18
, DNP3_PARAM_ERROR_INVALID_PEER_CERTIFICATE = 19
,
DNP3_PARAM_ERROR_INVALID_LOCAL_CERTIFICATE = 20
, DNP3_PARAM_ERROR_INVALID_PRIVATE_KEY = 21
, DNP3_PARAM_ERROR_INVALID_DNS_NAME = 22
, DNP3_PARAM_ERROR_OTHER_TLS_ERROR = 23
,
DNP3_PARAM_ERROR_WRONG_CHANNEL_TYPE = 24
, DNP3_PARAM_ERROR_CONSUMED = 25
} |
| | Error type used throughout the library. More...
|
| |
| enum | dnp3_command_status_t {
DNP3_COMMAND_STATUS_SUCCESS = 0
, DNP3_COMMAND_STATUS_TIMEOUT = 1
, DNP3_COMMAND_STATUS_NO_SELECT = 2
, DNP3_COMMAND_STATUS_FORMAT_ERROR = 3
,
DNP3_COMMAND_STATUS_NOT_SUPPORTED = 4
, DNP3_COMMAND_STATUS_ALREADY_ACTIVE = 5
, DNP3_COMMAND_STATUS_HARDWARE_ERROR = 6
, DNP3_COMMAND_STATUS_LOCAL = 7
,
DNP3_COMMAND_STATUS_TOO_MANY_OPS = 8
, DNP3_COMMAND_STATUS_NOT_AUTHORIZED = 9
, DNP3_COMMAND_STATUS_AUTOMATION_INHIBIT = 10
, DNP3_COMMAND_STATUS_PROCESSING_LIMITED = 11
,
DNP3_COMMAND_STATUS_OUT_OF_RANGE = 12
, DNP3_COMMAND_STATUS_DOWNSTREAM_LOCAL = 13
, DNP3_COMMAND_STATUS_ALREADY_COMPLETE = 14
, DNP3_COMMAND_STATUS_BLOCKED = 15
,
DNP3_COMMAND_STATUS_CANCELED = 16
, DNP3_COMMAND_STATUS_BLOCKED_OTHER_MASTER = 17
, DNP3_COMMAND_STATUS_DOWNSTREAM_FAIL = 18
, DNP3_COMMAND_STATUS_NON_PARTICIPATING = 19
,
DNP3_COMMAND_STATUS_UNKNOWN = 20
} |
| | Enumeration received from an outstation in response to command request. More...
|
| |
| enum | dnp3_app_decode_level_t { DNP3_APP_DECODE_LEVEL_NOTHING = 0
, DNP3_APP_DECODE_LEVEL_HEADER = 1
, DNP3_APP_DECODE_LEVEL_OBJECT_HEADERS = 2
, DNP3_APP_DECODE_LEVEL_OBJECT_VALUES = 3
} |
| | Controls how transmitted and received application-layer fragments are decoded at the INFO log level. More...
|
| |
| enum | dnp3_transport_decode_level_t { DNP3_TRANSPORT_DECODE_LEVEL_NOTHING = 0
, DNP3_TRANSPORT_DECODE_LEVEL_HEADER = 1
, DNP3_TRANSPORT_DECODE_LEVEL_PAYLOAD = 2
} |
| | Controls how transmitted and received transport segments are decoded at the INFO log level. More...
|
| |
| enum | dnp3_link_decode_level_t { DNP3_LINK_DECODE_LEVEL_NOTHING = 0
, DNP3_LINK_DECODE_LEVEL_HEADER = 1
, DNP3_LINK_DECODE_LEVEL_PAYLOAD = 2
} |
| | Controls how transmitted and received link frames are decoded at the INFO log level. More...
|
| |
| enum | dnp3_phys_decode_level_t { DNP3_PHYS_DECODE_LEVEL_NOTHING = 0
, DNP3_PHYS_DECODE_LEVEL_LENGTH = 1
, DNP3_PHYS_DECODE_LEVEL_DATA = 2
} |
| | Controls how data transmitted at the physical layer (TCP, serial, etc) is logged. More...
|
| |
| enum | dnp3_trip_close_code_t { DNP3_TRIP_CLOSE_CODE_NUL = 0
, DNP3_TRIP_CLOSE_CODE_CLOSE = 1
, DNP3_TRIP_CLOSE_CODE_TRIP = 2
, DNP3_TRIP_CLOSE_CODE_RESERVED = 3
} |
| | Trip-Close Code field, used in conjunction with dnp3_op_type_t to specify a control operation. More...
|
| |
| enum | dnp3_op_type_t {
DNP3_OP_TYPE_NUL = 0
, DNP3_OP_TYPE_PULSE_ON = 1
, DNP3_OP_TYPE_PULSE_OFF = 2
, DNP3_OP_TYPE_LATCH_ON = 3
,
DNP3_OP_TYPE_LATCH_OFF = 4
} |
| | Operation Type field, used in conjunction with dnp3_trip_close_code_t to specify a control operation. More...
|
| |
| enum | dnp3_time_quality_t { DNP3_TIME_QUALITY_SYNCHRONIZED_TIME = 0
, DNP3_TIME_QUALITY_UNSYNCHRONIZED_TIME = 1
, DNP3_TIME_QUALITY_INVALID_TIME = 2
} |
| | Timestamp quality. More...
|
| |
| enum | dnp3_double_bit_t { DNP3_DOUBLE_BIT_INTERMEDIATE = 0
, DNP3_DOUBLE_BIT_DETERMINED_OFF = 1
, DNP3_DOUBLE_BIT_DETERMINED_ON = 2
, DNP3_DOUBLE_BIT_INDETERMINATE = 3
} |
| | Double-bit binary input value. More...
|
| |
| enum | dnp3_analog_command_type_t { DNP3_ANALOG_COMMAND_TYPE_I16 = 0
, DNP3_ANALOG_COMMAND_TYPE_I32 = 1
, DNP3_ANALOG_COMMAND_TYPE_F32 = 2
, DNP3_ANALOG_COMMAND_TYPE_F64 = 3
} |
| | Describes the encoding of the commanded value. More...
|
| |
| enum | dnp3_min_tls_version_t { DNP3_MIN_TLS_VERSION_V12 = 0
, DNP3_MIN_TLS_VERSION_V13 = 1
} |
| | Minimum TLS version to allow. More...
|
| |
| enum | dnp3_certificate_mode_t { DNP3_CERTIFICATE_MODE_AUTHORITY_BASED = 0
, DNP3_CERTIFICATE_MODE_SELF_SIGNED = 1
} |
| | Determines how the certificate(s) presented by the peer are validated. More...
|
| |
| enum | dnp3_variation_list_attr_t { DNP3_VARIATION_LIST_ATTR_UNKNOWN = 0
, DNP3_VARIATION_LIST_ATTR_LIST_OF_VARIATIONS = 1
} |
| | Enumeration of all the variation list attributes. More...
|
| |
| enum | dnp3_string_attr_t {
DNP3_STRING_ATTR_UNKNOWN = 0
, DNP3_STRING_ATTR_CONFIG_ID = 1
, DNP3_STRING_ATTR_CONFIG_VERSION = 2
, DNP3_STRING_ATTR_CONFIG_DIGEST_ALGORITHM = 3
,
DNP3_STRING_ATTR_MASTER_RESOURCE_ID = 4
, DNP3_STRING_ATTR_USER_ASSIGNED_SECONDARY_OPERATOR_NAME = 5
, DNP3_STRING_ATTR_USER_ASSIGNED_PRIMARY_OPERATOR_NAME = 6
, DNP3_STRING_ATTR_USER_ASSIGNED_SYSTEM_NAME = 7
,
DNP3_STRING_ATTR_USER_SPECIFIC_ATTRIBUTES = 8
, DNP3_STRING_ATTR_DEVICE_MANUFACTURER_SOFTWARE_VERSION = 9
, DNP3_STRING_ATTR_DEVICE_MANUFACTURER_HARDWARE_VERSION = 10
, DNP3_STRING_ATTR_USER_ASSIGNED_OWNER_NAME = 11
,
DNP3_STRING_ATTR_USER_ASSIGNED_LOCATION = 12
, DNP3_STRING_ATTR_USER_ASSIGNED_ID = 13
, DNP3_STRING_ATTR_USER_ASSIGNED_DEVICE_NAME = 14
, DNP3_STRING_ATTR_DEVICE_SERIAL_NUMBER = 15
,
DNP3_STRING_ATTR_DEVICE_SUBSET_AND_CONFORMANCE = 16
, DNP3_STRING_ATTR_PRODUCT_NAME_AND_MODEL = 17
, DNP3_STRING_ATTR_DEVICE_MANUFACTURERS_NAME = 18
} |
| | Enumeration of all the default string attributes. More...
|
| |
| enum | dnp3_uint_attr_t {
DNP3_UINT_ATTR_UNKNOWN = 0
, DNP3_UINT_ATTR_SECURE_AUTH_VERSION = 1
, DNP3_UINT_ATTR_NUM_SECURITY_STATS_PER_ASSOC = 2
, DNP3_UINT_ATTR_NUM_MASTER_DEFINED_DATA_SET_PROTO = 3
,
DNP3_UINT_ATTR_NUM_OUTSTATION_DEFINED_DATA_SET_PROTO = 4
, DNP3_UINT_ATTR_NUM_MASTER_DEFINED_DATA_SETS = 5
, DNP3_UINT_ATTR_NUM_OUTSTATION_DEFINED_DATA_SETS = 6
, DNP3_UINT_ATTR_MAX_BINARY_OUTPUT_PER_REQUEST = 7
,
DNP3_UINT_ATTR_LOCAL_TIMING_ACCURACY = 8
, DNP3_UINT_ATTR_DURATION_OF_TIME_ACCURACY = 9
, DNP3_UINT_ATTR_MAX_ANALOG_OUTPUT_INDEX = 10
, DNP3_UINT_ATTR_NUM_ANALOG_OUTPUTS = 11
,
DNP3_UINT_ATTR_MAX_BINARY_OUTPUT_INDEX = 12
, DNP3_UINT_ATTR_NUM_BINARY_OUTPUTS = 13
, DNP3_UINT_ATTR_MAX_COUNTER_INDEX = 14
, DNP3_UINT_ATTR_NUM_COUNTER = 15
,
DNP3_UINT_ATTR_MAX_ANALOG_INPUT_INDEX = 16
, DNP3_UINT_ATTR_NUM_ANALOG_INPUT = 17
, DNP3_UINT_ATTR_MAX_DOUBLE_BIT_BINARY_INPUT_INDEX = 18
, DNP3_UINT_ATTR_NUM_DOUBLE_BIT_BINARY_INPUT = 19
,
DNP3_UINT_ATTR_MAX_BINARY_INPUT_INDEX = 20
, DNP3_UINT_ATTR_NUM_BINARY_INPUT = 21
, DNP3_UINT_ATTR_MAX_TX_FRAGMENT_SIZE = 22
, DNP3_UINT_ATTR_MAX_RX_FRAGMENT_SIZE = 23
} |
| | Enumeration of all the default uint attributes. More...
|
| |
| enum | dnp3_int_attr_t { DNP3_INT_ATTR_UNKNOWN = 0
} |
| | Enumeration of all the default integer attributes. More...
|
| |
| enum | dnp3_bool_attr_t {
DNP3_BOOL_ATTR_UNKNOWN = 0
, DNP3_BOOL_ATTR_SUPPORTS_ANALOG_OUTPUT_EVENTS = 1
, DNP3_BOOL_ATTR_SUPPORTS_BINARY_OUTPUT_EVENTS = 2
, DNP3_BOOL_ATTR_SUPPORTS_FROZEN_COUNTER_EVENTS = 3
,
DNP3_BOOL_ATTR_SUPPORTS_FROZEN_COUNTERS = 4
, DNP3_BOOL_ATTR_SUPPORTS_COUNTER_EVENTS = 5
, DNP3_BOOL_ATTR_SUPPORTS_FROZEN_ANALOG_INPUTS = 6
, DNP3_BOOL_ATTR_SUPPORTS_ANALOG_INPUT_EVENTS = 7
,
DNP3_BOOL_ATTR_SUPPORTS_DOUBLE_BIT_BINARY_INPUT_EVENTS = 8
, DNP3_BOOL_ATTR_SUPPORTS_BINARY_INPUT_EVENTS = 9
} |
| | Enumeration of all the known boolean attributes. More...
|
| |
| enum | dnp3_time_attr_t { DNP3_TIME_ATTR_UNKNOWN = 0
, DNP3_TIME_ATTR_CONFIG_BUILD_DATE = 1
, DNP3_TIME_ATTR_CONFIG_LAST_CHANGE_DATE = 2
} |
| | Enumeration of all the known DNP3 Time attributes. More...
|
| |
| enum | dnp3_octet_string_attr_t { DNP3_OCTET_STRING_ATTR_UNKNOWN = 0
, DNP3_OCTET_STRING_ATTR_CONFIG_DIGEST = 1
} |
| | Enumeration of all known octet-string attributes. More...
|
| |
| enum | dnp3_bit_string_attr_t { DNP3_BIT_STRING_ATTR_UNKNOWN = 0
} |
| | Enumeration of all known bit-string attributes. More...
|
| |
| enum | dnp3_float_attr_t { DNP3_FLOAT_ATTR_UNKNOWN = 0
, DNP3_FLOAT_ATTR_DEVICE_LOCATION_ALTITUDE = 1
, DNP3_FLOAT_ATTR_DEVICE_LOCATION_LONGITUDE = 2
, DNP3_FLOAT_ATTR_DEVICE_LOCATION_LATITUDE = 3
} |
| | Enumeration of all known float attributes. More...
|
| |
| enum | dnp3_nothing_t { DNP3_NOTHING_NOTHING = 0
} |
| | A single value enum which is used as a placeholder for futures that don't return a value. More...
|
| |
| enum | dnp3_port_state_t { DNP3_PORT_STATE_DISABLED = 0
, DNP3_PORT_STATE_WAIT = 1
, DNP3_PORT_STATE_OPEN = 2
, DNP3_PORT_STATE_SHUTDOWN = 3
} |
| | State of the serial port. More...
|
| |
| enum | dnp3_client_state_t {
DNP3_CLIENT_STATE_DISABLED = 0
, DNP3_CLIENT_STATE_CONNECTING = 1
, DNP3_CLIENT_STATE_CONNECTED = 2
, DNP3_CLIENT_STATE_WAIT_AFTER_FAILED_CONNECT = 3
,
DNP3_CLIENT_STATE_WAIT_AFTER_DISCONNECT = 4
, DNP3_CLIENT_STATE_SHUTDOWN = 5
} |
| | State of the client connection. More...
|
| |
| enum | dnp3_variation_t {
DNP3_VARIATION_GROUP0 = 0
, DNP3_VARIATION_GROUP0_VAR254 = 1
, DNP3_VARIATION_GROUP1_VAR0 = 2
, DNP3_VARIATION_GROUP1_VAR1 = 3
,
DNP3_VARIATION_GROUP1_VAR2 = 4
, DNP3_VARIATION_GROUP2_VAR0 = 5
, DNP3_VARIATION_GROUP2_VAR1 = 6
, DNP3_VARIATION_GROUP2_VAR2 = 7
,
DNP3_VARIATION_GROUP2_VAR3 = 8
, DNP3_VARIATION_GROUP3_VAR0 = 9
, DNP3_VARIATION_GROUP3_VAR1 = 10
, DNP3_VARIATION_GROUP3_VAR2 = 11
,
DNP3_VARIATION_GROUP4_VAR0 = 12
, DNP3_VARIATION_GROUP4_VAR1 = 13
, DNP3_VARIATION_GROUP4_VAR2 = 14
, DNP3_VARIATION_GROUP4_VAR3 = 15
,
DNP3_VARIATION_GROUP10_VAR0 = 16
, DNP3_VARIATION_GROUP10_VAR1 = 17
, DNP3_VARIATION_GROUP10_VAR2 = 18
, DNP3_VARIATION_GROUP11_VAR0 = 19
,
DNP3_VARIATION_GROUP11_VAR1 = 20
, DNP3_VARIATION_GROUP11_VAR2 = 21
, DNP3_VARIATION_GROUP12_VAR1 = 22
, DNP3_VARIATION_GROUP13_VAR1 = 23
,
DNP3_VARIATION_GROUP13_VAR2 = 24
, DNP3_VARIATION_GROUP20_VAR0 = 25
, DNP3_VARIATION_GROUP20_VAR1 = 26
, DNP3_VARIATION_GROUP20_VAR2 = 27
,
DNP3_VARIATION_GROUP20_VAR5 = 28
, DNP3_VARIATION_GROUP20_VAR6 = 29
, DNP3_VARIATION_GROUP21_VAR0 = 30
, DNP3_VARIATION_GROUP21_VAR1 = 31
,
DNP3_VARIATION_GROUP21_VAR2 = 32
, DNP3_VARIATION_GROUP21_VAR5 = 33
, DNP3_VARIATION_GROUP21_VAR6 = 34
, DNP3_VARIATION_GROUP21_VAR9 = 35
,
DNP3_VARIATION_GROUP21_VAR10 = 36
, DNP3_VARIATION_GROUP22_VAR0 = 37
, DNP3_VARIATION_GROUP22_VAR1 = 38
, DNP3_VARIATION_GROUP22_VAR2 = 39
,
DNP3_VARIATION_GROUP22_VAR5 = 40
, DNP3_VARIATION_GROUP22_VAR6 = 41
, DNP3_VARIATION_GROUP23_VAR0 = 42
, DNP3_VARIATION_GROUP23_VAR1 = 43
,
DNP3_VARIATION_GROUP23_VAR2 = 44
, DNP3_VARIATION_GROUP23_VAR5 = 45
, DNP3_VARIATION_GROUP23_VAR6 = 46
, DNP3_VARIATION_GROUP30_VAR0 = 47
,
DNP3_VARIATION_GROUP30_VAR1 = 48
, DNP3_VARIATION_GROUP30_VAR2 = 49
, DNP3_VARIATION_GROUP30_VAR3 = 50
, DNP3_VARIATION_GROUP30_VAR4 = 51
,
DNP3_VARIATION_GROUP30_VAR5 = 52
, DNP3_VARIATION_GROUP30_VAR6 = 53
, DNP3_VARIATION_GROUP31_VAR0 = 54
, DNP3_VARIATION_GROUP31_VAR1 = 55
,
DNP3_VARIATION_GROUP31_VAR2 = 56
, DNP3_VARIATION_GROUP31_VAR3 = 57
, DNP3_VARIATION_GROUP31_VAR4 = 58
, DNP3_VARIATION_GROUP31_VAR5 = 59
,
DNP3_VARIATION_GROUP31_VAR6 = 60
, DNP3_VARIATION_GROUP31_VAR7 = 61
, DNP3_VARIATION_GROUP31_VAR8 = 62
, DNP3_VARIATION_GROUP32_VAR0 = 63
,
DNP3_VARIATION_GROUP32_VAR1 = 64
, DNP3_VARIATION_GROUP32_VAR2 = 65
, DNP3_VARIATION_GROUP32_VAR3 = 66
, DNP3_VARIATION_GROUP32_VAR4 = 67
,
DNP3_VARIATION_GROUP32_VAR5 = 68
, DNP3_VARIATION_GROUP32_VAR6 = 69
, DNP3_VARIATION_GROUP32_VAR7 = 70
, DNP3_VARIATION_GROUP32_VAR8 = 71
,
DNP3_VARIATION_GROUP33_VAR0 = 72
, DNP3_VARIATION_GROUP33_VAR1 = 73
, DNP3_VARIATION_GROUP33_VAR2 = 74
, DNP3_VARIATION_GROUP33_VAR3 = 75
,
DNP3_VARIATION_GROUP33_VAR4 = 76
, DNP3_VARIATION_GROUP33_VAR5 = 77
, DNP3_VARIATION_GROUP33_VAR6 = 78
, DNP3_VARIATION_GROUP33_VAR7 = 79
,
DNP3_VARIATION_GROUP33_VAR8 = 80
, DNP3_VARIATION_GROUP34_VAR0 = 81
, DNP3_VARIATION_GROUP34_VAR1 = 82
, DNP3_VARIATION_GROUP34_VAR2 = 83
,
DNP3_VARIATION_GROUP34_VAR3 = 84
, DNP3_VARIATION_GROUP40_VAR0 = 85
, DNP3_VARIATION_GROUP40_VAR1 = 86
, DNP3_VARIATION_GROUP40_VAR2 = 87
,
DNP3_VARIATION_GROUP40_VAR3 = 88
, DNP3_VARIATION_GROUP40_VAR4 = 89
, DNP3_VARIATION_GROUP41_VAR1 = 90
, DNP3_VARIATION_GROUP41_VAR2 = 91
,
DNP3_VARIATION_GROUP41_VAR3 = 92
, DNP3_VARIATION_GROUP41_VAR4 = 93
, DNP3_VARIATION_GROUP42_VAR0 = 94
, DNP3_VARIATION_GROUP42_VAR1 = 95
,
DNP3_VARIATION_GROUP42_VAR2 = 96
, DNP3_VARIATION_GROUP42_VAR3 = 97
, DNP3_VARIATION_GROUP42_VAR4 = 98
, DNP3_VARIATION_GROUP42_VAR5 = 99
,
DNP3_VARIATION_GROUP42_VAR6 = 100
, DNP3_VARIATION_GROUP42_VAR7 = 101
, DNP3_VARIATION_GROUP42_VAR8 = 102
, DNP3_VARIATION_GROUP43_VAR1 = 103
,
DNP3_VARIATION_GROUP43_VAR2 = 104
, DNP3_VARIATION_GROUP43_VAR3 = 105
, DNP3_VARIATION_GROUP43_VAR4 = 106
, DNP3_VARIATION_GROUP43_VAR5 = 107
,
DNP3_VARIATION_GROUP43_VAR6 = 108
, DNP3_VARIATION_GROUP43_VAR7 = 109
, DNP3_VARIATION_GROUP43_VAR8 = 110
, DNP3_VARIATION_GROUP50_VAR1 = 111
,
DNP3_VARIATION_GROUP50_VAR2 = 112
, DNP3_VARIATION_GROUP50_VAR3 = 113
, DNP3_VARIATION_GROUP50_VAR4 = 114
, DNP3_VARIATION_GROUP51_VAR1 = 115
,
DNP3_VARIATION_GROUP51_VAR2 = 116
, DNP3_VARIATION_GROUP52_VAR1 = 117
, DNP3_VARIATION_GROUP52_VAR2 = 118
, DNP3_VARIATION_GROUP60_VAR1 = 119
,
DNP3_VARIATION_GROUP60_VAR2 = 120
, DNP3_VARIATION_GROUP60_VAR3 = 121
, DNP3_VARIATION_GROUP60_VAR4 = 122
, DNP3_VARIATION_GROUP70_VAR2 = 123
,
DNP3_VARIATION_GROUP70_VAR3 = 124
, DNP3_VARIATION_GROUP70_VAR4 = 125
, DNP3_VARIATION_GROUP70_VAR5 = 126
, DNP3_VARIATION_GROUP70_VAR6 = 127
,
DNP3_VARIATION_GROUP70_VAR7 = 128
, DNP3_VARIATION_GROUP70_VAR8 = 129
, DNP3_VARIATION_GROUP80_VAR1 = 130
, DNP3_VARIATION_GROUP102_VAR0 = 131
,
DNP3_VARIATION_GROUP102_VAR1 = 132
, DNP3_VARIATION_GROUP110 = 133
, DNP3_VARIATION_GROUP111 = 134
} |
| | Group/Variation. More...
|
| |
| enum | dnp3_data_bits_t { DNP3_DATA_BITS_FIVE = 0
, DNP3_DATA_BITS_SIX = 1
, DNP3_DATA_BITS_SEVEN = 2
, DNP3_DATA_BITS_EIGHT = 3
} |
| | Number of bits per character. More...
|
| |
| enum | dnp3_flow_control_t { DNP3_FLOW_CONTROL_NONE = 0
, DNP3_FLOW_CONTROL_SOFTWARE = 1
, DNP3_FLOW_CONTROL_HARDWARE = 2
} |
| | Flow control modes. More...
|
| |
| enum | dnp3_parity_t { DNP3_PARITY_NONE = 0
, DNP3_PARITY_ODD = 1
, DNP3_PARITY_EVEN = 2
} |
| | Parity checking modes. More...
|
| |
| enum | dnp3_stop_bits_t { DNP3_STOP_BITS_ONE = 0
, DNP3_STOP_BITS_TWO = 1
} |
| | Number of stop bits. More...
|
| |
| enum | dnp3_link_error_mode_t { DNP3_LINK_ERROR_MODE_DISCARD = 0
, DNP3_LINK_ERROR_MODE_CLOSE = 1
} |
| | Controls how errors in parsed link-layer frames are handled. This behavior is configurable for physical layers with built-in error correction like TCP as the connection might be through a terminal server. More...
|
| |
| enum | dnp3_function_code_t {
DNP3_FUNCTION_CODE_CONFIRM = 0
, DNP3_FUNCTION_CODE_READ = 1
, DNP3_FUNCTION_CODE_WRITE = 2
, DNP3_FUNCTION_CODE_SELECT = 3
,
DNP3_FUNCTION_CODE_OPERATE = 4
, DNP3_FUNCTION_CODE_DIRECT_OPERATE = 5
, DNP3_FUNCTION_CODE_DIRECT_OPERATE_NO_RESPONSE = 6
, DNP3_FUNCTION_CODE_IMMEDIATE_FREEZE = 7
,
DNP3_FUNCTION_CODE_IMMEDIATE_FREEZE_NO_RESPONSE = 8
, DNP3_FUNCTION_CODE_FREEZE_CLEAR = 9
, DNP3_FUNCTION_CODE_FREEZE_CLEAR_NO_RESPONSE = 10
, DNP3_FUNCTION_CODE_FREEZE_AT_TIME = 11
,
DNP3_FUNCTION_CODE_FREEZE_AT_TIME_NO_RESPONSE = 12
, DNP3_FUNCTION_CODE_COLD_RESTART = 13
, DNP3_FUNCTION_CODE_WARM_RESTART = 14
, DNP3_FUNCTION_CODE_INITIALIZE_DATA = 15
,
DNP3_FUNCTION_CODE_INITIALIZE_APPLICATION = 16
, DNP3_FUNCTION_CODE_START_APPLICATION = 17
, DNP3_FUNCTION_CODE_STOP_APPLICATION = 18
, DNP3_FUNCTION_CODE_SAVE_CONFIGURATION = 19
,
DNP3_FUNCTION_CODE_ENABLE_UNSOLICITED = 20
, DNP3_FUNCTION_CODE_DISABLE_UNSOLICITED = 21
, DNP3_FUNCTION_CODE_ASSIGN_CLASS = 22
, DNP3_FUNCTION_CODE_DELAY_MEASURE = 23
,
DNP3_FUNCTION_CODE_RECORD_CURRENT_TIME = 24
, DNP3_FUNCTION_CODE_OPEN_FILE = 25
, DNP3_FUNCTION_CODE_CLOSE_FILE = 26
, DNP3_FUNCTION_CODE_DELETE_FILE = 27
,
DNP3_FUNCTION_CODE_GET_FILE_INFO = 28
, DNP3_FUNCTION_CODE_AUTHENTICATE_FILE = 29
, DNP3_FUNCTION_CODE_ABORT_FILE = 30
, DNP3_FUNCTION_CODE_RESPONSE = 31
,
DNP3_FUNCTION_CODE_UNSOLICITED_RESPONSE = 32
} |
| | Application layer function code. More...
|
| |
| enum | dnp3_file_type_t { DNP3_FILE_TYPE_DIRECTORY = 0
, DNP3_FILE_TYPE_SIMPLE = 1
, DNP3_FILE_TYPE_OTHER = 2
} |
| | File type enumeration used in Group 70 objects. More...
|
| |
| enum | dnp3_file_error_t {
DNP3_FILE_ERROR_OK = 0
, DNP3_FILE_ERROR_BAD_STATUS = 1
, DNP3_FILE_ERROR_NO_PERMISSION = 2
, DNP3_FILE_ERROR_BAD_BLOCK_NUM = 3
,
DNP3_FILE_ERROR_ABORT_BY_USER = 4
, DNP3_FILE_ERROR_MAX_LENGTH_EXCEEDED = 5
, DNP3_FILE_ERROR_WRONG_HANDLE = 6
, DNP3_FILE_ERROR_TOO_MANY_REQUESTS = 7
,
DNP3_FILE_ERROR_IIN_ERROR = 8
, DNP3_FILE_ERROR_BAD_RESPONSE = 9
, DNP3_FILE_ERROR_RESPONSE_TIMEOUT = 10
, DNP3_FILE_ERROR_WRITE_ERROR = 11
,
DNP3_FILE_ERROR_NO_CONNECTION = 12
, DNP3_FILE_ERROR_SHUTDOWN = 13
, DNP3_FILE_ERROR_ASSOCIATION_REMOVED = 14
, DNP3_FILE_ERROR_BAD_ENCODING = 15
} |
| | Errors that can occur during file transfer. More...
|
| |
| enum | dnp3_file_mode_t { DNP3_FILE_MODE_READ = 0
, DNP3_FILE_MODE_WRITE = 1
, DNP3_FILE_MODE_APPEND = 2
} |
| | Different modes in which files may be opened. More...
|
| |
| enum | dnp3_udp_socket_mode_t { DNP3_UDP_SOCKET_MODE_ONE_TO_ONE = 0
, DNP3_UDP_SOCKET_MODE_ONE_TO_MANY = 1
} |
| | Describes how the UDP socket reads and writes datagrams from remote endpoint(s) More...
|
| |
| enum | dnp3_link_read_mode_t { DNP3_LINK_READ_MODE_STREAM = 0
, DNP3_LINK_READ_MODE_DATAGRAM = 1
} |
| | Controls how the link-layer parser treats frames that span multiple calls to read of the physical layer. More...
|
| |
| enum | dnp3_log_level_t {
DNP3_LOG_LEVEL_ERROR = 0
, DNP3_LOG_LEVEL_WARN = 1
, DNP3_LOG_LEVEL_INFO = 2
, DNP3_LOG_LEVEL_DEBUG = 3
,
DNP3_LOG_LEVEL_TRACE = 4
} |
| | Log level. More...
|
| |
| enum | dnp3_log_output_format_t { DNP3_LOG_OUTPUT_FORMAT_TEXT = 0
, DNP3_LOG_OUTPUT_FORMAT_JSON = 1
} |
| | Describes how each log event is formatted. More...
|
| |
| enum | dnp3_time_format_t { DNP3_TIME_FORMAT_NONE = 0
, DNP3_TIME_FORMAT_RFC_3339 = 1
, DNP3_TIME_FORMAT_SYSTEM = 2
} |
| | Describes if and how the time will be formatted in log messages. More...
|
| |
| enum | dnp3_response_function_t { DNP3_RESPONSE_FUNCTION_RESPONSE = 0
, DNP3_RESPONSE_FUNCTION_UNSOLICITED_RESPONSE = 1
} |
| | Type of response. More...
|
| |
| enum | dnp3_qualifier_code_t {
DNP3_QUALIFIER_CODE_RANGE8 = 0
, DNP3_QUALIFIER_CODE_RANGE16 = 1
, DNP3_QUALIFIER_CODE_ALL_OBJECTS = 2
, DNP3_QUALIFIER_CODE_COUNT8 = 3
,
DNP3_QUALIFIER_CODE_COUNT16 = 4
, DNP3_QUALIFIER_CODE_COUNT_AND_PREFIX_8 = 5
, DNP3_QUALIFIER_CODE_COUNT_AND_PREFIX_16 = 6
, DNP3_QUALIFIER_CODE_FREE_FORMAT_16 = 7
} |
| | Qualifier code used in the response. More...
|
| |
| enum | dnp3_read_type_t { DNP3_READ_TYPE_STARTUP_INTEGRITY = 0
, DNP3_READ_TYPE_UNSOLICITED = 1
, DNP3_READ_TYPE_SINGLE_POLL = 2
, DNP3_READ_TYPE_PERIODIC_POLL = 3
} |
| | Describes the source of a read event. More...
|
| |
| enum | dnp3_empty_response_error_t {
DNP3_EMPTY_RESPONSE_ERROR_OK = 0
, DNP3_EMPTY_RESPONSE_ERROR_REJECTED_BY_IIN2 = 1
, DNP3_EMPTY_RESPONSE_ERROR_TOO_MANY_REQUESTS = 2
, DNP3_EMPTY_RESPONSE_ERROR_IIN_ERROR = 3
,
DNP3_EMPTY_RESPONSE_ERROR_BAD_RESPONSE = 4
, DNP3_EMPTY_RESPONSE_ERROR_RESPONSE_TIMEOUT = 5
, DNP3_EMPTY_RESPONSE_ERROR_WRITE_ERROR = 6
, DNP3_EMPTY_RESPONSE_ERROR_NO_CONNECTION = 7
,
DNP3_EMPTY_RESPONSE_ERROR_SHUTDOWN = 8
, DNP3_EMPTY_RESPONSE_ERROR_ASSOCIATION_REMOVED = 9
, DNP3_EMPTY_RESPONSE_ERROR_BAD_ENCODING = 10
} |
| | Errors that may occur when performing a request that expects a response with zero object headers. More...
|
| |
| enum | dnp3_auto_time_sync_t { DNP3_AUTO_TIME_SYNC_NONE = 0
, DNP3_AUTO_TIME_SYNC_LAN = 1
, DNP3_AUTO_TIME_SYNC_NON_LAN = 2
} |
| | Automatic time synchronization configuration. More...
|
| |
| enum | dnp3_task_type_t {
DNP3_TASK_TYPE_USER_READ = 0
, DNP3_TASK_TYPE_PERIODIC_POLL = 1
, DNP3_TASK_TYPE_STARTUP_INTEGRITY = 2
, DNP3_TASK_TYPE_AUTO_EVENT_SCAN = 3
,
DNP3_TASK_TYPE_COMMAND = 4
, DNP3_TASK_TYPE_CLEAR_RESTART_BIT = 5
, DNP3_TASK_TYPE_ENABLE_UNSOLICITED = 6
, DNP3_TASK_TYPE_DISABLE_UNSOLICITED = 7
,
DNP3_TASK_TYPE_TIME_SYNC = 8
, DNP3_TASK_TYPE_RESTART = 9
, DNP3_TASK_TYPE_WRITE_DEAD_BANDS = 10
, DNP3_TASK_TYPE_GENERIC_EMPTY_RESPONSE = 11
,
DNP3_TASK_TYPE_FILE_READ = 12
, DNP3_TASK_TYPE_GET_FILE_INFO = 13
, DNP3_TASK_TYPE_FILE_AUTH = 14
, DNP3_TASK_TYPE_FILE_OPEN = 15
,
DNP3_TASK_TYPE_FILE_WRITE_BLOCK = 16
, DNP3_TASK_TYPE_FILE_CLOSE = 17
} |
| | Task type used in dnp3_association_information_t. More...
|
| |
| enum | dnp3_task_error_t {
DNP3_TASK_ERROR_TOO_MANY_REQUESTS = 0
, DNP3_TASK_ERROR_IIN_ERROR = 1
, DNP3_TASK_ERROR_BAD_RESPONSE = 2
, DNP3_TASK_ERROR_RESPONSE_TIMEOUT = 3
,
DNP3_TASK_ERROR_WRITE_ERROR = 4
, DNP3_TASK_ERROR_NO_CONNECTION = 5
, DNP3_TASK_ERROR_SHUTDOWN = 6
, DNP3_TASK_ERROR_ASSOCIATION_REMOVED = 7
,
DNP3_TASK_ERROR_BAD_ENCODING = 8
} |
| | Task error used in dnp3_association_information_t. More...
|
| |
| enum | dnp3_read_error_t {
DNP3_READ_ERROR_OK = 0
, DNP3_READ_ERROR_TOO_MANY_REQUESTS = 1
, DNP3_READ_ERROR_IIN_ERROR = 2
, DNP3_READ_ERROR_BAD_RESPONSE = 3
,
DNP3_READ_ERROR_RESPONSE_TIMEOUT = 4
, DNP3_READ_ERROR_WRITE_ERROR = 5
, DNP3_READ_ERROR_NO_CONNECTION = 6
, DNP3_READ_ERROR_SHUTDOWN = 7
,
DNP3_READ_ERROR_ASSOCIATION_REMOVED = 8
, DNP3_READ_ERROR_BAD_ENCODING = 9
} |
| | Errors that can occur during a read operation. More...
|
| |
| enum | dnp3_command_mode_t { DNP3_COMMAND_MODE_DIRECT_OPERATE = 0
, DNP3_COMMAND_MODE_SELECT_BEFORE_OPERATE = 1
} |
| | Command operation mode. More...
|
| |
| enum | dnp3_command_error_t {
DNP3_COMMAND_ERROR_OK = 0
, DNP3_COMMAND_ERROR_BAD_STATUS = 1
, DNP3_COMMAND_ERROR_HEADER_MISMATCH = 2
, DNP3_COMMAND_ERROR_TOO_MANY_REQUESTS = 3
,
DNP3_COMMAND_ERROR_IIN_ERROR = 4
, DNP3_COMMAND_ERROR_BAD_RESPONSE = 5
, DNP3_COMMAND_ERROR_RESPONSE_TIMEOUT = 6
, DNP3_COMMAND_ERROR_WRITE_ERROR = 7
,
DNP3_COMMAND_ERROR_NO_CONNECTION = 8
, DNP3_COMMAND_ERROR_SHUTDOWN = 9
, DNP3_COMMAND_ERROR_ASSOCIATION_REMOVED = 10
, DNP3_COMMAND_ERROR_BAD_ENCODING = 11
} |
| | Result of a command. More...
|
| |
| enum | dnp3_time_sync_mode_t { DNP3_TIME_SYNC_MODE_LAN = 0
, DNP3_TIME_SYNC_MODE_NON_LAN = 1
} |
| | Time synchronization mode. More...
|
| |
| enum | dnp3_time_sync_error_t {
DNP3_TIME_SYNC_ERROR_OK = 0
, DNP3_TIME_SYNC_ERROR_CLOCK_ROLLBACK = 1
, DNP3_TIME_SYNC_ERROR_SYSTEM_TIME_NOT_UNIX = 2
, DNP3_TIME_SYNC_ERROR_BAD_OUTSTATION_TIME_DELAY = 3
,
DNP3_TIME_SYNC_ERROR_OVERFLOW = 4
, DNP3_TIME_SYNC_ERROR_STILL_NEEDS_TIME = 5
, DNP3_TIME_SYNC_ERROR_SYSTEM_TIME_NOT_AVAILABLE = 6
, DNP3_TIME_SYNC_ERROR_TOO_MANY_REQUESTS = 7
,
DNP3_TIME_SYNC_ERROR_IIN_ERROR = 8
, DNP3_TIME_SYNC_ERROR_BAD_RESPONSE = 9
, DNP3_TIME_SYNC_ERROR_RESPONSE_TIMEOUT = 10
, DNP3_TIME_SYNC_ERROR_WRITE_ERROR = 11
,
DNP3_TIME_SYNC_ERROR_NO_CONNECTION = 12
, DNP3_TIME_SYNC_ERROR_SHUTDOWN = 13
, DNP3_TIME_SYNC_ERROR_ASSOCIATION_REMOVED = 14
, DNP3_TIME_SYNC_ERROR_BAD_ENCODING = 15
} |
| | Possible errors that can occur during a time synchronization procedure. More...
|
| |
| enum | dnp3_restart_error_t {
DNP3_RESTART_ERROR_OK = 0
, DNP3_RESTART_ERROR_TOO_MANY_REQUESTS = 1
, DNP3_RESTART_ERROR_IIN_ERROR = 2
, DNP3_RESTART_ERROR_BAD_RESPONSE = 3
,
DNP3_RESTART_ERROR_RESPONSE_TIMEOUT = 4
, DNP3_RESTART_ERROR_WRITE_ERROR = 5
, DNP3_RESTART_ERROR_NO_CONNECTION = 6
, DNP3_RESTART_ERROR_SHUTDOWN = 7
,
DNP3_RESTART_ERROR_ASSOCIATION_REMOVED = 8
, DNP3_RESTART_ERROR_BAD_ENCODING = 9
} |
| | Errors that can occur during a cold/warm restart operation. More...
|
| |
| enum | dnp3_link_status_error_t {
DNP3_LINK_STATUS_ERROR_OK = 0
, DNP3_LINK_STATUS_ERROR_UNEXPECTED_RESPONSE = 1
, DNP3_LINK_STATUS_ERROR_TOO_MANY_REQUESTS = 2
, DNP3_LINK_STATUS_ERROR_IIN_ERROR = 3
,
DNP3_LINK_STATUS_ERROR_BAD_RESPONSE = 4
, DNP3_LINK_STATUS_ERROR_RESPONSE_TIMEOUT = 5
, DNP3_LINK_STATUS_ERROR_WRITE_ERROR = 6
, DNP3_LINK_STATUS_ERROR_NO_CONNECTION = 7
,
DNP3_LINK_STATUS_ERROR_SHUTDOWN = 8
, DNP3_LINK_STATUS_ERROR_ASSOCIATION_REMOVED = 9
, DNP3_LINK_STATUS_ERROR_BAD_ENCODING = 10
} |
| | Errors that can occur during a manually initiated link status check. See dnp3_master_channel_check_link_status. More...
|
| |
| enum | dnp3_event_class_t { DNP3_EVENT_CLASS_NONE = 0
, DNP3_EVENT_CLASS_CLASS1 = 1
, DNP3_EVENT_CLASS_CLASS2 = 2
, DNP3_EVENT_CLASS_CLASS3 = 3
} |
| | Event class. More...
|
| |
| enum | dnp3_update_result_t { DNP3_UPDATE_RESULT_NO_POINT = 0
, DNP3_UPDATE_RESULT_NO_EVENT = 1
, DNP3_UPDATE_RESULT_CREATED = 2
, DNP3_UPDATE_RESULT_OVERFLOW = 3
} |
| | Defines what occurred during an update operation and which fields of dnp3_update_info_t are valid. More...
|
| |
| enum | dnp3_event_mode_t { DNP3_EVENT_MODE_DETECT = 0
, DNP3_EVENT_MODE_FORCE = 1
, DNP3_EVENT_MODE_SUPPRESS = 2
} |
| | Controls how events are processed when updating values in the database. More...
|
| |
| enum | dnp3_update_flags_type_t {
DNP3_UPDATE_FLAGS_TYPE_BINARY_INPUT = 0
, DNP3_UPDATE_FLAGS_TYPE_DOUBLE_BIT_BINARY_INPUT = 1
, DNP3_UPDATE_FLAGS_TYPE_BINARY_OUTPUT_STATUS = 2
, DNP3_UPDATE_FLAGS_TYPE_COUNTER = 3
,
DNP3_UPDATE_FLAGS_TYPE_FROZEN_COUNTER = 4
, DNP3_UPDATE_FLAGS_TYPE_ANALOG_INPUT = 5
, DNP3_UPDATE_FLAGS_TYPE_ANALOG_OUTPUT_STATUS = 6
} |
| | Point type on which to update the flags. More...
|
| |
| enum | dnp3_static_binary_input_variation_t { DNP3_STATIC_BINARY_INPUT_VARIATION_GROUP1_VAR1 = 0
, DNP3_STATIC_BINARY_INPUT_VARIATION_GROUP1_VAR2 = 1
} |
| | Static binary input variation. More...
|
| |
| enum | dnp3_event_binary_input_variation_t { DNP3_EVENT_BINARY_INPUT_VARIATION_GROUP2_VAR1 = 0
, DNP3_EVENT_BINARY_INPUT_VARIATION_GROUP2_VAR2 = 1
, DNP3_EVENT_BINARY_INPUT_VARIATION_GROUP2_VAR3 = 2
} |
| | Event binary input variation. More...
|
| |
| enum | dnp3_static_double_bit_binary_input_variation_t { DNP3_STATIC_DOUBLE_BIT_BINARY_INPUT_VARIATION_GROUP3_VAR1 = 0
, DNP3_STATIC_DOUBLE_BIT_BINARY_INPUT_VARIATION_GROUP3_VAR2 = 1
} |
| | Static double-bit binary input variation. More...
|
| |
| enum | dnp3_event_double_bit_binary_input_variation_t { DNP3_EVENT_DOUBLE_BIT_BINARY_INPUT_VARIATION_GROUP4_VAR1 = 0
, DNP3_EVENT_DOUBLE_BIT_BINARY_INPUT_VARIATION_GROUP4_VAR2 = 1
, DNP3_EVENT_DOUBLE_BIT_BINARY_INPUT_VARIATION_GROUP4_VAR3 = 2
} |
| | Event double-bit binary input variation. More...
|
| |
| enum | dnp3_static_binary_output_status_variation_t { DNP3_STATIC_BINARY_OUTPUT_STATUS_VARIATION_GROUP10_VAR1 = 0
, DNP3_STATIC_BINARY_OUTPUT_STATUS_VARIATION_GROUP10_VAR2 = 1
} |
| | Static binary output status variation. More...
|
| |
| enum | dnp3_event_binary_output_status_variation_t { DNP3_EVENT_BINARY_OUTPUT_STATUS_VARIATION_GROUP11_VAR1 = 0
, DNP3_EVENT_BINARY_OUTPUT_STATUS_VARIATION_GROUP11_VAR2 = 1
} |
| | Event binary output status variation. More...
|
| |
| enum | dnp3_static_counter_variation_t { DNP3_STATIC_COUNTER_VARIATION_GROUP20_VAR1 = 0
, DNP3_STATIC_COUNTER_VARIATION_GROUP20_VAR2 = 1
, DNP3_STATIC_COUNTER_VARIATION_GROUP20_VAR5 = 2
, DNP3_STATIC_COUNTER_VARIATION_GROUP20_VAR6 = 3
} |
| | Static counter variation. More...
|
| |
| enum | dnp3_event_counter_variation_t { DNP3_EVENT_COUNTER_VARIATION_GROUP22_VAR1 = 0
, DNP3_EVENT_COUNTER_VARIATION_GROUP22_VAR2 = 1
, DNP3_EVENT_COUNTER_VARIATION_GROUP22_VAR5 = 2
, DNP3_EVENT_COUNTER_VARIATION_GROUP22_VAR6 = 3
} |
| | Event counter variation. More...
|
| |
| enum | dnp3_static_frozen_counter_variation_t {
DNP3_STATIC_FROZEN_COUNTER_VARIATION_GROUP21_VAR1 = 0
, DNP3_STATIC_FROZEN_COUNTER_VARIATION_GROUP21_VAR2 = 1
, DNP3_STATIC_FROZEN_COUNTER_VARIATION_GROUP21_VAR5 = 2
, DNP3_STATIC_FROZEN_COUNTER_VARIATION_GROUP21_VAR6 = 3
,
DNP3_STATIC_FROZEN_COUNTER_VARIATION_GROUP21_VAR9 = 4
, DNP3_STATIC_FROZEN_COUNTER_VARIATION_GROUP21_VAR10 = 5
} |
| | Static frozen counter variation. More...
|
| |
| enum | dnp3_event_frozen_counter_variation_t { DNP3_EVENT_FROZEN_COUNTER_VARIATION_GROUP23_VAR1 = 0
, DNP3_EVENT_FROZEN_COUNTER_VARIATION_GROUP23_VAR2 = 1
, DNP3_EVENT_FROZEN_COUNTER_VARIATION_GROUP23_VAR5 = 2
, DNP3_EVENT_FROZEN_COUNTER_VARIATION_GROUP23_VAR6 = 3
} |
| | Event frozen counter variation. More...
|
| |
| enum | dnp3_static_analog_input_variation_t {
DNP3_STATIC_ANALOG_INPUT_VARIATION_GROUP30_VAR1 = 0
, DNP3_STATIC_ANALOG_INPUT_VARIATION_GROUP30_VAR2 = 1
, DNP3_STATIC_ANALOG_INPUT_VARIATION_GROUP30_VAR3 = 2
, DNP3_STATIC_ANALOG_INPUT_VARIATION_GROUP30_VAR4 = 3
,
DNP3_STATIC_ANALOG_INPUT_VARIATION_GROUP30_VAR5 = 4
, DNP3_STATIC_ANALOG_INPUT_VARIATION_GROUP30_VAR6 = 5
} |
| | Static analog variation. More...
|
| |
| enum | dnp3_event_analog_input_variation_t {
DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR1 = 0
, DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR2 = 1
, DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR3 = 2
, DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR4 = 3
,
DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR5 = 4
, DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR6 = 5
, DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR7 = 6
, DNP3_EVENT_ANALOG_INPUT_VARIATION_GROUP32_VAR8 = 7
} |
| | Event analog variation. More...
|
| |
| enum | dnp3_static_analog_output_status_variation_t { DNP3_STATIC_ANALOG_OUTPUT_STATUS_VARIATION_GROUP40_VAR1 = 0
, DNP3_STATIC_ANALOG_OUTPUT_STATUS_VARIATION_GROUP40_VAR2 = 1
, DNP3_STATIC_ANALOG_OUTPUT_STATUS_VARIATION_GROUP40_VAR3 = 2
, DNP3_STATIC_ANALOG_OUTPUT_STATUS_VARIATION_GROUP40_VAR4 = 3
} |
| | Static analog output status variation. More...
|
| |
| enum | dnp3_event_analog_output_status_variation_t {
DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR1 = 0
, DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR2 = 1
, DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR3 = 2
, DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR4 = 3
,
DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR5 = 4
, DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR6 = 5
, DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR7 = 6
, DNP3_EVENT_ANALOG_OUTPUT_STATUS_VARIATION_GROUP42_VAR8 = 7
} |
| | Event analog output status variation. More...
|
| |
| enum | dnp3_attr_def_error_t {
DNP3_ATTR_DEF_ERROR_OK = 0
, DNP3_ATTR_DEF_ERROR_ALREADY_DEFINED = 1
, DNP3_ATTR_DEF_ERROR_RESERVED_VARIATION = 2
, DNP3_ATTR_DEF_ERROR_BAD_TYPE = 3
,
DNP3_ATTR_DEF_ERROR_NOT_WRITABLE = 4
} |
| | Errors that can occur when defining attributes. More...
|
| |
| enum | dnp3_restart_delay_type_t { DNP3_RESTART_DELAY_TYPE_NOT_SUPPORTED = 0
, DNP3_RESTART_DELAY_TYPE_SECONDS = 1
, DNP3_RESTART_DELAY_TYPE_MILLI_SECONDS = 2
} |
| | Type of restart delay value. Used by dnp3_restart_delay_t. More...
|
| |
| enum | dnp3_write_time_result_t { DNP3_WRITE_TIME_RESULT_OK = 0
, DNP3_WRITE_TIME_RESULT_PARAMETER_ERROR = 1
, DNP3_WRITE_TIME_RESULT_NOT_SUPPORTED = 2
} |
| | Write time result used by dnp3_outstation_application_t::write_absolute_time. More...
|
| |
| enum | dnp3_freeze_type_t { DNP3_FREEZE_TYPE_IMMEDIATE_FREEZE = 0
, DNP3_FREEZE_TYPE_FREEZE_AND_CLEAR = 1
} |
| | Freeze operation type. More...
|
| |
| enum | dnp3_freeze_result_t { DNP3_FREEZE_RESULT_OK = 0
, DNP3_FREEZE_RESULT_PARAMETER_ERROR = 1
, DNP3_FREEZE_RESULT_NOT_SUPPORTED = 2
} |
| | Result of a freeze operation. More...
|
| |
| enum | dnp3_broadcast_action_t { DNP3_BROADCAST_ACTION_PROCESSED = 0
, DNP3_BROADCAST_ACTION_IGNORED_BY_CONFIGURATION = 1
, DNP3_BROADCAST_ACTION_BAD_OBJECT_HEADERS = 2
, DNP3_BROADCAST_ACTION_UNSUPPORTED_FUNCTION = 3
} |
| | Enumeration describing how the outstation processed a broadcast request. More...
|
| |
| enum | dnp3_operate_type_t { DNP3_OPERATE_TYPE_SELECT_BEFORE_OPERATE = 0
, DNP3_OPERATE_TYPE_DIRECT_OPERATE = 1
, DNP3_OPERATE_TYPE_DIRECT_OPERATE_NO_ACK = 2
} |
| | Enumeration describing how the master requested the control operation. More...
|
| |
| enum | dnp3_connection_state_t { DNP3_CONNECTION_STATE_CONNECTED = 0
, DNP3_CONNECTION_STATE_DISCONNECTED = 1
} |
| | Outstation connection state for connection-oriented transports, e.g. TCP. More...
|
| |
|
| void | dnp3_disable_client_tcp_no_delay () |
| | By default, TCP_NODELAY is set to true for all client TCP/TLS connections. This disables Nagle's algorithm causing the OS to send data written to socket ASAP without waiting. This reduces latency and is usually the appropriate setting for DNP3. This library always writes data in units of link-layer frames so the default setting might cause more TCP fragmentation if clients send requests that exceed a single link-layer frame. More...
|
| |
| void | dnp3_disable_server_tcp_no_delay () |
| | By default, TCP_NODELAY is set to true for all server TCP/TLS connections. This disables Nagle's algorithm causing the OS to send data written to socket ASAP without waiting. This reduces latency and is usually the appropriate setting for DNP3. This library always writes data in units of link-layer frames so the default setting might cause more TCP fragmentation if clients send requests that exceed a single link-layer frame. More...
|
| |
| static const char * | dnp3_param_error_to_string (dnp3_param_error_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_command_status_to_string (dnp3_command_status_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_app_decode_level_to_string (dnp3_app_decode_level_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_transport_decode_level_to_string (dnp3_transport_decode_level_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_link_decode_level_to_string (dnp3_link_decode_level_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_phys_decode_level_to_string (dnp3_phys_decode_level_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_decode_level_t | dnp3_decode_level_init () |
| | Initialize log levels to defaults. More...
|
| |
| static dnp3_decode_level_t | dnp3_decode_level_nothing () |
| | Initialize log levels to nothing. More...
|
| |
| static dnp3_runtime_config_t | dnp3_runtime_config_init () |
| | Initialize the configuration to default values. More...
|
| |
| dnp3_param_error_t | dnp3_runtime_create (dnp3_runtime_config_t config, dnp3_runtime_t **out) |
| | Creates a new runtime for running the protocol stack. More...
|
| |
| void | dnp3_runtime_destroy (dnp3_runtime_t *instance) |
| | Destroy a runtime. More...
|
| |
| void | dnp3_runtime_set_shutdown_timeout (dnp3_runtime_t *instance, uint64_t timeout) |
| | By default, when the runtime shuts down, it does so without a timeout and waits indefinitely for all spawned tasks to yield. More...
|
| |
| static const char * | dnp3_trip_close_code_to_string (dnp3_trip_close_code_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_op_type_to_string (dnp3_op_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_control_code_t | dnp3_control_code_init (dnp3_trip_close_code_t tcc, bool clear, dnp3_op_type_t op_type) |
| | Initialize a dnp3_control_code_t instance. More...
|
| |
| static dnp3_control_code_t | dnp3_control_code_from_op_type (dnp3_op_type_t op_type) |
| | Initialize a dnp3_control_code_t instance from a dnp3_op_type_t. More...
|
| |
| static dnp3_control_code_t | dnp3_control_code_from_tcc_and_op_type (dnp3_trip_close_code_t tcc, dnp3_op_type_t op_type) |
| | Initialize a dnp3_control_code_t instance from a dnp3_trip_close_code_t and a dnp3_op_type_t. More...
|
| |
| static dnp3_group12_var1_t | dnp3_group12_var1_init (dnp3_control_code_t code, uint8_t count, uint32_t on_time, uint32_t off_time) |
| | Fully construct dnp3_group12_var1_t specifying the value of each field. More...
|
| |
| static dnp3_group12_var1_t | dnp3_group12_var1_from_code (dnp3_control_code_t code) |
| | Construct a dnp3_group12_var1_t from a dnp3_control_code_t. More...
|
| |
| static dnp3_flags_t | dnp3_flags_init (uint8_t value) |
| | Fully construct dnp3_flags_t specifying the value of each field. More...
|
| |
| static const char * | dnp3_time_quality_to_string (dnp3_time_quality_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_timestamp_t | dnp3_timestamp_invalid_timestamp () |
| | Creates an invalid timestamp struct. More...
|
| |
| static dnp3_timestamp_t | dnp3_timestamp_synchronized_timestamp (uint64_t value) |
| | Creates a synchronized timestamp struct. More...
|
| |
| static dnp3_timestamp_t | dnp3_timestamp_unsynchronized_timestamp (uint64_t value) |
| | Creates an unsynchronized timestamp struct. More...
|
| |
| static const char * | dnp3_double_bit_to_string (dnp3_double_bit_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_binary_input_t | dnp3_binary_input_init (uint16_t index, bool value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_binary_input_t specifying the value of each field. More...
|
| |
| dnp3_binary_input_t * | dnp3_binary_input_iterator_next (dnp3_binary_input_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_double_bit_binary_input_t | dnp3_double_bit_binary_input_init (uint16_t index, dnp3_double_bit_t value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_double_bit_binary_input_t specifying the value of each field. More...
|
| |
| dnp3_double_bit_binary_input_t * | dnp3_double_bit_binary_input_iterator_next (dnp3_double_bit_binary_input_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_binary_output_status_t | dnp3_binary_output_status_init (uint16_t index, bool value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_binary_output_status_t specifying the value of each field. More...
|
| |
| dnp3_binary_output_status_t * | dnp3_binary_output_status_iterator_next (dnp3_binary_output_status_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_counter_t | dnp3_counter_init (uint16_t index, uint32_t value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_counter_t specifying the value of each field. More...
|
| |
| dnp3_counter_t * | dnp3_counter_iterator_next (dnp3_counter_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_frozen_counter_t | dnp3_frozen_counter_init (uint16_t index, uint32_t value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_frozen_counter_t specifying the value of each field. More...
|
| |
| dnp3_frozen_counter_t * | dnp3_frozen_counter_iterator_next (dnp3_frozen_counter_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_analog_input_t | dnp3_analog_input_init (uint16_t index, double value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_analog_input_t specifying the value of each field. More...
|
| |
| dnp3_analog_input_t * | dnp3_analog_input_iterator_next (dnp3_analog_input_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_frozen_analog_input_t | dnp3_frozen_analog_input_init (uint16_t index, double value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_frozen_analog_input_t specifying the value of each field. More...
|
| |
| dnp3_frozen_analog_input_t * | dnp3_frozen_analog_input_iterator_next (dnp3_frozen_analog_input_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_analog_output_status_t | dnp3_analog_output_status_init (uint16_t index, double value, dnp3_flags_t flags, dnp3_timestamp_t time) |
| | Fully construct dnp3_analog_output_status_t specifying the value of each field. More...
|
| |
| dnp3_analog_output_status_t * | dnp3_analog_output_status_iterator_next (dnp3_analog_output_status_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_binary_output_command_event_t | dnp3_binary_output_command_event_init (uint16_t index, dnp3_command_status_t status, bool commanded_state, dnp3_timestamp_t time) |
| | Fully construct dnp3_binary_output_command_event_t specifying the value of each field. More...
|
| |
| dnp3_binary_output_command_event_t * | dnp3_binary_output_command_event_iterator_next (dnp3_binary_output_command_event_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static const char * | dnp3_analog_command_type_to_string (dnp3_analog_command_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_analog_output_command_event_t | dnp3_analog_output_command_event_init (uint16_t index, dnp3_command_status_t status, double commanded_value, dnp3_analog_command_type_t command_type, dnp3_timestamp_t time) |
| | Fully construct dnp3_analog_output_command_event_t specifying the value of each field. More...
|
| |
| dnp3_analog_output_command_event_t * | dnp3_analog_output_command_event_iterator_next (dnp3_analog_output_command_event_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static dnp3_unsigned_integer_t | dnp3_unsigned_integer_init (uint16_t index, uint8_t value) |
| | Fully construct dnp3_unsigned_integer_t specifying the value of each field. More...
|
| |
| dnp3_unsigned_integer_t * | dnp3_unsigned_integer_iterator_next (dnp3_unsigned_integer_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| uint8_t * | dnp3_byte_iterator_next (dnp3_byte_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| dnp3_octet_string_t * | dnp3_octet_string_iterator_next (dnp3_octet_string_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| dnp3_connect_options_t * | dnp3_connect_options_create () |
| | Initialize to the defaults. More...
|
| |
| void | dnp3_connect_options_destroy (dnp3_connect_options_t *instance) |
| | Destroy an instance. More...
|
| |
| void | dnp3_connect_options_set_timeout (dnp3_connect_options_t *instance, uint64_t timeout) |
| | Set a timeout for the TCP connection that might be less than the default for the OS. More...
|
| |
| dnp3_param_error_t | dnp3_connect_options_set_local_endpoint (dnp3_connect_options_t *instance, const char *endpoint) |
| | Set the local address to which the socket is bound. More...
|
| |
| dnp3_endpoint_list_t * | dnp3_endpoint_list_create (const char *main_endpoint) |
| | Create a new list of IP endpoints. More...
|
| |
| void | dnp3_endpoint_list_destroy (dnp3_endpoint_list_t *instance) |
| | Destroy a previously allocated endpoint list. More...
|
| |
| void | dnp3_endpoint_list_add (dnp3_endpoint_list_t *instance, const char *endpoint) |
| | Add an IP endpoint to the list. More...
|
| |
| static dnp3_connect_strategy_t | dnp3_connect_strategy_init () |
| | Initialize to default values. More...
|
| |
| static const char * | dnp3_min_tls_version_to_string (dnp3_min_tls_version_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_certificate_mode_to_string (dnp3_certificate_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_tls_client_config_t | dnp3_tls_client_config_init (const char *dns_name, const char *peer_cert_path, const char *local_cert_path, const char *private_key_path, const char *password) |
| | construct the configuration with defaults More...
|
| |
| static const char * | dnp3_variation_list_attr_to_string (dnp3_variation_list_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_string_attr_to_string (dnp3_string_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_uint_attr_to_string (dnp3_uint_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_int_attr_to_string (dnp3_int_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_bool_attr_to_string (dnp3_bool_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_time_attr_to_string (dnp3_time_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_octet_string_attr_to_string (dnp3_octet_string_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_bit_string_attr_to_string (dnp3_bit_string_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_float_attr_to_string (dnp3_float_attr_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_attr_item_t * | dnp3_attr_item_iter_next (dnp3_attr_item_iter_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| static const char * | dnp3_nothing_to_string (dnp3_nothing_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_byte_collection_t * | dnp3_byte_collection_create (uint32_t reserve_size) |
| | Creates an instance of the collection. More...
|
| |
| void | dnp3_byte_collection_destroy (dnp3_byte_collection_t *instance) |
| | Destroys an instance of the collection. More...
|
| |
| void | dnp3_byte_collection_add (dnp3_byte_collection_t *instance, uint8_t value) |
| | Add a value to the collection. More...
|
| |
| static const char * | dnp3_port_state_to_string (dnp3_port_state_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_client_state_to_string (dnp3_client_state_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_variation_to_string (dnp3_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_retry_strategy_t | dnp3_retry_strategy_init () |
| | Initialize to defaults. More...
|
| |
| static const char * | dnp3_data_bits_to_string (dnp3_data_bits_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_flow_control_to_string (dnp3_flow_control_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_parity_to_string (dnp3_parity_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_stop_bits_to_string (dnp3_stop_bits_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_serial_settings_t | dnp3_serial_settings_init () |
| | Initialize to default values. More...
|
| |
| static const char * | dnp3_link_error_mode_to_string (dnp3_link_error_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_function_code_to_string (dnp3_function_code_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_file_type_to_string (dnp3_file_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_permission_set_t | dnp3_permission_set_init (bool execute, bool write, bool read) |
| | Fully construct dnp3_permission_set_t specifying the value of each field. More...
|
| |
| static dnp3_permission_set_t | dnp3_permission_set_none () |
| | Permission set with nothing enabled. More...
|
| |
| static dnp3_permissions_t | dnp3_permissions_init (dnp3_permission_set_t world, dnp3_permission_set_t group, dnp3_permission_set_t owner) |
| | Fully construct dnp3_permissions_t specifying the value of each field. More...
|
| |
| static dnp3_permissions_t | dnp3_permissions_none () |
| | Permissions with nothing enabled. More...
|
| |
| static const char * | dnp3_file_error_to_string (dnp3_file_error_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_file_mode_to_string (dnp3_file_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_udp_socket_mode_to_string (dnp3_udp_socket_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_link_read_mode_to_string (dnp3_link_read_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_log_level_to_string (dnp3_log_level_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_log_output_format_to_string (dnp3_log_output_format_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_time_format_to_string (dnp3_time_format_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_logging_config_t | dnp3_logging_config_init () |
| | Initialize the configuration to default values. More...
|
| |
| dnp3_param_error_t | dnp3_configure_logging (dnp3_logging_config_t config, dnp3_logger_t logger) |
| | Set the callback that will receive all the log messages. More...
|
| |
| static const char * | dnp3_response_function_to_string (dnp3_response_function_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_qualifier_code_to_string (dnp3_qualifier_code_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_read_type_to_string (dnp3_read_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_master_channel_config_t | dnp3_master_channel_config_init (uint16_t address) |
| | Initialize dnp3_master_channel_config_t to default values. More...
|
| |
| dnp3_write_dead_band_request_t * | dnp3_write_dead_band_request_create () |
| | A builder class to create one or more headers of analog input dead-bands. More...
|
| |
| void | dnp3_write_dead_band_request_destroy (dnp3_write_dead_band_request_t *instance) |
| | Destroy a request created with dnp3_write_dead_band_request_create. More...
|
| |
| void | dnp3_write_dead_band_request_add_g34v1_u8 (dnp3_write_dead_band_request_t *instance, uint8_t index, uint16_t dead_band) |
| | Add a g34v1 (unsigned 16-bit) dead-band with 8-bit indexing to the request. More...
|
| |
| void | dnp3_write_dead_band_request_add_g34v2_u8 (dnp3_write_dead_band_request_t *instance, uint8_t index, uint32_t dead_band) |
| | Add a g34v2 (unsigned 32-bit) dead-band with 8-bit indexing to the request. More...
|
| |
| void | dnp3_write_dead_band_request_add_g34v3_u8 (dnp3_write_dead_band_request_t *instance, uint8_t index, float dead_band) |
| | Add a g34v3 (single-precision floating point) dead-band with 8-bit indexing to the request. More...
|
| |
| void | dnp3_write_dead_band_request_add_g34v1_u16 (dnp3_write_dead_band_request_t *instance, uint16_t index, uint16_t dead_band) |
| | Add a g34v1 (unsigned 16-bit) dead-band with 16-bit indexing to the request. More...
|
| |
| void | dnp3_write_dead_band_request_add_g34v2_u16 (dnp3_write_dead_band_request_t *instance, uint16_t index, uint32_t dead_band) |
| | Add a g34v2 (unsigned 32-bit) dead-band with 16-bit indexing to the request. More...
|
| |
| void | dnp3_write_dead_band_request_add_g34v3_u16 (dnp3_write_dead_band_request_t *instance, uint16_t index, float dead_band) |
| | Add a g34v3 (single-precision floating point) dead-band with 16-bit indexing to the request. More...
|
| |
| void | dnp3_write_dead_band_request_finish_header (dnp3_write_dead_band_request_t *instance) |
| | If a header is currently being written, then this will complete the header so that no new objects may be added to it. More...
|
| |
| static const char * | dnp3_empty_response_error_to_string (dnp3_empty_response_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_create_tcp (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, dnp3_master_channel_config_t config, dnp3_endpoint_list_t *endpoints, dnp3_connect_strategy_t connect_strategy, dnp3_client_state_listener_t listener, dnp3_master_channel_t **out) |
| | Create a master channel that connects to the specified TCP endpoint(s) More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_create_tcp_2 (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, dnp3_master_channel_config_t config, dnp3_endpoint_list_t *endpoints, dnp3_connect_strategy_t connect_strategy, dnp3_connect_options_t *connect_options, dnp3_client_state_listener_t listener, dnp3_master_channel_t **out) |
| | Create a master channel that connects to the specified TCP endpoint(s) More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_create_serial (dnp3_runtime_t *runtime, dnp3_master_channel_config_t config, const char *path, dnp3_serial_settings_t serial_params, uint64_t open_retry_delay, dnp3_port_state_listener_t listener, dnp3_master_channel_t **out) |
| | Create a master channel on the specified serial port. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_create_udp (dnp3_runtime_t *runtime, dnp3_master_channel_config_t config, const char *local_endpoint, dnp3_link_read_mode_t link_read_mode, uint64_t retry_delay, dnp3_master_channel_t **out) |
| | Create a UDP master channel on the local endpoint. More...
|
| |
| void | dnp3_master_channel_destroy (dnp3_master_channel_t *instance) |
| | Shutdown a dnp3_master_channel_t and release all resources. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_create_tls (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, dnp3_master_channel_config_t config, dnp3_endpoint_list_t *endpoints, dnp3_connect_strategy_t connect_strategy, dnp3_client_state_listener_t listener, dnp3_tls_client_config_t tls_config, dnp3_master_channel_t **out) |
| | Create a master channel that connects to the specified TCP endpoint(s) and establish a TLS session with the remote. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_create_tls_2 (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, dnp3_master_channel_config_t config, dnp3_endpoint_list_t *endpoints, dnp3_connect_strategy_t connect_strategy, dnp3_connect_options_t *connect_options, dnp3_client_state_listener_t listener, dnp3_tls_client_config_t tls_config, dnp3_master_channel_t **out) |
| | Create a master channel that connects to the specified TCP endpoint(s) and establish a TLS session with the remote. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_enable (dnp3_master_channel_t *instance) |
| | start communications More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_disable (dnp3_master_channel_t *instance) |
| | stop communications More...
|
| |
| static dnp3_event_classes_t | dnp3_event_classes_init (bool class1, bool class2, bool class3) |
| | Fully construct dnp3_event_classes_t specifying the value of each field. More...
|
| |
| static dnp3_event_classes_t | dnp3_event_classes_all () |
| | Initialize all classes to true. More...
|
| |
| static dnp3_event_classes_t | dnp3_event_classes_none () |
| | Initialize all classes to false. More...
|
| |
| static dnp3_classes_t | dnp3_classes_init (bool class0, bool class1, bool class2, bool class3) |
| | Fully construct dnp3_classes_t specifying the value of each field. More...
|
| |
| static dnp3_classes_t | dnp3_classes_all () |
| | Initialize all classes to true. More...
|
| |
| static dnp3_classes_t | dnp3_classes_none () |
| | Initialize all classes to false. More...
|
| |
| static const char * | dnp3_auto_time_sync_to_string (dnp3_auto_time_sync_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_association_config_t | dnp3_association_config_init (dnp3_event_classes_t disable_unsol_classes, dnp3_event_classes_t enable_unsol_classes, dnp3_classes_t startup_integrity_classes, dnp3_event_classes_t event_scan_on_events_available) |
| | Initialize the configuration with the specified values. More...
|
| |
| static dnp3_utc_timestamp_t | dnp3_utc_timestamp_valid (uint64_t value) |
| | Construct a valid dnp3_utc_timestamp_t. More...
|
| |
| static dnp3_utc_timestamp_t | dnp3_utc_timestamp_invalid () |
| | Construct an invalid dnp3_utc_timestamp_t. More...
|
| |
| static const char * | dnp3_task_type_to_string (dnp3_task_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_task_error_to_string (dnp3_task_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_request_t * | dnp3_request_create () |
| | Create a new request. More...
|
| |
| dnp3_request_t * | dnp3_request_new_class (bool class0, bool class1, bool class2, bool class3) |
| | Create a new request asking for classes. More...
|
| |
| dnp3_request_t * | dnp3_request_new_all_objects (dnp3_variation_t variation) |
| | Create a new request asking for all objects of a particular variation. More...
|
| |
| dnp3_request_t * | dnp3_request_new_one_byte_range (dnp3_variation_t variation, uint8_t start, uint8_t stop) |
| | Create a new request asking for range of objects (using 8-bit start/stop). More...
|
| |
| dnp3_request_t * | dnp3_request_new_two_byte_range (dnp3_variation_t variation, uint16_t start, uint16_t stop) |
| | Create a new request asking for range of objects (using 16-bit start/stop). More...
|
| |
| dnp3_request_t * | dnp3_request_new_one_byte_limited_count (dnp3_variation_t variation, uint8_t count) |
| | Create a new request asking for a limited count of objects (using 8-bit start/stop). More...
|
| |
| dnp3_request_t * | dnp3_request_new_two_byte_limited_count (dnp3_variation_t variation, uint16_t count) |
| | Create a new request asking for a limited count of objects (using 16-bit start/stop). More...
|
| |
| void | dnp3_request_destroy (dnp3_request_t *instance) |
| | Destroy a request created with dnp3_request_create or dnp3_request_class_request. More...
|
| |
| void | dnp3_request_add_specific_attribute (dnp3_request_t *instance, uint8_t variation, uint8_t set) |
| | Add a one-byte start/stop header for use with a READ request. More...
|
| |
| void | dnp3_request_add_string_attribute (dnp3_request_t *instance, uint8_t variation, uint8_t set, const char *value) |
| | Add a one-byte start/stop header containing for use with a WRITE request. More...
|
| |
| void | dnp3_request_add_uint_attribute (dnp3_request_t *instance, uint8_t variation, uint8_t set, uint32_t value) |
| | Add a one-byte start/stop header containing for use with a WRITE request. More...
|
| |
| void | dnp3_request_add_one_byte_range_header (dnp3_request_t *instance, dnp3_variation_t variation, uint8_t start, uint8_t stop) |
| | Add a one-byte start/stop header for use with a READ request. More...
|
| |
| void | dnp3_request_add_two_byte_range_header (dnp3_request_t *instance, dnp3_variation_t variation, uint16_t start, uint16_t stop) |
| | Add a two-byte start/stop header for use with a READ request. More...
|
| |
| void | dnp3_request_add_all_objects_header (dnp3_request_t *instance, dnp3_variation_t variation) |
| | Add an all objects variation request. More...
|
| |
| void | dnp3_request_add_one_byte_limited_count_header (dnp3_request_t *instance, dnp3_variation_t variation, uint8_t count) |
| | Add a one-byte limited count variation header for use with a READ request. More...
|
| |
| void | dnp3_request_add_two_byte_limited_count_header (dnp3_request_t *instance, dnp3_variation_t variation, uint16_t count) |
| | Add a two-byte limited count variation header for use with a READ request. More...
|
| |
| void | dnp3_request_add_time_and_interval (dnp3_request_t *instance, uint64_t time, uint32_t interval_ms) |
| | Add a single g51v1 time-and-interval. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_add_association (dnp3_master_channel_t *instance, uint16_t address, dnp3_association_config_t config, dnp3_read_handler_t read_handler, dnp3_association_handler_t association_handler, dnp3_association_information_t association_information, dnp3_association_id_t *out) |
| | Add an association to the channel. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_add_udp_association (dnp3_master_channel_t *instance, uint16_t address, const char *destination, dnp3_association_config_t config, dnp3_read_handler_t read_handler, dnp3_association_handler_t association_handler, dnp3_association_information_t association_information, dnp3_association_id_t *out) |
| | Add a UDP association to the channel. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_remove_association (dnp3_master_channel_t *instance, dnp3_association_id_t id) |
| | Remove an association from the channel. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_add_poll (dnp3_master_channel_t *instance, dnp3_association_id_t id, dnp3_request_t *request, uint64_t period, dnp3_poll_id_t *out) |
| | Add a periodic poll to an association. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_remove_poll (dnp3_master_channel_t *instance, dnp3_poll_id_t poll_id) |
| | Add a periodic poll to an association. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_demand_poll (dnp3_master_channel_t *instance, dnp3_poll_id_t poll_id) |
| | Demand the immediate execution of a poll previously created with dnp3_master_channel_add_poll. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_set_decode_level (dnp3_master_channel_t *instance, dnp3_decode_level_t decode_level) |
| | Set the decoding level for the channel. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_get_decode_level (dnp3_master_channel_t *instance, dnp3_decode_level_t *out) |
| | Get the decoding level for the channel. More...
|
| |
| static const char * | dnp3_read_error_to_string (dnp3_read_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_read (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_request_t *request, dnp3_read_task_callback_t callback) |
| | Perform a read on the association. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_write_dead_bands (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_write_dead_band_request_t *request, dnp3_empty_response_callback_t callback) |
| | Perform a WRITE on the association using the supplied collection of dead-band headers. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_send_and_expect_empty_response (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_function_code_t function, dnp3_request_t *headers, dnp3_empty_response_callback_t callback) |
| | Send the specified request to the association using the supplied function and collection of request headers. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_read_with_handler (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_request_t *request, dnp3_read_handler_t handler, dnp3_read_task_callback_t callback) |
| | Perform a read on the association. More...
|
| |
| dnp3_command_set_t * | dnp3_command_set_create () |
| | Create a new set of commands. More...
|
| |
| void | dnp3_command_set_destroy (dnp3_command_set_t *instance) |
| | Destroy a set of commands. More...
|
| |
| void | dnp3_command_set_finish_header (dnp3_command_set_t *instance) |
| | Finish any partially completed header. This allows for the construction of two headers with the same type and index. More...
|
| |
| void | dnp3_command_set_add_g12_v1_u8 (dnp3_command_set_t *instance, uint8_t idx, dnp3_group12_var1_t header) |
| | Add a CROB with 1-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g12_v1_u16 (dnp3_command_set_t *instance, uint16_t idx, dnp3_group12_var1_t header) |
| | Add a CROB with 2-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v1_u8 (dnp3_command_set_t *instance, uint8_t idx, int32_t value) |
| | Add a Analog Output command (signed 32-bit integer) with 1-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v1_u16 (dnp3_command_set_t *instance, uint16_t idx, int32_t value) |
| | Add a Analog Output command (signed 32-bit integer) with 2-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v2_u8 (dnp3_command_set_t *instance, uint8_t idx, int16_t value) |
| | Add a Analog Output command (signed 16-bit integer) with 1-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v2_u16 (dnp3_command_set_t *instance, uint16_t idx, int16_t value) |
| | Add a Analog Output command (signed 16-bit integer) with 2-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v3_u8 (dnp3_command_set_t *instance, uint8_t idx, float value) |
| | Add a Analog Output command (single-precision float) with 1-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v3_u16 (dnp3_command_set_t *instance, uint16_t idx, float value) |
| | Add a Analog Output command (single-precision float) with 2-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v4_u8 (dnp3_command_set_t *instance, uint8_t idx, double value) |
| | Add a Analog Output command (double-precision float) with 1-byte prefix index. More...
|
| |
| void | dnp3_command_set_add_g41_v4_u16 (dnp3_command_set_t *instance, uint16_t idx, double value) |
| | Add a Analog Output command (double-precision float) with 2-byte prefix index. More...
|
| |
| static const char * | dnp3_command_mode_to_string (dnp3_command_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_command_error_to_string (dnp3_command_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_operate (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_command_mode_t mode, dnp3_command_set_t *command, dnp3_command_task_callback_t callback) |
| | Asynchronously perform a command operation on the association. More...
|
| |
| static const char * | dnp3_time_sync_mode_to_string (dnp3_time_sync_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_time_sync_error_to_string (dnp3_time_sync_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_synchronize_time (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_time_sync_mode_t mode, dnp3_time_sync_task_callback_t callback) |
| | Asynchronously perform a time sync operation to the association. More...
|
| |
| static const char * | dnp3_restart_error_to_string (dnp3_restart_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_cold_restart (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_restart_task_callback_t callback) |
| | Asynchronously perform a cold restart operation to the association. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_warm_restart (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_restart_task_callback_t callback) |
| | Asynchronously perform a warm restart operation to the association. More...
|
| |
| static dnp3_file_read_config_t | dnp3_file_read_config_defaults () |
| | Initialize the configuration to default values. More...
|
| |
| static dnp3_dir_read_config_t | dnp3_dir_read_config_defaults () |
| | Initialize the configuration to default values. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_read_file (dnp3_master_channel_t *instance, dnp3_association_id_t association, const char *remote_file_path, dnp3_file_read_config_t config, dnp3_file_reader_t reader) |
| | Start an operation to READ a file from the outstation using a dnp3_file_reader_t to receive data. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_read_file_with_auth (dnp3_master_channel_t *instance, dnp3_association_id_t association, const char *remote_file_path, dnp3_file_read_config_t config, dnp3_file_reader_t reader, const char *user_name, const char *password) |
| | Start an operation to READ a file from the outstation using a dnp3_file_reader_t to receive data. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_get_file_auth_key (dnp3_master_channel_t *instance, dnp3_association_id_t association, const char *username, const char *password, dnp3_file_auth_callback_t callback) |
| | Obtain a file authentication key. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_open_file (dnp3_master_channel_t *instance, dnp3_association_id_t association, const char *file_name, uint32_t auth_key, dnp3_permissions_t permissions, uint32_t file_size, dnp3_file_mode_t file_mode, uint16_t max_block_size, dnp3_file_open_callback_t callback) |
| | Asynchronously open a file. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_write_file_block (dnp3_master_channel_t *instance, dnp3_association_id_t association, uint32_t handle, uint32_t block_number, bool final_block, dnp3_byte_collection_t *block_data, dnp3_file_operation_callback_t callback) |
| | Asynchronously write a block of file data to the outstation. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_close_file (dnp3_master_channel_t *instance, dnp3_association_id_t association, uint32_t handle, dnp3_file_operation_callback_t callback) |
| | Asynchronously close a file. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_get_file_info (dnp3_master_channel_t *instance, dnp3_association_id_t association, const char *file_name, dnp3_file_info_callback_t callback) |
| | Asynchronously retrieve information on a particular file. More...
|
| |
| dnp3_file_info_t * | dnp3_file_info_iterator_next (dnp3_file_info_iterator_t *iter) |
| | returns a pointer to the next value or NULL More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_read_directory (dnp3_master_channel_t *instance, dnp3_association_id_t association, const char *dir_path, dnp3_dir_read_config_t config, dnp3_read_directory_callback_t callback) |
| | Asynchronously retrieve a directory listing. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_read_directory_with_auth (dnp3_master_channel_t *instance, dnp3_association_id_t association, const char *dir_path, dnp3_dir_read_config_t config, const char *user_name, const char *password, dnp3_read_directory_callback_t callback) |
| | Asynchronously retrieve a directory listing by first obtaining an authentication key. More...
|
| |
| static const char * | dnp3_link_status_error_to_string (dnp3_link_status_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_param_error_t | dnp3_master_channel_check_link_status (dnp3_master_channel_t *instance, dnp3_association_id_t association, dnp3_link_status_callback_t callback) |
| | Asynchronously perform a link status check. More...
|
| |
| dnp3_param_error_t | dnp3_accept_handler_accept (dnp3_accept_handler_t *instance, dnp3_link_error_mode_t error_mode, dnp3_master_channel_config_t config) |
| | Accept the connection and create a master channel. More...
|
| |
| dnp3_param_error_t | dnp3_accept_handler_get_link_identity (dnp3_accept_handler_t *instance) |
| | Request that server attempt to identify the outstation by reading a link-layer header from the physical layer within a timeout. More...
|
| |
| dnp3_param_error_t | dnp3_identified_link_handler_accept (dnp3_identified_link_handler_t *instance, dnp3_link_error_mode_t error_mode, dnp3_master_channel_config_t config) |
| | Accept the connection and create a master channel. More...
|
| |
| static dnp3_link_id_config_t | dnp3_link_id_config_init () |
| | Initialize to default values. More...
|
| |
| void | dnp3_master_server_destroy (dnp3_master_server_t *instance) |
| | Shutdown down the server. More...
|
| |
| dnp3_param_error_t | dnp3_create_master_tcp_server (dnp3_runtime_t *runtime, const char *local_addr, dnp3_link_id_config_t link_id_config, dnp3_connection_handler_t connection_handler, dnp3_master_server_t **out) |
| | Spawn a TCP server that accepts connections from outstations. More...
|
| |
| static const char * | dnp3_event_class_to_string (dnp3_event_class_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_update_result_to_string (dnp3_update_result_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_mode_to_string (dnp3_event_mode_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_update_options_t | dnp3_update_options_detect_event () |
| | Default event detection mode. Updates the static value and automatically detects event. More...
|
| |
| static dnp3_update_options_t | dnp3_update_options_no_event () |
| | Only update the static value. Usefull during initialization of the database. More...
|
| |
| static const char * | dnp3_update_flags_type_to_string (dnp3_update_flags_type_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_flags (dnp3_database_t *instance, uint16_t index, dnp3_update_flags_type_t flags_type, dnp3_flags_t flags, dnp3_timestamp_t time, dnp3_update_options_t options) |
| | Update the flags for the specified point without changing the value. More...
|
| |
| static const char * | dnp3_static_binary_input_variation_to_string (dnp3_static_binary_input_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_binary_input_variation_to_string (dnp3_event_binary_input_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_binary_input_config_t | dnp3_binary_input_config_create (dnp3_static_binary_input_variation_t static_variation, dnp3_event_binary_input_variation_t event_variation) |
| | Fully construct dnp3_binary_input_config_t specifying the value of each field. More...
|
| |
| static dnp3_binary_input_config_t | dnp3_binary_input_config_init () |
| | Initialize to defaults. More...
|
| |
| bool | dnp3_database_add_binary_input (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class, dnp3_binary_input_config_t config) |
| | Add a new BinaryInput point. More...
|
| |
| bool | dnp3_database_remove_binary_input (dnp3_database_t *instance, uint16_t index) |
| | Remove a BinaryInput point. More...
|
| |
| bool | dnp3_database_update_binary_input (dnp3_database_t *instance, dnp3_binary_input_t value, dnp3_update_options_t options) |
| | Update a BinaryInput point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_binary_input_2 (dnp3_database_t *instance, dnp3_binary_input_t value, dnp3_update_options_t options) |
| | Update a BinaryInput point. More...
|
| |
| dnp3_param_error_t | dnp3_database_get_binary_input (dnp3_database_t *instance, uint16_t index, dnp3_binary_input_t *out) |
| | Get a BinaryInput point. More...
|
| |
| static const char * | dnp3_static_double_bit_binary_input_variation_to_string (dnp3_static_double_bit_binary_input_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_double_bit_binary_input_variation_to_string (dnp3_event_double_bit_binary_input_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_double_bit_binary_input_config_t | dnp3_double_bit_binary_input_config_create (dnp3_static_double_bit_binary_input_variation_t static_variation, dnp3_event_double_bit_binary_input_variation_t event_variation) |
| | Fully construct dnp3_double_bit_binary_input_config_t specifying the value of each field. More...
|
| |
| static dnp3_double_bit_binary_input_config_t | dnp3_double_bit_binary_input_config_init () |
| | Initialize to defaults. More...
|
| |
| bool | dnp3_database_add_double_bit_binary_input (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class, dnp3_double_bit_binary_input_config_t config) |
| | Add a new Double-Bit Binary Input point. More...
|
| |
| bool | dnp3_database_remove_double_bit_binary_input (dnp3_database_t *instance, uint16_t index) |
| | Remove a Double-Bit Binary Input point. More...
|
| |
| bool | dnp3_database_update_double_bit_binary_input (dnp3_database_t *instance, dnp3_double_bit_binary_input_t value, dnp3_update_options_t options) |
| | Update a Double-Bit Binary Input point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_double_bit_binary_input_2 (dnp3_database_t *instance, dnp3_double_bit_binary_input_t value, dnp3_update_options_t options) |
| | Update a Double-Bit Binary Input point. More...
|
| |
| dnp3_param_error_t | dnp3_database_get_double_bit_binary_input (dnp3_database_t *instance, uint16_t index, dnp3_double_bit_binary_input_t *out) |
| | Get a Double-Bit Binary Input point. More...
|
| |
| static const char * | dnp3_static_binary_output_status_variation_to_string (dnp3_static_binary_output_status_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_binary_output_status_variation_to_string (dnp3_event_binary_output_status_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_binary_output_status_config_t | dnp3_binary_output_status_config_create (dnp3_static_binary_output_status_variation_t static_variation, dnp3_event_binary_output_status_variation_t event_variation) |
| | Fully construct dnp3_binary_output_status_config_t specifying the value of each field. More...
|
| |
| static dnp3_binary_output_status_config_t | dnp3_binary_output_status_config_init () |
| | Initialize to defaults. More...
|
| |
| bool | dnp3_database_add_binary_output_status (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class, dnp3_binary_output_status_config_t config) |
| | Add a new Binary Output Status point. More...
|
| |
| bool | dnp3_database_remove_binary_output_status (dnp3_database_t *instance, uint16_t index) |
| | Remove a Binary Output Status point. More...
|
| |
| bool | dnp3_database_update_binary_output_status (dnp3_database_t *instance, dnp3_binary_output_status_t value, dnp3_update_options_t options) |
| | Update a Binary Output Status point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_binary_output_status_2 (dnp3_database_t *instance, dnp3_binary_output_status_t value, dnp3_update_options_t options) |
| | Update a Binary Output Status point. More...
|
| |
| dnp3_param_error_t | dnp3_database_get_binary_output_status (dnp3_database_t *instance, uint16_t index, dnp3_binary_output_status_t *out) |
| | Get a Binary Output Status point. More...
|
| |
| static const char * | dnp3_static_counter_variation_to_string (dnp3_static_counter_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_counter_variation_to_string (dnp3_event_counter_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_counter_config_t | dnp3_counter_config_create (dnp3_static_counter_variation_t static_variation, dnp3_event_counter_variation_t event_variation, uint32_t deadband) |
| | Fully construct dnp3_counter_config_t specifying the value of each field. More...
|
| |
| static dnp3_counter_config_t | dnp3_counter_config_init () |
| | Initialize to defaults. More...
|
| |
| bool | dnp3_database_add_counter (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class, dnp3_counter_config_t config) |
| | Add a new Counter point. More...
|
| |
| bool | dnp3_database_remove_counter (dnp3_database_t *instance, uint16_t index) |
| | Remove a Counter point. More...
|
| |
| bool | dnp3_database_update_counter (dnp3_database_t *instance, dnp3_counter_t value, dnp3_update_options_t options) |
| | Update a Counter point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_counter_2 (dnp3_database_t *instance, dnp3_counter_t value, dnp3_update_options_t options) |
| | Update a Counter point. More...
|
| |
| dnp3_param_error_t | dnp3_database_get_counter (dnp3_database_t *instance, uint16_t index, dnp3_counter_t *out) |
| | Get a Counter point. More...
|
| |
| static const char * | dnp3_static_frozen_counter_variation_to_string (dnp3_static_frozen_counter_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_frozen_counter_variation_to_string (dnp3_event_frozen_counter_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_frozen_counter_config_t | dnp3_frozen_counter_config_create (dnp3_static_frozen_counter_variation_t static_variation, dnp3_event_frozen_counter_variation_t event_variation, uint32_t deadband) |
| | Fully construct dnp3_frozen_counter_config_t specifying the value of each field. More...
|
| |
| static dnp3_frozen_counter_config_t | dnp3_frozen_counter_config_init () |
| | Initialize to defaults. More...
|
| |
| bool | dnp3_database_add_frozen_counter (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class, dnp3_frozen_counter_config_t config) |
| | Add a new Frozen Counter point. More...
|
| |
| bool | dnp3_database_remove_frozen_counter (dnp3_database_t *instance, uint16_t index) |
| | Remove a Frozen Counter point. More...
|
| |
| bool | dnp3_database_update_frozen_counter (dnp3_database_t *instance, dnp3_frozen_counter_t value, dnp3_update_options_t options) |
| | Update an Frozen Counter point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_frozen_counter_2 (dnp3_database_t *instance, dnp3_frozen_counter_t value, dnp3_update_options_t options) |
| | Update an Frozen Counter point. More...
|
| |
| dnp3_param_error_t | dnp3_database_get_frozen_counter (dnp3_database_t *instance, uint16_t index, dnp3_frozen_counter_t *out) |
| | Get a Frozen Counter point. More...
|
| |
| static const char * | dnp3_static_analog_input_variation_to_string (dnp3_static_analog_input_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_analog_input_variation_to_string (dnp3_event_analog_input_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_analog_input_config_t | dnp3_analog_input_config_create (dnp3_static_analog_input_variation_t static_variation, dnp3_event_analog_input_variation_t event_variation, double deadband) |
| | Fully construct dnp3_analog_input_config_t specifying the value of each field. More...
|
| |
| static dnp3_analog_input_config_t | dnp3_analog_input_config_init () |
| | Initialize to defaults. More...
|
| |
| bool | dnp3_database_add_analog_input (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class, dnp3_analog_input_config_t config) |
| | Add a new AnalogInput point. More...
|
| |
| bool | dnp3_database_remove_analog_input (dnp3_database_t *instance, uint16_t index) |
| | Remove an AnalogInput point. More...
|
| |
| bool | dnp3_database_update_analog_input (dnp3_database_t *instance, dnp3_analog_input_t value, dnp3_update_options_t options) |
| | Update a AnalogInput point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_analog_input_2 (dnp3_database_t *instance, dnp3_analog_input_t value, dnp3_update_options_t options) |
| | Update a AnalogInput point. More...
|
| |
| dnp3_param_error_t | dnp3_database_get_analog_input (dnp3_database_t *instance, uint16_t index, dnp3_analog_input_t *out) |
| | Get a AnalogInput point. More...
|
| |
| static const char * | dnp3_static_analog_output_status_variation_to_string (dnp3_static_analog_output_status_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_event_analog_output_status_variation_to_string (dnp3_event_analog_output_status_variation_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_analog_output_status_config_t | dnp3_analog_output_status_config_create (dnp3_static_analog_output_status_variation_t static_variation, dnp3_event_analog_output_status_variation_t event_variation, double deadband) |
| | Fully construct dnp3_analog_output_status_config_t specifying the value of each field. More...
|
| |
| static dnp3_analog_output_status_config_t | dnp3_analog_output_status_config_init () |
| | Initialize to defaults. More...
|
| |
| bool | dnp3_database_add_analog_output_status (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class, dnp3_analog_output_status_config_t config) |
| | Add a new Analog Output Status point. More...
|
| |
| bool | dnp3_database_remove_analog_output_status (dnp3_database_t *instance, uint16_t index) |
| | Remove an Analog Output Status point. More...
|
| |
| bool | dnp3_database_update_analog_output_status (dnp3_database_t *instance, dnp3_analog_output_status_t value, dnp3_update_options_t options) |
| | Update a Analog Output Status point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_analog_output_status_2 (dnp3_database_t *instance, dnp3_analog_output_status_t value, dnp3_update_options_t options) |
| | Update a Analog Output Status point. More...
|
| |
| dnp3_param_error_t | dnp3_database_get_analog_output_status (dnp3_database_t *instance, uint16_t index, dnp3_analog_output_status_t *out) |
| | Get a Analog Output Status point. More...
|
| |
| dnp3_octet_string_value_t * | dnp3_octet_string_value_create () |
| | Creates an instance of the collection. More...
|
| |
| void | dnp3_octet_string_value_destroy (dnp3_octet_string_value_t *instance) |
| | Destroys an instance of the collection. More...
|
| |
| void | dnp3_octet_string_value_add (dnp3_octet_string_value_t *instance, uint8_t value) |
| | Add a value to the collection. More...
|
| |
| bool | dnp3_database_add_octet_string (dnp3_database_t *instance, uint16_t index, dnp3_event_class_t point_class) |
| | Add a new Octet String point. More...
|
| |
| bool | dnp3_database_remove_octet_string (dnp3_database_t *instance, uint16_t index) |
| | Remove an Octet String point. More...
|
| |
| bool | dnp3_database_update_octet_string (dnp3_database_t *instance, uint16_t index, dnp3_octet_string_value_t *value, dnp3_update_options_t options) |
| | Update an Octet String point. More...
|
| |
| dnp3_update_info_t | dnp3_database_update_octet_string_2 (dnp3_database_t *instance, uint16_t index, dnp3_octet_string_value_t *value, dnp3_update_options_t options) |
| | Update an Octet String point. More...
|
| |
| static const char * | dnp3_attr_def_error_to_string (dnp3_attr_def_error_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_attr_def_error_t | dnp3_database_define_string_attr (dnp3_database_t *instance, uint8_t set, bool writable, uint8_t variation, const char *value) |
| | Define a string attribute. More...
|
| |
| dnp3_attr_def_error_t | dnp3_database_define_float_attr (dnp3_database_t *instance, uint8_t set, bool writable, uint8_t variation, float value) |
| | Define a 32-bit floating point attribute. More...
|
| |
| dnp3_attr_def_error_t | dnp3_database_define_double_attr (dnp3_database_t *instance, uint8_t set, bool writable, uint8_t variation, double value) |
| | Define a 64-bit floating point attribute. More...
|
| |
| dnp3_attr_def_error_t | dnp3_database_define_uint_attr (dnp3_database_t *instance, uint8_t set, bool writable, uint8_t variation, uint32_t value) |
| | Define an unsigned integer attribute. More...
|
| |
| dnp3_attr_def_error_t | dnp3_database_define_int_attr (dnp3_database_t *instance, uint8_t set, bool writable, uint8_t variation, int32_t value) |
| | Define a signed integer attribute. More...
|
| |
| dnp3_attr_def_error_t | dnp3_database_define_time_attr (dnp3_database_t *instance, uint8_t set, bool writable, uint8_t variation, uint64_t value) |
| | Define a DNP3 time attribute. More...
|
| |
| dnp3_attr_def_error_t | dnp3_database_define_bool_attr (dnp3_database_t *instance, uint8_t set, bool writable, uint8_t variation, bool value) |
| | Define a boolean attribute which is mapped to an unsigned integer internally. More...
|
| |
| void | dnp3_database_handle_transaction (dnp3_database_handle_t *instance, dnp3_database_transaction_t callback) |
| | Acquire a mutex on the underlying database and apply a set of changes as a transaction. More...
|
| |
| static dnp3_event_buffer_config_t | dnp3_event_buffer_config_init (uint16_t max_binary, uint16_t max_double_bit_binary, uint16_t max_binary_output_status, uint16_t max_counter, uint16_t max_frozen_counter, uint16_t max_analog, uint16_t max_analog_output_status, uint16_t max_octet_string) |
| | Fully construct dnp3_event_buffer_config_t specifying the value of each field. More...
|
| |
| static dnp3_event_buffer_config_t | dnp3_event_buffer_config_no_events () |
| | Create a configuration where no events are buffered. More...
|
| |
| static dnp3_class_zero_config_t | dnp3_class_zero_config_init () |
| | Initialize to default values. More...
|
| |
| static dnp3_outstation_features_t | dnp3_outstation_features_init () |
| | Initialize to default values. More...
|
| |
| static dnp3_outstation_config_t | dnp3_outstation_config_init (uint16_t outstation_address, uint16_t master_address, dnp3_event_buffer_config_t event_buffer_config) |
| | Initialize to defaults. More...
|
| |
| static const char * | dnp3_restart_delay_type_to_string (dnp3_restart_delay_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_restart_delay_t | dnp3_restart_delay_not_supported () |
| | RestartDelay indicating that the request is not supported. More...
|
| |
| static dnp3_restart_delay_t | dnp3_restart_delay_seconds (uint16_t value) |
| | RestartDelay with a count of seconds. More...
|
| |
| static dnp3_restart_delay_t | dnp3_restart_delay_milliseconds (uint16_t value) |
| | RestartDelay with a count of milliseconds. More...
|
| |
| static const char * | dnp3_write_time_result_to_string (dnp3_write_time_result_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_freeze_type_to_string (dnp3_freeze_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_freeze_result_to_string (dnp3_freeze_result_t value) |
| | Converts the enum to a string. More...
|
| |
| static dnp3_application_iin_t | dnp3_application_iin_init () |
| | Initialize all fields in dnp3_application_iin_t to false. More...
|
| |
| static const char * | dnp3_broadcast_action_to_string (dnp3_broadcast_action_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_operate_type_to_string (dnp3_operate_type_t value) |
| | Converts the enum to a string. More...
|
| |
| static const char * | dnp3_connection_state_to_string (dnp3_connection_state_t value) |
| | Converts the enum to a string. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_create_tcp_client (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, dnp3_endpoint_list_t *endpoints, dnp3_connect_strategy_t connect_strategy, dnp3_connect_options_t *connect_options, dnp3_outstation_config_t config, dnp3_outstation_application_t application, dnp3_outstation_information_t information, dnp3_control_handler_t control_handler, dnp3_client_state_listener_t listener, dnp3_outstation_t **out) |
| | Create an outstation instance running as a TCP client. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_create_tls_client (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, dnp3_endpoint_list_t *endpoints, dnp3_connect_strategy_t connect_strategy, dnp3_connect_options_t *connect_options, dnp3_outstation_config_t config, dnp3_outstation_application_t application, dnp3_outstation_information_t information, dnp3_control_handler_t control_handler, dnp3_client_state_listener_t listener, dnp3_tls_client_config_t tls_config, dnp3_outstation_t **out) |
| | Create an outstation instance running as a TLS client. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_create_serial_session (dnp3_runtime_t *runtime, const char *serial_path, dnp3_serial_settings_t settings, dnp3_outstation_config_t config, dnp3_outstation_application_t application, dnp3_outstation_information_t information, dnp3_control_handler_t control_handler, dnp3_outstation_t **out) |
| | Create an outstation instance running on a serial port. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_create_serial_session_fault_tolerant (dnp3_runtime_t *runtime, const char *serial_path, dnp3_serial_settings_t settings, uint64_t open_retry_delay, dnp3_outstation_config_t config, dnp3_outstation_application_t application, dnp3_outstation_information_t information, dnp3_control_handler_t control_handler, dnp3_outstation_t **out) |
| | This method is implemented in terms of dnp3_outstation_create_serial_session_2 but without a port listener. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_create_serial_session_2 (dnp3_runtime_t *runtime, const char *serial_path, dnp3_serial_settings_t settings, uint64_t open_retry_delay, dnp3_outstation_config_t config, dnp3_outstation_application_t application, dnp3_outstation_information_t information, dnp3_control_handler_t control_handler, dnp3_port_state_listener_t port_listener, dnp3_outstation_t **out) |
| | Create an outstation instance running on a serial port which is tolerant to the serial port being added and removed. More...
|
| |
| static dnp3_outstation_udp_config_t | dnp3_outstation_udp_config_init (const char *local_endpoint, const char *remote_endpoint) |
| | Initialize the configuration with default settings for unspecified parameter. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_create_udp (dnp3_runtime_t *runtime, dnp3_outstation_udp_config_t udp_config, dnp3_outstation_config_t config, dnp3_outstation_application_t application, dnp3_outstation_information_t information, dnp3_control_handler_t control_handler, dnp3_outstation_t **out) |
| | Create an outstation instance running on a serial port which is tolerant to the serial port being added and removed. More...
|
| |
| void | dnp3_outstation_destroy (dnp3_outstation_t *instance) |
| | Free resources of the outstation. More...
|
| |
| void | dnp3_outstation_transaction (dnp3_outstation_t *instance, dnp3_database_transaction_t callback) |
| | Acquire a mutex on the underlying database and apply a set of changes as a transaction. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_set_decode_level (dnp3_outstation_t *instance, dnp3_decode_level_t level) |
| | Set decoding log level. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_enable (dnp3_outstation_t *instance) |
| | enable communications More...
|
| |
| dnp3_param_error_t | dnp3_outstation_disable (dnp3_outstation_t *instance) |
| | disable communications More...
|
| |
| dnp3_address_filter_t * | dnp3_address_filter_any () |
| | Create an address filter that accepts any IP address. More...
|
| |
| dnp3_param_error_t | dnp3_address_filter_create (const char *address, dnp3_address_filter_t **out) |
| | Create an address filter that matches a specific address or wildcards. More...
|
| |
| dnp3_param_error_t | dnp3_address_filter_add (dnp3_address_filter_t *instance, const char *address) |
| | Add an accepted IP address to the filter. More...
|
| |
| void | dnp3_address_filter_destroy (dnp3_address_filter_t *instance) |
| | Destroy an address filter. More...
|
| |
| static dnp3_tls_server_config_t | dnp3_tls_server_config_init (const char *dns_name, const char *peer_cert_path, const char *local_cert_path, const char *private_key_path, const char *password) |
| | construct the configuration with defaults More...
|
| |
| dnp3_param_error_t | dnp3_outstation_server_create_tcp_server (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, const char *address, dnp3_outstation_server_t **out) |
| | Create a new TCP server. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_server_create_tls_server (dnp3_runtime_t *runtime, dnp3_link_error_mode_t link_error_mode, const char *address, dnp3_tls_server_config_t tls_config, dnp3_outstation_server_t **out) |
| | Create a new TLS server. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_server_add_outstation (dnp3_outstation_server_t *instance, dnp3_outstation_config_t config, dnp3_outstation_application_t application, dnp3_outstation_information_t information, dnp3_control_handler_t control_handler, dnp3_connection_state_listener_t listener, dnp3_address_filter_t *filter, dnp3_outstation_t **out) |
| | Add an outstation to the server. More...
|
| |
| dnp3_param_error_t | dnp3_outstation_server_bind (dnp3_outstation_server_t *instance) |
| | Bind the server to the port and starts listening. Also starts all the outstations associated to it. More...
|
| |
| void | dnp3_outstation_server_destroy (dnp3_outstation_server_t *instance) |
| | Gracefully shutdown all the outstations associated to this server, stops the server and release resources. More...
|
| |
| const char * | dnp3_version () |
| | Get the version of the library as a string. More...
|
| |