:orphan: .. index:: pair: struct; serial_parser_t .. _doxid-structserial__parser__t: struct serial_parser_t ====================== .. toctree:: :hidden: Overview ~~~~~~~~ List of the serial console parsers settings :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct serial_parser_t { // fields char :ref:`name`[TE_SERIAL_MAX_NAME+1]; char :ref:`c_name`[TE_SERIAL_MAX_NAME+1]; char :ref:`user`[TE_SERIAL_MAX_NAME+1]; char :ref:`mode`[TE_SERIAL_MAX_NAME+1]; bool :ref:`enable`; int :ref:`port`; int :ref:`interval`; bool :ref:`logging`; int :ref:`level`; char :ref:`log_user`[TE_SERIAL_MAX_NAME+1]; bool :ref:`rcf`; pthread_t :ref:`thread`; pthread_mutex_t :ref:`mutex`; serial_event_h_t :ref:`events`; // methods :ref:`SLIST_ENTRY`(serial_parser_t); }; .. _details-structserial__parser__t: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ List of the serial console parsers settings Fields ------ .. index:: pair: variable; name .. _doxid-structserial__parser__t_1a9e04235b2ba519c1150c7860c63154a4: .. ref-code-block:: cpp :class: doxyrest-title-code-block char name[TE_SERIAL_MAX_NAME+1] Name of the parser .. index:: pair: variable; c_name .. _doxid-structserial__parser__t_1a406a76db40a7a30f448801d9603781f1: .. ref-code-block:: cpp :class: doxyrest-title-code-block char c_name[TE_SERIAL_MAX_NAME+1] The serial console name .. index:: pair: variable; user .. _doxid-structserial__parser__t_1aeef1868bee2defc40dbbf99125fd9b75: .. ref-code-block:: cpp :class: doxyrest-title-code-block char user[TE_SERIAL_MAX_NAME+1] User name .. index:: pair: variable; mode .. _doxid-structserial__parser__t_1ae64247a693e9478005f915485c129dfe: .. ref-code-block:: cpp :class: doxyrest-title-code-block char mode[TE_SERIAL_MAX_NAME+1] Share mode .. index:: pair: variable; enable .. _doxid-structserial__parser__t_1ac474f010b640c189b7557075120406bf: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool enable The parser thread state .. index:: pair: variable; port .. _doxid-structserial__parser__t_1ab511eb3d237ecbcf2fbe515e19faaf79: .. ref-code-block:: cpp :class: doxyrest-title-code-block int port The serial console port .. index:: pair: variable; interval .. _doxid-structserial__parser__t_1a751686b7cbfdd7734e29af221136089d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int interval Intreval of polling console .. index:: pair: variable; logging .. _doxid-structserial__parser__t_1af519ba82c0af1e361c6337bf9e2f0937: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool logging Enable logging from console to the main log .. index:: pair: variable; level .. _doxid-structserial__parser__t_1ae2814958454da9cbb8de2777de63c171: .. ref-code-block:: cpp :class: doxyrest-title-code-block int level Message level for logging .. index:: pair: variable; log_user .. _doxid-structserial__parser__t_1aa4a16bb5c9cf310f0fe23ae28fa441ba: .. ref-code-block:: cpp :class: doxyrest-title-code-block char log_user[TE_SERIAL_MAX_NAME+1] Logger user name .. index:: pair: variable; rcf .. _doxid-structserial__parser__t_1a734fedeaa732b87429c255b649c1586d: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool rcf Launched via RCF .. index:: pair: variable; thread .. _doxid-structserial__parser__t_1ab93e71addeca543abf7050f5a7dbbb18: .. ref-code-block:: cpp :class: doxyrest-title-code-block pthread_t thread Thread identifier .. index:: pair: variable; mutex .. _doxid-structserial__parser__t_1ae50423de8500d1269e86afaaf0c78e7e: .. ref-code-block:: cpp :class: doxyrest-title-code-block pthread_mutex_t mutex Provides access to this struct .. index:: pair: variable; events .. _doxid-structserial__parser__t_1a3d40ff1bce544b2761c7f440368766e6: .. ref-code-block:: cpp :class: doxyrest-title-code-block serial_event_h_t events List of the events Methods ------- .. index:: pair: function; SLIST_ENTRY .. _doxid-structserial__parser__t_1ae9c126d3e8a97ed2fe2605996b85fae0: .. ref-code-block:: cpp :class: doxyrest-title-code-block SLIST_ENTRY(serial_parser_t) Elements connector