dnp3 (C++ API) 1.1.0
dnp3::MasterChannelConfig Struct Reference

Generic configuration for a MasterChannel. More...

#include <dnp3.hpp>

Public Member Functions

 MasterChannelConfig (uint16_t address)
 Initialize MasterChannelConfig to default values. More...
 

Public Attributes

uint16_t address
 Local DNP3 data-link address. More...
 
DecodeLevel decode_level
 Decoding level for this master. You can modify this later on with MasterChannel::set_decode_level(). More...
 
uint16_t tx_buffer_size
 TX buffer size. More...
 
uint16_t rx_buffer_size
 RX buffer size. More...
 

Friends

class CppMasterChannelConfigFriend
 

Detailed Description

Generic configuration for a MasterChannel.

Constructor & Destructor Documentation

◆ MasterChannelConfig()

dnp3::MasterChannelConfig::MasterChannelConfig ( uint16_t  address)

Initialize MasterChannelConfig to default values.

Note
Values are initialized to:
Parameters
addressLocal DNP3 data-link address
Returns
New instance of MasterChannelConfig

Member Data Documentation

◆ address

uint16_t dnp3::MasterChannelConfig::address

Local DNP3 data-link address.

◆ decode_level

DecodeLevel dnp3::MasterChannelConfig::decode_level

Decoding level for this master. You can modify this later on with MasterChannel::set_decode_level().

◆ rx_buffer_size

uint16_t dnp3::MasterChannelConfig::rx_buffer_size

RX buffer size.

Must be at least 2048

◆ tx_buffer_size

uint16_t dnp3::MasterChannelConfig::tx_buffer_size

TX buffer size.

Must be at least 249


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