XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_ptpv2_license
Check if a device supports PTPv2 license infos.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_prog_pulses
Supports XHE external rubidium unit I/O commands.
#define GPS_MODEL_HAS_SV_INFO
see GPS_BIT_MODEL_HAS_SV_INFO
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_fw_mngmnt
Check if a device supports the FW management API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_pos_lla
Check if a device supports reading the position as LLA array.
#define GPS_MODEL_IS_GPS
Bit masks associated with classifiers and built-in features.
MBG_TLV_FEAT_BUFFER supp_tlv_feat
A byte array of supported TLV feature bits, see MBG_TLV_FEAT_TYPES.
Supports user authentication and command GPS_AUTH_USER_INFO.
#define GPS_HAS_NTP
see GPS_FEAT_NTP
1) MBG_TLV_TYPE_BLOB => MBG_LICENSE_PTPV1_IDX, see License information
Supports the GPS_BEGIN_TRANSACTION and GPS_END_TRANSACTION commands, see also MBG_TRANSACTION_TYPES.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ptp
Check if a device supports the PTP API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_clk_res_info
Check if a device supports the MBG_CLK_RES_INFO structure.
Supports programmable LED API, see Meinberg LED API definitions.
#define _check_feat_supp_mask(_supp_msk, _chk_msk)
Check if all bits of a specific mask are set in an integer bit mask.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ant_cable_length
Check if a device supports the ANT_CABLE_LEN structure and API.
#define GPS_HAS_GPIO
see GPS_FEAT_GPIO
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_pos_xyz
Check if a device supports reading the position as XYZ array.
#define GPS_MODEL_IS_TCR
see GPS_BIT_MODEL_IS_TCR
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_ptpv1_license
Check if a device supports PTPv1 License Infos via TLV.
Supports specific LNE API, see Definitions specific to LNE devices.
#define GPS_HAS_SYNTH
see GPS_FEAT_SYNTH
static int check_xfeature(int xf_bit, const MBG_XFEATURE_BUFFER *xf_buf)
Check if a specific extended feature is supported.
Instead of a standard L1 antenna, a Meinberg antenna/converter can be used with this GNSS device...
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_enable_flags
Check if a device supports the ENABLE_FLAGS structure and API.
1) MBG_TLV_TYPE_BLOB => MBG_LICENSE_TIME_MONITOR_IDX, see License information
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_gps
Check if a device can receive the GPS satellite system.
Supports monitoring / notifications, see Monitoring / notification.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_irig_rx
static BUILTIN_FEATURE_TABLE_ENTRY builtin_feature_table[]
A static table of builtin features.
1) MBG_TLV_TYPE_BLOB => MBG_LICENSE_PTPV2_IDX, see License information
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_scu_stat
Check if the device supports the SCU_STAT structures.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_irig_tx
uint32_t BUILTIN_FEATURE_MASK
Definitions used to classify devices and built-in features.
int XDEVFEAT_CHK_SUPP_FNC(const MBG_XDEV_FEATURES *p_xdf)
Type of functions to check if a feature is supported.
Supports the GPS_REBOOT command.
Supports the GPS_SAVE_CFG command.
BUILTIN_FEATURE_MASK feature_mask
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_wwvb
Check if a device is a WWVB receiver.
#define GPS_HAS_XMRS_MULT_INSTC
see GPS_FEAT_XMRS_MULT_INSTC
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_user_mngmnt
Check if a device supports user management.
#define GPS_MODEL_IS_WWVB
see GPS_BIT_MODEL_IS_WWVB
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_tainted_cfg
Check if a device supports the Tainted config Tainted Config API.
uint32_t RI_FEATURES
A data type to specify feature flags within RECEIVER_INFO.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_bus_lvl_dev
Check if a device is a bus level device.
static int check_ri_feature(RI_FEATURES msk, const RECEIVER_INFO *p_ri)
Check if a device supports a specific feature or API.
Supports the GPS_UCAP_NET_GLB_INFO and GPS_UCAP_NET_RECV_INFO_IDX commands, see User Captures via Net...
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_pzf
Check if a device can receive DCF77 PZF.
uint16_t model_code
Model code according to RECEIVER_INFO::model_code, see GPS_MODEL_CODES.
RI_FEATURES features
optional features, see GPS_FEATURE_MASKS
#define mbg_rc_is_success(_rc)
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_serouts
Supports tainted config structures, see Tainted config.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_user_auth
Check if a device supports user authentification.
Supports database(s), see Database(s).
#define GPS_HAS_EVT_LOG
see GPS_FEAT_EVT_LOG
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_fw_rollback
Check if a device supports a factory reset via TLV.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_ntp_license
Check if a device supports NTP license infos via TLV.
uint8_t n_com_ports
number of on-board serial ports
#define GPS_HAS_NET_CFG
see GPS_FEAT_NET_CFG
A structure used to store extended device features.
Supports extended revision information, see Extended system information.
Supports commands GPS_REGISTER_PUSH_MSGS and GPS_UNREGISTER_PUSH_MSGS.
#define GPS_HAS_RAW_IRIG_DATA
see GPS_FEAT_RAW_IRIG_DATA
#define GPS_HAS_IRIG_RX
see GPS_FEAT_IRIG_RX
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_net_cfg
Check if a device supports the new NET_CFG API.
int xdevfeat_has_time_ttm(const MBG_XDEV_FEATURES *p_xdf)
Check if the device supports the builtin feature TIME.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_lne_api
Check if a device supports the LNE API.
#define GPS_MODEL_HAS_SCU_STAT
see GPS_BIT_MODEL_HAS_SCU_STAT
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_gpio
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_fw_update
Check if a device supports a firmware update via TLV.
Supports power control, see Definitions for power control API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_gps_stat_info
Check if a device supports the STAT_INFO structure and API.
1) MBG_TLV_TYPE_BLOB => Unified Firmware Update (UFU) file, see mbg_ufu.h
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_up_conv
Check if the device has an L1 frequency up converter.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_raw_irig_data
Check if a timecode receiver provides MBG_RAW_IRIG_DATA.
uint16_t model_code
identifier for receiver model, see GPS_MODEL_CODES
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_evt_log
Check if a device supports the event log API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_reboot
Check if a device has MBG_XFEATURE_REBOOT.
Only used as action trigger on a remote site, expects no data.
#define GPS_MODEL_IS_DCF_AM
see GPS_BIT_MODEL_IS_DCF_AM
A structure used to query current TLV capabilities.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_time_monitor_license
Check if a device supports Time Monitor License infos via TLV.
MBG_XFEATURE_BUFFER xfeature_buffer
Extended features provided by the device.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ucap
Check if a device supports the user capture API.
#define GPS_MODEL_HAS_POS_LLA
see GPS_BIT_MODEL_HAS_POS_LLA
#define GPS_HAS_IGNORE_LOCK
see GPS_FEAT_IGNORE_LOCK
#define GPS_MODEL_IS_BUS_LVL_DEV
see GPS_BIT_MODEL_IS_BUS_LVL_DEV
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_pwr_ctl_api
Check if a device supports the power control API.
MBG_TLV_INFO tlv_info
TLV info provided by a device.
uint8_t n_ucaps
number of user time capture inputs
#define GPS_MODEL_HAS_TIME_TTM
see GPS_BIT_MODEL_HAS_TIME_TTM
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_xbp
Check if a device supports the extended binary protocol (XBP) feature.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ims
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ant_info
Check if a device supports the ANT_INFO structure and API.
Supports firmware management, see Firmware Management.
1) MBG_TLV_TYPE_BLOB => MBG_LICENSE_NTP_IDX, see License information
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_led_api
Check if a device supports the LED API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_msf
Check if a device is an MSF receiver.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_service
Check if a device supports services.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_gps_ignore_lock
Check if a device supports the IGNORE_LOCK structure and API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_database
Check if a device supports database(s) feature.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_time_scale
Check if a device supports the MBG_TIME_SCALE_INFO structure and API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_tzdl
Check if a device supports the TZDL structure and API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_lan_ip4
Check if a device supports the old LAN_IP4 API.
#define GPS_MODEL_HAS_ANT_INFO
see GPS_BIT_MODEL_HAS_ANT_INFO
Supports service management, see Service Management.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_gnss
Check if a device supports the GNSS API.
static int check_builtin_feature(BUILTIN_FEATURE_MASK msk, const RECEIVER_INFO *p_ri)
Check if a device supports a specific built-in feature or API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_bvar_stat
Check if a device supports the BVAR_STAT structure and API.
#define GPS_MODEL_HAS_ANT_CABLE_LEN
see GPS_BIT_MODEL_HAS_ANT_CABLE_LEN
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ucap_net
Check if a device supports the user capture via network feature.
#define MBG_SUCCESS
Error codes used with Meinberg devices and drivers.
Supports the GPS_CLK_RES_INFO command, see Clock resolution info.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_exec_cmd
Check if a device supports a command execution via TLV.
Supports generic TLV API, see Meinberg TLV API definitions.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_gnss_mode
Check if a device supports GNSS mode feature All GNSS receivers support this feature by default...
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_cmd_save_cfg
Check if a device supports the GPS_SAVE_CFG command.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_file_req
Check if a device supports a file request via TLV.
#define GPS_MODEL_HAS_TZDL
see GPS_BIT_MODEL_HAS_TZDL
#define GPS_MODEL_HAS_BVAR_STAT
see GPS_BIT_MODEL_HAS_BVAR_STAT
#define GPS_HAS_LAN_IP4
see GPS_FEAT_LAN_IP4
#define GPS_MODEL_HAS_STAT_INFO
see GPS_BIT_MODEL_HAS_STAT_INFO
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_tzcode
Check if a device supports the TZCODE API.
RECEIVER_INFO receiver_info
Receiver info provided by the device.
1) MBG_TLV_TYPE_STR => Command line call as string
Entry for a table to specify model-depending built-in features.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_ufu
Check if a device supports UFU (Unified Firmware Update) via TLV.
#define GPS_MODEL_BUILTIN_FEATURES
Initializer for a table of built-in features per device.
#define GPS_HAS_TIME_SCALE
see GPS_FEAT_TIME_SCALE
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_monitoring
Check if a device supports the extended feature monitoring.
#define GPS_HAS_PTP
see GPS_FEAT_PTP
#define GPS_HAS_IRIG_TX
see GPS_FEAT_IRIG_TX
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_synth
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ntp
Check if a device supports the NTP API.
A structure combining all device feature information.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_req_ttm
Check if a device has MBG_XFEATURE_REQ_TTM.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_tcr
Check if a device is a time code receiver (IRIG or similar)
XDEVFEAT_CHK_SUPP_FNC xdevfeat_supp_tlv_diag_file
Check if a device supports creating / sending a diagnostics file via TLV.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_xhe
Check if a device supports the XHE I/O commands.
uint8_t n_prg_out
number of programmable pulse outputs
Supports TTM requests via GPS_TIME command.
#define MBG_ERR_NOT_SUPP_BY_DEV
Command or feature not supported by device.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_tlv_api
Check if a device supports the TLV API.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_transactions
Check if a device has MBG_XFEATURE_TRANSACTIONS.
Supports user management, see User Management.
#define GPS_HAS_IMS
see GPS_FEAT_IMS
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_mbg_os
Supports I/O port structures, see IO Port API.
#define GPS_MODEL_IS_MSF
see GPS_BIT_MODEL_IS_MSF
#define GPS_MODEL_IS_JJY
see GPS_BIT_MODEL_IS_JJY
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_xmulti_ref
Check if a device supports the extended multi ref features including multi instances.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_jjy
Check if a device is a JJY receiver.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_sv_info
Check if the device supports the SV_INFO structures.
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_push_msgs
Check if a device supports (un)registering for push messages.
static __mbg_inline int check_feat_supp_byte_array(int bit_num, const uint8_t *p, int max_bytes)
Check if a specific bit is set in a byte array.
#define GPS_MODEL_IS_DCF_PZF
see GPS_BIT_MODEL_IS_DCF_PZF
static int check_tlv_feat_supp(int tlv_feat_type, const MBG_TLV_INFO *tlv_info)
Check if a specific bit is set in the TLV's byte array.
A structure used to identify a device type and supported features.
#define MBG_ERR_DEV_NOT_SUPP
Device type not supported by driver.
#define GPS_MODEL_IS_GNSS
see GPS_BIT_MODEL_IS_GNSS
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_io_ports
XDEVFEAT_CHK_SUPP_FNC xdevfeat_has_ext_sys_info
Check if a device supports the MBG_EXT_SYS_INFO command.
#define GPS_HAS_XBP
see GPS_FEAT_XBP
#define GPS_MODEL_HAS_TZCODE
see GPS_BIT_MODEL_HAS_TZCODE
XDEVFEAT_CHK_SUPP_FNC xdevfeat_is_dcf
Check if a device is a DCF77 AM receiver.
#define GPS_MODEL_HAS_MBG_OS
see GPS_BIT_MODEL_HAS_MBG_OS
#define GPS_MODEL_HAS_ENABLE_FLAGS
see GPS_BIT_MODEL_HAS_ENABLE_FLAGS
#define GPS_MODEL_HAS_UP_CONV
see GPS_BIT_MODEL_HAS_UP_CONV
#define GPS_MODEL_HAS_POS_XYZ
see GPS_BIT_MODEL_HAS_POS_XYZ