mbgtools-lx
4.2.8
|
Data Structures | |
struct | MBG_NUM_EVT_LOG_ENTRIES |
Number of event log entries that can be stored and yet have been saved. More... | |
struct | MBG_EVT_LOG_ENTRY |
An event log entry. More... | |
Typedefs | |
typedef uint16_t | MBG_EVT_CODE |
typedef uint16_t | MBG_EVT_INFO |
#define _mbg_get_evt_id | ( | _code | ) | ( (_code) & MBG_EVT_ID_MASK ) |
#define _mbg_get_evt_lvl | ( | _code | ) | ( ( (_code) >> MBG_EVT_ID_BITS ) & MBG_EVT_LVL_MASK ) |
#define _mbg_mk_evt_code | ( | _id, | |
_lvl | |||
) | ( (MBG_EVT_CODE) ( (MBG_EVT_CODE)(_id) | ( (MBG_EVT_CODE)(_lvl) << MBG_EVT_ID_BITS ) ) ) |
#define _mbg_swab_evt_code | ( | _p | ) | _mbg_swab16( _p ) |
#define _mbg_swab_evt_info | ( | _p | ) | _mbg_swab16( _p ) |
#define _mbg_swab_mbg_evt_log_entry | ( | _p | ) |
Definition at line 9572 of file gpsdefs.h.
Referenced by mbg_get_first_evt_log_entry(), mbg_get_next_evt_log_entry(), mbgextio_get_first_evt_log_entry(), and mbgextio_get_next_evt_log_entry().
#define _mbg_swab_mbg_num_evt_log_entries | ( | _p | ) |
Definition at line 9547 of file gpsdefs.h.
Referenced by mbg_get_num_evt_log_entries(), and mbgextio_get_num_evt_log_entries().
#define ENG_EVT_ID_NAME_DATABASE_CONNECTED "Database(s) connected" |
#define ENG_EVT_ID_NAME_FW_ACTIVATED "Firmware activated" |
#define ENG_EVT_ID_NAME_FW_INSTALLED "Firmware installed" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_DISABLED "PTP state: DISABLED" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_FAULTY "PTP state: FAULTY" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_INITIALIZING "PTP state: INITIALIZING" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_LISTENING "PTP state: LISTENING" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_MASTER "PTP state: MASTER" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_PASSIVE "PTP state: PASSIVE" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_PRE_MASTER "PTP state: PRE_MASTER" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_SLAVE "PTP state: SLAVE" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_UNCALIBRATED "PTP state: UNCALIBRATED" |
#define ENG_EVT_ID_NAME_PTP_PORT_STATE_UNINITIALIZED "PTP state: UNINITIALIZED" |
#define MBG_EVT_ANT_DISCONN _mbg_mk_evt_code( MBG_EVT_ID_ANT_DISCONN, MBG_EVT_LVL_CRIT ) |
#define MBG_EVT_ANT_OK _mbg_mk_evt_code( MBG_EVT_ID_ANT_OK, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_ANT_SHORT _mbg_mk_evt_code( MBG_EVT_ID_ANT_SHORT, MBG_EVT_LVL_CRIT ) |
#define MBG_EVT_COLD_BOOT _mbg_mk_evt_code( MBG_EVT_ID_COLD_BOOT, MBG_EVT_LVL_ERR ) |
#define MBG_EVT_FW_INSTALLED _mbg_mk_evt_code( MBG_EVT_ID_FW_INSTALLED, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_ID_MASK ( (MBG_EVT_CODE) ( 1UL << MBG_EVT_ID_BITS ) - 1 ) |
#define MBG_EVT_ID_NAMES_ENG |
#define MBG_EVT_LOW_SATS _mbg_mk_evt_code( MBG_EVT_ID_LOW_SATS, MBG_EVT_LVL_WARN ) |
#define MBG_EVT_LVL_MASK ( (MBG_EVT_CODE) ( 1UL << MBG_EVT_LVL_BITS ) - 1 ) |
#define MBG_EVT_LVL_NAMES_ENG |
#define MBG_EVT_NONE _mbg_mk_evt_code( MBG_EVT_ID_NONE, MBG_EVT_LVL_NONE ) |
Predefined event codes with associated severity levels.
#define MBG_EVT_NORMAL_OP _mbg_mk_evt_code( MBG_EVT_ID_NORMAL_OP, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_POW_UP_RES _mbg_mk_evt_code( MBG_EVT_ID_POW_UP_RES, MBG_EVT_LVL_WARN ) |
#define MBG_EVT_PTP_PORT_STATE_DISABLED _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_DISABLED, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_FAULTY _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_FAULTY, MBG_EVT_LVL_ERR ) |
#define MBG_EVT_PTP_PORT_STATE_INITIALIZING _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_INITIALIZING, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_LISTENING _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_LISTENING, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_MASTER _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_MASTER, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_PASSIVE _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_PASSIVE, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_PRE_MASTER _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_PRE_MASTER, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_SLAVE _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_SLAVE, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_UNCALIBRATED _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_UNCALIBRATED, MBG_EVT_LVL_INFO ) |
#define MBG_EVT_PTP_PORT_STATE_UNINITIALIZED _mbg_mk_evt_code( MBG_EVT_ID_PTP_PORT_STATE_UNINITIALIZED, MBG_EVT_LVL_WARN ) |
#define MBG_EVT_WARM_BOOT _mbg_mk_evt_code( MBG_EVT_ID_WARM_BOOT, MBG_EVT_LVL_ERR ) |
#define MBG_EVT_WDOG_RES _mbg_mk_evt_code( MBG_EVT_ID_WDOG_RES, MBG_EVT_LVL_CRIT ) |
typedef uint16_t MBG_EVT_CODE |
typedef uint16_t MBG_EVT_INFO |
enum MBG_EVT_IDS |
Enumeration of event IDs.
enum MBG_EVT_LVLS |