dnp3 (C API) 1.1.0
dnp3_outstation_config_t Struct Reference

Outstation configuration. More...

#include <dnp3.h>

Data Fields

uint16_t outstation_address
 Link-layer outstation address. More...
 
uint16_t master_address
 Link-layer master address. More...
 
dnp3_event_buffer_config_t event_buffer_config
 Event buffer sizes configuration. More...
 
uint16_t solicited_buffer_size
 Solicited response buffer size. More...
 
uint16_t unsolicited_buffer_size
 Unsolicited response buffer size. More...
 
uint16_t rx_buffer_size
 Receive buffer size. More...
 
dnp3_decode_level_t decode_level
 Decoding level. More...
 
uint64_t confirm_timeout
 Confirmation timeout. More...
 
uint64_t select_timeout
 Select timeout. More...
 
dnp3_outstation_features_t features
 Optional features. More...
 
uint32_t max_unsolicited_retries
 Maximum number of unsolicited retries. More...
 
uint64_t unsolicited_retry_delay
 Delay to wait before retrying an unsolicited response. More...
 
uint64_t keep_alive_timeout
 Delay of inactivity before sending a REQUEST_LINK_STATUS to the master. More...
 
uint16_t max_read_request_headers
 Maximum number of headers that will be processed in a READ request. More...
 
uint16_t max_controls_per_request
 Maximum number of controls in a single request. More...
 
dnp3_class_zero_config_t class_zero
 Controls responses to Class 0 reads. More...
 

Detailed Description

Outstation configuration.

Field Documentation

◆ class_zero

dnp3_class_zero_config_t dnp3_outstation_config_t::class_zero

Controls responses to Class 0 reads.

◆ confirm_timeout

uint64_t dnp3_outstation_config_t::confirm_timeout

Confirmation timeout.

Note
The unit is milliseconds

◆ decode_level

dnp3_decode_level_t dnp3_outstation_config_t::decode_level

Decoding level.

◆ event_buffer_config

dnp3_event_buffer_config_t dnp3_outstation_config_t::event_buffer_config

Event buffer sizes configuration.

◆ features

dnp3_outstation_features_t dnp3_outstation_config_t::features

Optional features.

◆ keep_alive_timeout

uint64_t dnp3_outstation_config_t::keep_alive_timeout

Delay of inactivity before sending a REQUEST_LINK_STATUS to the master.

A value of zero means no automatic keep-alive will be sent.

Note
The unit is milliseconds

◆ master_address

uint16_t dnp3_outstation_config_t::master_address

Link-layer master address.

◆ max_controls_per_request

uint16_t dnp3_outstation_config_t::max_controls_per_request

Maximum number of controls in a single request.

◆ max_read_request_headers

uint16_t dnp3_outstation_config_t::max_read_request_headers

Maximum number of headers that will be processed in a READ request.

Internally, this controls the size of a pre-allocated buffer used to process requests. A minimum value of DEFAULT_READ_REQUEST_HEADERS is always enforced. Requesting more than this number will result in the PARAMETER_ERROR IIN bit being set in the response.

◆ max_unsolicited_retries

uint32_t dnp3_outstation_config_t::max_unsolicited_retries

Maximum number of unsolicited retries.

◆ outstation_address

uint16_t dnp3_outstation_config_t::outstation_address

Link-layer outstation address.

◆ rx_buffer_size

uint16_t dnp3_outstation_config_t::rx_buffer_size

Receive buffer size.

Must be at least 249 bytes

◆ select_timeout

uint64_t dnp3_outstation_config_t::select_timeout

Select timeout.

Note
The unit is milliseconds

◆ solicited_buffer_size

uint16_t dnp3_outstation_config_t::solicited_buffer_size

Solicited response buffer size.

Must be at least 249 bytes

◆ unsolicited_buffer_size

uint16_t dnp3_outstation_config_t::unsolicited_buffer_size

Unsolicited response buffer size.

Must be at least 249 bytes

◆ unsolicited_retry_delay

uint64_t dnp3_outstation_config_t::unsolicited_retry_delay

Delay to wait before retrying an unsolicited response.

Note
The unit is milliseconds

The documentation for this struct was generated from the following file: