automotive-dlt
DltDaemon Struct Reference

#include <dlt_daemon_common.h>

Collaboration diagram for DltDaemon:

Data Fields

int num_contexts
 
DltDaemonContextcontexts
 
int num_applications
 
DltDaemonApplicationapplications
 
int8_t default_log_level
 
int8_t default_trace_status
 
int8_t force_ll_ts
 
unsigned int overflow_counter
 
int runtime_context_cfg_loaded
 
char ecuid [DLT_ID_SIZE]
 
int sendserialheader
 
int timingpackets
 
DltBuffer client_ringbuffer
 
char runtime_application_cfg [PATH_MAX+1]
 
char runtime_context_cfg [PATH_MAX+1]
 
char runtime_configuration [PATH_MAX+1]
 
DltUserLogMode mode
 
char connectionState
 
char * ECUVersionString
 
DltDaemonState state
 
DltLogStoragestorage_handle
 

Detailed Description

The parameters of a daemon.

Definition at line 145 of file dlt_daemon_common.h.

Field Documentation

DltBuffer DltDaemon::client_ringbuffer

Ring-buffer for storing received logs while no client connection is available

Definition at line 159 of file dlt_daemon_common.h.

Referenced by dlt_daemon_client_send(), dlt_daemon_free(), dlt_daemon_init(), and dlt_daemon_send_ringbuffer_to_client().

char DltDaemon::connectionState

state for tracing: 0 = no client connected, 1 = client connected

Definition at line 164 of file dlt_daemon_common.h.

Referenced by dlt_daemon_close_socket(), dlt_daemon_init(), dlt_daemon_process_client_connect(), and dlt_daemon_user_send_log_state().

int8_t DltDaemon::default_trace_status
char* DltDaemon::ECUVersionString

Version string to send to client. Loaded from a file at startup. May be null.

Definition at line 165 of file dlt_daemon_common.h.

Referenced by dlt_daemon_control_get_software_version(), dlt_daemon_local_cleanup(), dlt_daemon_local_ecu_version_init(), and dlt_daemon_local_init_p2().

int8_t DltDaemon::force_ll_ts

Enforce ll and ts to not exceed default_log_level, default_trace_status

Definition at line 153 of file dlt_daemon_common.h.

Referenced by dlt_daemon_context_add(), dlt_daemon_control_reset_to_factory_default(), and dlt_daemon_init().

char DltDaemon::runtime_application_cfg[PATH_MAX+1]

Path and filename of persistent application configuration. Set to path max, as it specifies a full path

Definition at line 160 of file dlt_daemon_common.h.

Referenced by dlt_daemon_client_process_control(), and dlt_daemon_init().

char DltDaemon::runtime_configuration[PATH_MAX+1]

Path and filename of persistent configuration

Definition at line 162 of file dlt_daemon_common.h.

Referenced by dlt_daemon_init(), and dlt_daemon_process_user_message_log_mode().

char DltDaemon::runtime_context_cfg[PATH_MAX+1]

Path and filename of persistent context configuration

Definition at line 161 of file dlt_daemon_common.h.

Referenced by dlt_daemon_client_process_control(), and dlt_daemon_init().

int DltDaemon::runtime_context_cfg_loaded

Set to one, if runtime context configuration has been loaded, zero otherwise

Definition at line 155 of file dlt_daemon_common.h.

Referenced by dlt_daemon_context_add(), and dlt_daemon_init().

int DltDaemon::sendserialheader

1: send serial header; 0 don't send serial header

Definition at line 157 of file dlt_daemon_common.h.

Referenced by dlt_daemon_client_send(), dlt_daemon_client_send_all_multiple(), dlt_daemon_init(), and dlt_daemon_local_init_p2().

DltDaemonState DltDaemon::state
int DltDaemon::timingpackets

1: send continous timing packets; 0 don't send continous timing packets

Definition at line 158 of file dlt_daemon_common.h.

Referenced by dlt_daemon_control_set_timing_packets(), dlt_daemon_init(), dlt_daemon_local_init_p2(), and dlt_daemon_process_one_s_timer().


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