ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
event_dispatch.h File Reference
Include dependency graph for event_dispatch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void event_dispatch (const event_t *event, app_ctx_t *app)
 Dispatch one event to the corresponding handler.
 

Function Documentation

◆ event_dispatch()

void event_dispatch ( const event_t event,
app_ctx_t app 
)

Dispatch one event to the corresponding handler.

Parameters
eventEvent to process.
appApplication context.

Definition at line 504 of file event_dispatch.c.

References app_ctx_t::accumulator, apply_result_t::changed, config_wipe(), config_write(), app_ctx_t::destination_config, dump_config(), EV_CLI_LINE, ev_get_net_settings(), EV_GET_NET_SETTINGS, ev_get_v24_settings(), EV_GET_V24_SETTINGS, EV_HDLC_DECODE, EV_MEM, EV_REBOOT, EV_SAVE_CONFIG, ev_set_net_settings(), EV_SET_NET_SETTINGS, ev_set_v24_settings(), EV_SET_V24_SETTINGS, ev_status(), EV_STATUS, EV_UDP_RX, EV_UDP_TX, EV_WIPE_CONFIG, event_get_payload_ptr(), event_queue_push(), get_loglevel(), handle_cli_line(), hdlc_decode(), HDLC_FLAG_BYTE, hdlc_sync_acc_init(), UDP_FRAME_T::length, HDLC_FRAME_T::length, app_ctx_t::local_config, config_t::local_config, LOG_DEBUG, config_t::log_level, LOG_LEVEL_DEBUG, LOG_PLAIN, app_ctx_t::need_prompt, app_ctx_t::net_config, config_t::net_config, NETWORK_CONFIG_T::net_info, UDP_FRAME_T::payload, HDLC_FRAME_T::payload, app_ctx_t::persistent_config, print_flash_usage(), PRINT_FRAME_HEX, print_memory_usage(), print_net_settings_event(), print_status_event(), reboot(), apply_result_t::reboot_required, config_t::remote_config, request_save_config(), app_ctx_t::rx_frame_buffer, TX_BUF_SIZE, app_ctx_t::tx_frame_buffer, app_ctx_t::tx_queue, tx_queue_enqueue_udp_frame(), event_t::type, app_ctx_t::v24_config, config_t::v24_config, and w5500_udp_tx().

Referenced by poll_and_dispatch_events().

Here is the call graph for this function:
Here is the caller graph for this function: