![]() |
dnp3 (C API) 1.8.0-RC1
|
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 |
| Limits the selections or headers 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... | |
Outstation configuration.
| dnp3_class_zero_config_t dnp3_outstation_config_t::class_zero |
Controls responses to Class 0 reads.
| uint64_t dnp3_outstation_config_t::confirm_timeout |
Confirmation timeout.
| dnp3_decode_level_t dnp3_outstation_config_t::decode_level |
Decoding level.
| dnp3_event_buffer_config_t dnp3_outstation_config_t::event_buffer_config |
Event buffer sizes configuration.
| dnp3_outstation_features_t dnp3_outstation_config_t::features |
Optional features.
| 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.
| uint16_t dnp3_outstation_config_t::master_address |
Link-layer master address.
| uint16_t dnp3_outstation_config_t::max_controls_per_request |
Maximum number of controls in a single request.
| uint16_t dnp3_outstation_config_t::max_read_request_headers |
Limits the selections or headers processed in a READ request.
Internally, this controls the size of pre-allocated buffers used to process requests. A minimum value of 64 is always enforced.
A READ processed right away counts only the static selections it makes: one per static header that selects points, and one per class 0 type that has points. Event headers, and headers that select nothing, don't count. A READ that arrives while the outstation waits for an unsolicited confirm is held as pending, and holding it counts each header that parses, event headers included.
Past the limit, further selections or headers are ignored, the rest are answered, and the response sets the PARAMETER_ERROR IIN bit. Device attributes (group 0) have a separate, fixed limit of 32 selections per READ.
Independent of this limit, a READ whose selection visits more points, events or attribute sets than a fixed multiple of the database is answered with PARAMETER_ERROR and no objects.
| uint32_t dnp3_outstation_config_t::max_unsolicited_retries |
Maximum number of unsolicited retries.
| uint16_t dnp3_outstation_config_t::outstation_address |
Link-layer outstation address.
| uint16_t dnp3_outstation_config_t::rx_buffer_size |
Receive buffer size.
Must be at least 249 bytes
| uint64_t dnp3_outstation_config_t::select_timeout |
Select timeout.
| uint16_t dnp3_outstation_config_t::solicited_buffer_size |
Solicited response buffer size.
Must be at least 249 bytes
| uint16_t dnp3_outstation_config_t::unsolicited_buffer_size |
Unsolicited response buffer size.
Must be at least 249 bytes
| uint64_t dnp3_outstation_config_t::unsolicited_retry_delay |
Delay to wait before retrying an unsolicited response.