void init_app(app_ctx_t *app, const config_t *persistent_config)
Initialize application context from persistent/default configuration.
app_ctx_t * get_app_ctx(void)
Get access to the app context. This context is owned by main, app_init just takes hold of a pointer t...
void set_loglevel(log_level_t level)
Set current global log level.
void hdlc_sync_acc_init(HDLC_SYNC_ACCUMULATOR_T *accumulator, uint8_t sync_byte)
Initialize HDLC sync accumulator state.
void reinit_v24_config(V24_CONFIG_T *config, V24_BAUDRATE_T baudrate)
Reinitialize V.24 runtime configuration and derived timing values.
void init_v24_config(V24_CONFIG_T *config, V24_BAUDRATE_T baudrate)
Initialize V.24 runtime configuration structure.
Generic HDLC frame buffer descriptor.
uint8_t broadcast_address[4]
UDP endpoint configuration.
Global application context shared across modules.
uint8_t reconstructed_frame_buffer[RX_HDLC_SYNC_MAX_BUFFER_SIZE]
UDP_FRAME_T tx_frame_buffer
UDP_FRAME_T rx_frame_buffer
HDLC_SYNC_ACCUMULATOR_T accumulator
payload_statistics_t stats
uint8_t rx_frame_buffer_data[RX_BUF_SIZE]
NETWORK_CONFIG_T net_config
UDP_CONFIG_T local_config
config_t persistent_config
UDP_CONFIG_T destination_config
uint8_t tx_frame_buffer_data[TX_BUF_SIZE]
HDLC_FRAME_T reconstructed_frame
Persistent configuration blob stored in flash.
UDP_CONFIG_T local_config
NETWORK_CONFIG_T net_config
UDP_CONFIG_T remote_config
void w5500_set_network_defaults(NETWORK_CONFIG_T *config)
Fill network config with compile-time defaults.
void w5500_set_network(NETWORK_CONFIG_T *config)
Apply network configuration to W5500 hardware.