opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::OutstationParams Struct Reference

Static configuration parameters for an outstation session. More...

#include <opendnp3/outstation/OutstationParams.h>

Public Attributes

bool allowUnsolicited = false
 Global enabled / disable for unsolicited messages. If false, the NULL unsolicited message is not even sent. More...
 
uint32_t maxControlsPerRequest = 4'294'967'295
 The maximum number of controls the outstation will attempt to process from a single APDU. More...
 
uint32_t maxRxFragSize = DEFAULT_MAX_APDU_SIZE
 The maximum fragment size the outstation will be able to receive. More...
 
uint32_t maxTxFragSize = DEFAULT_MAX_APDU_SIZE
 The maximum fragment size the outstation will use for fragments it sends. More...
 
bool noDefferedReadDuringUnsolicitedNullResponse = false
 Workaround for test procedure 8.11.2.1. Will respond immediatly to READ requests when waiting for unsolicited NULL responses. More...
 
NumRetries numUnsolRetries = NumRetries::Infinite()
 Number of unsolicited non-regenerated retries. More...
 
bool respondToAnyMaster = false
 If true, the outstation processes responds to any request/confirmation as if it came from the expected master address. More...
 
TimeDuration selectTimeout = TimeDuration::Seconds(10)
 How long the outstation will allow an operate to proceed after a prior select. More...
 
TimeDuration solConfirmTimeout = DEFAULT_APP_TIMEOUT
 Timeout for solicited confirms. More...
 
StaticTypeBitField typesAllowedInClass0 = StaticTypeBitField::AllTypes()
 A bitmask type that specifies the types allowed in a class 0 reponse. More...
 
ClassField unsolClassMask = ClassField::None()
 Class mask for unsolicted, default to 0 as unsolicited has to be enabled. More...
 
TimeDuration unsolConfirmTimeout = DEFAULT_APP_TIMEOUT
 Timeout for unsolicited confirms. More...
 

Detailed Description

Static configuration parameters for an outstation session.

Definition at line 35 of file OutstationParams.h.

Member Data Documentation

◆ allowUnsolicited

bool opendnp3::OutstationParams::allowUnsolicited = false

Global enabled / disable for unsolicited messages. If false, the NULL unsolicited message is not even sent.

Definition at line 65 of file OutstationParams.h.

◆ maxControlsPerRequest

uint32_t opendnp3::OutstationParams::maxControlsPerRequest = 4'294'967'295

The maximum number of controls the outstation will attempt to process from a single APDU.

Definition at line 38 of file OutstationParams.h.

◆ maxRxFragSize

uint32_t opendnp3::OutstationParams::maxRxFragSize = DEFAULT_MAX_APDU_SIZE

The maximum fragment size the outstation will be able to receive.

Definition at line 62 of file OutstationParams.h.

◆ maxTxFragSize

uint32_t opendnp3::OutstationParams::maxTxFragSize = DEFAULT_MAX_APDU_SIZE

The maximum fragment size the outstation will use for fragments it sends.

Definition at line 59 of file OutstationParams.h.

◆ noDefferedReadDuringUnsolicitedNullResponse

bool opendnp3::OutstationParams::noDefferedReadDuringUnsolicitedNullResponse = false

Workaround for test procedure 8.11.2.1. Will respond immediatly to READ requests when waiting for unsolicited NULL responses.

Warning
This is NOT compliant to IEEE-1815-2012.

Definition at line 56 of file OutstationParams.h.

◆ numUnsolRetries

NumRetries opendnp3::OutstationParams::numUnsolRetries = NumRetries::Infinite()

Number of unsolicited non-regenerated retries.

Definition at line 50 of file OutstationParams.h.

◆ respondToAnyMaster

bool opendnp3::OutstationParams::respondToAnyMaster = false

If true, the outstation processes responds to any request/confirmation as if it came from the expected master address.

Definition at line 75 of file OutstationParams.h.

◆ selectTimeout

TimeDuration opendnp3::OutstationParams::selectTimeout = TimeDuration::Seconds(10)

How long the outstation will allow an operate to proceed after a prior select.

Definition at line 41 of file OutstationParams.h.

◆ solConfirmTimeout

TimeDuration opendnp3::OutstationParams::solConfirmTimeout = DEFAULT_APP_TIMEOUT

Timeout for solicited confirms.

Definition at line 44 of file OutstationParams.h.

◆ typesAllowedInClass0

StaticTypeBitField opendnp3::OutstationParams::typesAllowedInClass0 = StaticTypeBitField::AllTypes()

A bitmask type that specifies the types allowed in a class 0 reponse.

Definition at line 68 of file OutstationParams.h.

◆ unsolClassMask

ClassField opendnp3::OutstationParams::unsolClassMask = ClassField::None()

Class mask for unsolicted, default to 0 as unsolicited has to be enabled.

Definition at line 71 of file OutstationParams.h.

◆ unsolConfirmTimeout

TimeDuration opendnp3::OutstationParams::unsolConfirmTimeout = DEFAULT_APP_TIMEOUT

Timeout for unsolicited confirms.

Definition at line 47 of file OutstationParams.h.


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