struct serial_parser_t
Overview
List of the serial console parsers settings More…
#include <te_serial_parser.h> struct serial_parser_t { // fields char name[TE_SERIAL_MAX_NAME+1]; char c_name[TE_SERIAL_MAX_NAME+1]; char user[TE_SERIAL_MAX_NAME+1]; char mode[TE_SERIAL_MAX_NAME+1]; bool enable; int port; int interval; bool logging; int level; char log_user[TE_SERIAL_MAX_NAME+1]; bool rcf; pthread_t thread; pthread_mutex_t mutex; serial_event_h_t events; // methods SLIST_ENTRY(serial_parser_t); };
Detailed Documentation
List of the serial console parsers settings
Fields
char name[TE_SERIAL_MAX_NAME+1]
Name of the parser
char c_name[TE_SERIAL_MAX_NAME+1]
The serial console name
char user[TE_SERIAL_MAX_NAME+1]
User name
char mode[TE_SERIAL_MAX_NAME+1]
Share mode
bool enable
The parser thread state
int port
The serial console port
int interval
Intreval of polling console
bool logging
Enable logging from console to the main log
int level
Message level for logging
char log_user[TE_SERIAL_MAX_NAME+1]
Logger user name
bool rcf
Launched via RCF
pthread_t thread
Thread identifier
pthread_mutex_t mutex
Provides access to this struct
serial_event_h_t events
List of the events
Methods
SLIST_ENTRY(serial_parser_t)
Elements connector