ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
config_t Struct Reference

Persistent configuration blob stored in flash. More...

#include <persistent_config.h>

Collaboration diagram for config_t:

Data Fields

uint32_t magic
 
uint32_t version
 
UDP_CONFIG_T local_config
 
UDP_CONFIG_T remote_config
 
NETWORK_CONFIG_T net_config
 
V24_CONFIG_T v24_config
 
log_level_t log_level
 

Detailed Description

Persistent configuration blob stored in flash.

Definition at line 36 of file persistent_config.h.

Field Documentation

◆ local_config

UDP_CONFIG_T config_t::local_config

Local UDP endpoint.

Definition at line 43 of file persistent_config.h.

Referenced by dump_config(), event_dispatch(), and init_app().

◆ log_level

log_level_t config_t::log_level

Default runtime log level.

Definition at line 51 of file persistent_config.h.

Referenced by event_dispatch(), and init_app().

◆ magic

uint32_t config_t::magic

Magic marker to validate flash content.

Definition at line 39 of file persistent_config.h.

Referenced by config_is_valid(), config_read(), config_write(), and dump_config().

◆ net_config

NETWORK_CONFIG_T config_t::net_config

Network interface configuration.

Definition at line 47 of file persistent_config.h.

Referenced by dump_config(), event_dispatch(), and init_app().

◆ remote_config

UDP_CONFIG_T config_t::remote_config

Remote UDP endpoint.

Definition at line 45 of file persistent_config.h.

Referenced by dump_config(), event_dispatch(), and init_app().

◆ v24_config

V24_CONFIG_T config_t::v24_config

V.24 line/baud configuration.

Definition at line 49 of file persistent_config.h.

Referenced by dump_config(), event_dispatch(), and init_app().

◆ version

uint32_t config_t::version

Schema version for migration support.

Definition at line 41 of file persistent_config.h.

Referenced by dump_config().


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