mbgtools-lx  4.2.8
mbgdevio functions used to check if a particular feature is supported

Typedefs

typedef int MBG_CHK_SUPP_FNC(MBG_DEV_HANDLE dh)
 The type of functions to check if a feature is supported. More...
 

Functions

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_receiver_info (MBG_DEV_HANDLE dh)
 Check if a device supports the RECEIVER_INFO structure and related calls. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_gps_data (MBG_DEV_HANDLE dh)
 Check if a device supports large configuration data structures. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_generic_io (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_generic_io API call. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_asic_version (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_asic_version API call. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_asic_features (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_asic_features call. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_xmr (MBG_DEV_HANDLE dh)
 Check if a device provides eXtended Multi Ref (XMR) inputs. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_isa (MBG_DEV_HANDLE dh)
 Check if the device is connected via the ISA bus. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_mca (MBG_DEV_HANDLE dh)
 Check if the device is connected via the MCA bus. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_pci (MBG_DEV_HANDLE dh)
 Check if the device is connected via the PCI bus. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_pci_express (MBG_DEV_HANDLE dh)
 Check if the device is connected via the PCI Express bus. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_usb (MBG_DEV_HANDLE dh)
 Check if the device is connected via the USB bus. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_gnss (MBG_DEV_HANDLE dh)
 Check if a device supports GNSS configuration. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_gps (MBG_DEV_HANDLE dh)
 Check if a device is a GPS receiver. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_dcf (MBG_DEV_HANDLE dh)
 Check if a device is a DCF77 receiver. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_pzf (MBG_DEV_HANDLE dh)
 Check if a device supports demodulation of the DCF77 PZF code. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_msf (MBG_DEV_HANDLE dh)
 Check if a device is a MSF receiver. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_wwvb (MBG_DEV_HANDLE dh)
 Check if a device is a WWVB receiver. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_jjy (MBG_DEV_HANDLE dh)
 Check if a device is a JJY receiver. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_lwr (MBG_DEV_HANDLE dh)
 Check if a device is any long wave signal receiver. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_tcr (MBG_DEV_HANDLE dh)
 Check if a device provides a configurable IRIG input. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_lan_intf (MBG_DEV_HANDLE dh)
 Check if a device supports simple LAN interface API calls. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ptp (MBG_DEV_HANDLE dh)
 Check if a device supports PTP configuration/status calls. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ptp_unicast (MBG_DEV_HANDLE dh)
 Check if a device supports PTP unicast feature/configuration. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_hr_time (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_hr_time... functions. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_fast_hr_timestamp (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_fast_hr_timestamp... calls. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_time_scale (MBG_DEV_HANDLE dh)
 Check if a device supports configurable time scales. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ucap (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_ucap_entries and mbg_get_ucap_event calls. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_can_clr_ucap_buff (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_clr_ucap_buff call. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tzdl (MBG_DEV_HANDLE dh)
 Check if a device supports timezone configuration using the TZDL structure. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_pcps_tzdl (MBG_DEV_HANDLE dh)
 Check if a device supports timezone configuration using the PCPS_TZDL structure. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tzcode (MBG_DEV_HANDLE dh)
 Check if a device supports timezone configuration using the PCPS_TZCODE type. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tz (MBG_DEV_HANDLE dh)
 Check if a device supports any kind of timezone configuration. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig (MBG_DEV_HANDLE dh)
 Check if a device provides either an IRIG input or output. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig_tx (MBG_DEV_HANDLE dh)
 Check if a device provides a configurable IRIG output. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig_ctrl_bits (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_irig_ctrl_bits call. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_raw_irig_data (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_raw_irig_data call. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig_time (MBG_DEV_HANDLE dh)
 Check if a device supports the mbg_get_irig_time call. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_signal (MBG_DEV_HANDLE dh)
 Check if a device provides the level of its inputs signal. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_mod (MBG_DEV_HANDLE dh)
 Check if a device provides a modulation signal. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_synth (MBG_DEV_HANDLE dh)
 Check if a device provides a programmable frequency synthesizer. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_gpio (MBG_DEV_HANDLE dh)
 Check if a device provides GPIO signal inputs and/or outputs. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_cab_len (MBG_DEV_HANDLE dh)
 Check if a device supports configuration of antenna cable length. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ref_offs (MBG_DEV_HANDLE dh)
 Check if a device provides a configurable ref time offset. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_opt_flags (MBG_DEV_HANDLE dh)
 Check if a device supports the MBG_OPT_INFO/MBG_OPT_SETTINGS. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_utc_parm (MBG_DEV_HANDLE dh)
 Check if a device support reading/writing of UTC parameters. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_corr_info (MBG_DEV_HANDLE dh)
 Check if a device supports reading correlation info. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tr_distance (MBG_DEV_HANDLE dh)
 Check if a device supports configurable distance from transmitter. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_debug_status (MBG_DEV_HANDLE dh)
 Check if a device provides a debug status word to be read. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_evt_log (MBG_DEV_HANDLE dh)
 Check if a device provides an on-board event log. More...
 
_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_dac_ctrl (MBG_DEV_HANDLE dh)
 Check if a device supports bus level DAC control commands. More...
 

Variables

MBG_CHK_SUPP_FNC mbg_chk_dev_has_receiver_info
 Check if a device supports the RECEIVER_INFO structure and related calls. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_gps_data
 Check if a device supports large configuration data structures. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_generic_io
 Check if a device supports the mbg_generic_io API call. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_asic_version
 Check if a device supports the mbg_get_asic_version API call. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_asic_features
 Check if a device supports the mbg_get_asic_features call. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_xmr
 Check if a device provides eXtended Multi Ref (XMR) inputs. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_isa
 Check if the device is connected via the ISA bus. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_mca
 Check if the device is connected via the MCA bus. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_pci
 Check if the device is connected via the PCI bus. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_pci_express
 Check if the device is connected via the PCI Express bus. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_usb
 Check if the device is connected via the USB bus. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_gnss
 Check if a device supports GNSS configuration. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_gps
 Check if a device is a GPS receiver. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_dcf
 Check if a device is a DCF77 receiver. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_pzf
 Check if a device supports demodulation of the DCF77 PZF code. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_msf
 Check if a device is a MSF receiver. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_lwr
 Check if a device is any long wave signal receiver. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_is_tcr
 Check if a device provides a configurable IRIG input. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_lan_intf
 Check if a device supports simple LAN interface API calls. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_ptp
 Check if a device supports PTP configuration/status calls. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_ptp_unicast
 Check if a device supports PTP unicast feature/configuration. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_hr_time
 Check if a device supports the mbg_get_hr_time... functions. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_fast_hr_timestamp
 Check if a device supports the mbg_get_fast_hr_timestamp... calls. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_time_scale
 Check if a device supports configurable time scales. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_ucap
 Check if a device supports the mbg_get_ucap_entries and mbg_get_ucap_event calls. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_can_clr_ucap_buff
 Check if a device supports the mbg_clr_ucap_buff call. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_tzdl
 Check if a device supports timezone configuration using the TZDL structure. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_pcps_tzdl
 Check if a device supports timezone configuration using the PCPS_TZDL structure. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_tzcode
 Check if a device supports timezone configuration using the PCPS_TZCODE type. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_tz
 Check if a device supports any kind of timezone configuration. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_irig
 Check if a device provides either an IRIG input or output. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_irig_tx
 Check if a device provides a configurable IRIG output. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_irig_ctrl_bits
 Check if a device supports the mbg_get_irig_ctrl_bits call. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_raw_irig_data
 Check if a device supports the mbg_get_raw_irig_data call. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_irig_time
 Check if a device supports the mbg_get_irig_time call. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_signal
 Check if a device provides the level of its inputs signal. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_mod
 Check if a device provides a modulation signal. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_synth
 Check if a device provides a programmable frequency synthesizer. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_gpio
 Check if a device provides GPIO signal inputs and/or outputs. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_cab_len
 Check if a device supports configuration of antenna cable length. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_ref_offs
 Check if a device provides a configurable ref time offset. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_opt_flags
 Check if a device supports the MBG_OPT_INFO/MBG_OPT_SETTINGS. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_utc_parm
 Check if a device support reading/writing of UTC parameters. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_corr_info
 Check if a device supports reading correlation info. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_tr_distance
 Check if a device supports configurable distance from transmitter. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_debug_status
 Check if a device provides a debug status word to be read. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_evt_log
 Check if a device provides an on-board event log. More...
 
MBG_CHK_SUPP_FNC mbg_chk_dev_has_dac_ctrl
 Check if a device supports bus level DAC control commands. More...
 

Detailed Description

These functions can be used to check if a device supports a particular feature.

MBG_SUCCESS is returned if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if the feature is not supported, or one of the other MBG_ERROR_CODES is returned if an error occurred when trying to determine if the feature is supported, e.g. if an IOCTL call failed for some reason.

See also
MBG_CHK_SUPP_FNC

Typedef Documentation

◆ MBG_CHK_SUPP_FNC

typedef int MBG_CHK_SUPP_FNC(MBG_DEV_HANDLE dh)

The type of functions to check if a feature is supported.

See also
mbgdevio functions used to check if a particular feature is supported

Definition at line 845 of file mbgdevio.h.

Function Documentation

◆ mbg_chk_dev_can_clr_ucap_buff()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_can_clr_ucap_buff ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_clr_ucap_buff call.

The mbg_clr_ucap_buff call can be used to clear a device's on-board time capture FIFO buffer, but the call may not be supported by some older GPS devices.

Note
This function should be preferred over mbg_dev_can_clr_ucap_buff, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_clr_ucap_buff

Definition at line 1499 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_CAN_CLR_UCAP_BUFF.

◆ mbg_chk_dev_has_asic_features()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_asic_features ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_asic_features call.

If mbg_get_asic_features is supported, or not, depends on the bus interface chip assembled on the device.

Note
This function should be preferred over mbg_dev_has_asic_features, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_asic_features

Definition at line 786 of file mbgdevio.c.

References _do_query_cond, _pcps_ddev_has_asic_features, and IOCTL_DEV_HAS_PCI_ASIC_FEATURES.

◆ mbg_chk_dev_has_asic_version()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_asic_version ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_asic_version API call.

If mbg_get_asic_version is supported, or not, depends on the bus interface chip assembled on the device.

Note
This function should be preferred over mbg_dev_has_asic_version, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_asic_version

Definition at line 757 of file mbgdevio.c.

References _do_query_cond, _pcps_ddev_has_asic_version, and IOCTL_DEV_HAS_PCI_ASIC_VERSION.

◆ mbg_chk_dev_has_cab_len()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_cab_len ( MBG_DEV_HANDLE  dh)

Check if a device supports configuration of antenna cable length.

Note
This function should be preferred over mbg_dev_has_cab_len, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gps_ant_cable_len
mbg_set_gps_ant_cable_len

Definition at line 1903 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_CABLE_LEN.

◆ mbg_chk_dev_has_corr_info()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_corr_info ( MBG_DEV_HANDLE  dh)

Check if a device supports reading correlation info.

The PZF phase modulation decoded by DCF77 PZF receivers is decoded using a correlation approach, and optionally there's an API call supported which can be used to retrieve the correlation value and thus determine the quality of the input signal.

Note
This function should be preferred over mbg_dev_has_corr_info, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_pzf
mbg_get_corr_info

Definition at line 2030 of file mbgdevio.c.

References mbg_chk_dev_has_pzf.

◆ mbg_chk_dev_has_dac_ctrl()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_dac_ctrl ( MBG_DEV_HANDLE  dh)

Check if a device supports bus level DAC control commands.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 2134 of file mbgdevio.c.

References DEV_FEAT_TYPE_XFEAT, do_chk_dev_feat(), and MBG_XFEATURE_DAC_CTRL_PCI.

◆ mbg_chk_dev_has_debug_status()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_debug_status ( MBG_DEV_HANDLE  dh)

Check if a device provides a debug status word to be read.

Note
This function should be preferred over mbg_dev_has_debug_status, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_debug_status

Definition at line 2085 of file mbgdevio.c.

References mbg_chk_dev_is_tcr.

◆ mbg_chk_dev_has_evt_log()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_evt_log ( MBG_DEV_HANDLE  dh)

Check if a device provides an on-board event log.

Note
This function should be preferred over mbg_dev_has_evt_log, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_clr_evt_log
mbg_get_num_evt_log_entries
mbg_get_first_evt_log_entry
mbg_get_next_evt_log_entry

Definition at line 2113 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_EVT_LOG.

◆ mbg_chk_dev_has_fast_hr_timestamp()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_fast_hr_timestamp ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_fast_hr_timestamp... calls.

Note
This function should be preferred over mbg_dev_has_fast_hr_timestamp, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_fast_hr_timestamp_cycles
mbg_get_fast_hr_timestamp_comp
mbg_get_fast_hr_timestamp

Definition at line 1381 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_FAST_HR_TSTAMP.

◆ mbg_chk_dev_has_generic_io()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_generic_io ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_generic_io API call.

Warning: This call is for debugging purposes and internal use only!

Note
This function should be preferred over mbg_dev_has_generic_io, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_generic_io

Definition at line 729 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_GENERIC_IO.

◆ mbg_chk_dev_has_gpio()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_gpio ( MBG_DEV_HANDLE  dh)

Check if a device provides GPIO signal inputs and/or outputs.

Note
This function should be preferred over mbg_dev_has_gpio, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gpio_cfg_limits
mbg_get_gps_all_gpio_info
mbg_set_gps_gpio_settings_idx
mbg_get_gps_all_gpio_status

Definition at line 1877 of file mbgdevio.c.

References DEV_FEAT_TYPE_RI, do_chk_dev_feat(), and GPS_HAS_GPIO.

◆ mbg_chk_dev_has_gps_data()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_gps_data ( MBG_DEV_HANDLE  dh)

Check if a device supports large configuration data structures.

Such structures have been introduced with the first Meinberg GPS receivers. Mostly all configuration structures are large data structures, and mostly all current devices support this, but some old devices may not.

Note
This function should be preferred over mbg_dev_has_gps_data, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 702 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_GPS_DATA_16.

◆ mbg_chk_dev_has_hr_time()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_hr_time ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_hr_time... functions.

Note
This function should be preferred over mbg_dev_has_hr_time, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_hr_time
mbg_get_hr_time_cycles
mbg_get_hr_time_comp

Definition at line 1354 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_HR_TIME.

◆ mbg_chk_dev_has_irig()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig ( MBG_DEV_HANDLE  dh)

Check if a device provides either an IRIG input or output.

Note
This function should be preferred over mbg_dev_has_irig, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_tcr
mbg_chk_dev_has_irig_tx

Definition at line 1633 of file mbgdevio.c.

References _do_query_cond, _pcps_ddev_has_irig, and IOCTL_DEV_HAS_IRIG.

◆ mbg_chk_dev_has_irig_ctrl_bits()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig_ctrl_bits ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_irig_ctrl_bits call.

Note
This function should be preferred over mbg_dev_has_irig_ctrl_bits, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_ctrl_bits

Definition at line 1687 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_IRIG_CTRL_BITS.

◆ mbg_chk_dev_has_irig_time()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig_time ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_irig_time call.

Note
This function should be preferred over mbg_dev_has_irig_time, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_time

Definition at line 1738 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_IRIG_TIME.

◆ mbg_chk_dev_has_irig_tx()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_irig_tx ( MBG_DEV_HANDLE  dh)

Check if a device provides a configurable IRIG output.

Note
This function should be preferred over mbg_dev_has_irig, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_tx_info
mbg_set_irig_tx_settings
mbg_chk_dev_is_tcr
mbg_chk_dev_has_irig
IRIG time codes

Definition at line 1662 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_IRIG_TX.

◆ mbg_chk_dev_has_lan_intf()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_lan_intf ( MBG_DEV_HANDLE  dh)

Check if a device supports simple LAN interface API calls.

Note
This function should be preferred over mbg_dev_has_lan_intf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_lan_if_info
mbg_get_ip4_state
mbg_get_ip4_settings
mbg_set_ip4_settings

Definition at line 1265 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_LAN_INTF.

◆ mbg_chk_dev_has_mod()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_mod ( MBG_DEV_HANDLE  dh)

Check if a device provides a modulation signal.

Modulation signals are e.g. the second marks provided by a long wave receiver.

Note
This function should be preferred over mbg_dev_has_mod, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 1791 of file mbgdevio.c.

References _do_query_cond, _pcps_ddev_has_mod, and IOCTL_DEV_HAS_MOD.

◆ mbg_chk_dev_has_opt_flags()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_opt_flags ( MBG_DEV_HANDLE  dh)

Check if a device supports the MBG_OPT_INFO/MBG_OPT_SETTINGS.

These structures contain optional settings, controlled by flags. See MBG_OPT_SETTINGS and associated definitions.

Note
This function should be preferred over mbg_dev_has_opt_flags, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_opt_info
mbg_set_opt_settings

Definition at line 1961 of file mbgdevio.c.

References mbg_chk_dev_is_tcr.

◆ mbg_chk_dev_has_pcps_tzdl()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_pcps_tzdl ( MBG_DEV_HANDLE  dh)

Check if a device supports timezone configuration using the PCPS_TZDL structure.

Note
This function should be preferred over mbg_dev_has_pcps_tzdl, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_pcps_tzdl
mbg_set_pcps_tzdl
mbg_chk_dev_has_tz

Definition at line 1553 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_PCPS_TZDL.

◆ mbg_chk_dev_has_ptp()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ptp ( MBG_DEV_HANDLE  dh)

Check if a device supports PTP configuration/status calls.

Note
This function should be preferred over mbg_dev_has_ptp, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_all_ptp_cfg_info
mbg_get_ptp_state
mbg_get_ptp_cfg_info
mbg_set_ptp_cfg_settings
mbg_chk_dev_has_ptp_unicast

Definition at line 1294 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_PTP.

◆ mbg_chk_dev_has_ptp_unicast()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ptp_unicast ( MBG_DEV_HANDLE  dh)

Check if a device supports PTP unicast feature/configuration.

Not all devices which support PTP do also support PTP Unicast. This API call checks if PTP Unicast is supported in addition to the standard PTP multicast.

Note
This function should be preferred over mbg_dev_has_ptp_unicast, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_all_ptp_cfg_info
mbg_get_ptp_uc_master_cfg_limits
mbg_get_all_ptp_uc_master_info
mbg_set_ptp_uc_master_settings_idx
mbg_get_ptp_state

Definition at line 1327 of file mbgdevio.c.

References DEV_FEAT_TYPE_RI, do_chk_dev_feat(), and GPS_HAS_PTP_UNICAST.

◆ mbg_chk_dev_has_pzf()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_pzf ( MBG_DEV_HANDLE  dh)

Check if a device supports demodulation of the DCF77 PZF code.

Beside the enhanced PZF correlation receivers which decode the DCF77's pseudo-random phase modulation to yield a better accuracy there are also legacy DCF77 receivers which just decode the standard AM signal. See mbg_chk_dev_is_dcf.

Note
This function should be preferred over mbg_dev_has_pzf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_corr_info
mbg_chk_dev_has_tr_distance
mbg_chk_dev_is_dcf
mbg_chk_dev_is_lwr

Definition at line 1086 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_PZF.

◆ mbg_chk_dev_has_raw_irig_data()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_raw_irig_data ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_raw_irig_data call.

Note
This function should be preferred over mbg_dev_has_raw_irig_data, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_raw_irig_data
mbg_get_raw_irig_data_on_sec_change

Definition at line 1713 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_RAW_IRIG_DATA.

◆ mbg_chk_dev_has_receiver_info()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_receiver_info ( MBG_DEV_HANDLE  dh)

Check if a device supports the RECEIVER_INFO structure and related calls.

Very old devices may not provide a RECEIVER_INFO structure. The mbg_setup_receiver_info call should be used preferably to set up a RECEIVER_INFO for a device. That function uses this call to determine whether a RECEIVER_INFO can be read directly from a device, or sets up a default structure using default values depending on the device type.

Note
This function should be preferred over mbg_dev_has_receiver_info, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_setup_receiver_info
mbg_get_gps_receiver_info

Definition at line 674 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_RECEIVER_INFO.

◆ mbg_chk_dev_has_ref_offs()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ref_offs ( MBG_DEV_HANDLE  dh)

Check if a device provides a configurable ref time offset.

This may be required to convert the received time to UTC, if the input signal doesn't specify this (e.g. with most IRIG code formats).

Note
This function should be preferred over mbg_dev_has_ref_offs, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_ref_offs
mbg_set_ref_offs

Definition at line 1932 of file mbgdevio.c.

References mbg_chk_dev_is_tcr.

◆ mbg_chk_dev_has_signal()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_signal ( MBG_DEV_HANDLE  dh)

Check if a device provides the level of its inputs signal.

This is useful to display the signal level of e.g. an IRIG or similar time code, or a long wave signal.

Note
This function should be preferred over mbg_dev_has_signal, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 1765 of file mbgdevio.c.

References _do_query_cond, _pcps_ddev_has_signal, and IOCTL_DEV_HAS_SIGNAL.

◆ mbg_chk_dev_has_synth()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_synth ( MBG_DEV_HANDLE  dh)

Check if a device provides a programmable frequency synthesizer.

Note
This function should be preferred over mbg_dev_has_synth, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_synth
mbg_set_synth

Definition at line 1849 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_SYNTH.

◆ mbg_chk_dev_has_time_scale()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_time_scale ( MBG_DEV_HANDLE  dh)

Check if a device supports configurable time scales.

By default the devices return UTC and/or local time. However, some cards can be configured to return raw GPS time or TAI instead.

Note
This function should be preferred over mbg_dev_has_time_scale, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_time_scale_info
mbg_set_time_scale_settings

Definition at line 1410 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_TIME_SCALE.

◆ mbg_chk_dev_has_tr_distance()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tr_distance ( MBG_DEV_HANDLE  dh)

Check if a device supports configurable distance from transmitter.

The distance from transmitter parameter is used to compensate the RF propagation delay, mostly with long wave receivers.

Note
This function should be preferred over mbg_dev_has_tr_distance, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_pzf
mbg_get_tr_distance
mbg_set_tr_distance

Definition at line 2060 of file mbgdevio.c.

References mbg_chk_dev_has_pzf.

◆ mbg_chk_dev_has_tz()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tz ( MBG_DEV_HANDLE  dh)

Check if a device supports any kind of timezone configuration.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Note
This function should be preferred over mbg_dev_has_tz, which has been deprecated.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_tzdl
mbg_chk_dev_has_pcps_tzdl
mbg_chk_dev_has_tzcode

Definition at line 1607 of file mbgdevio.c.

References _do_query_cond, _pcps_ddev_has_tz, and IOCTL_DEV_HAS_TZ.

◆ mbg_chk_dev_has_tzcode()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tzcode ( MBG_DEV_HANDLE  dh)

Check if a device supports timezone configuration using the PCPS_TZCODE type.

Note
This function should be preferred over mbg_dev_has_tzcode, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_tzcode
mbg_set_tzcode
mbg_chk_dev_has_tz

Definition at line 1580 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_TZCODE.

◆ mbg_chk_dev_has_tzdl()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_tzdl ( MBG_DEV_HANDLE  dh)

Check if a device supports timezone configuration using the TZDL structure.

Note
This function should be preferred over mbg_dev_has_tzdl, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gps_tzdl
mbg_set_gps_tzdl
mbg_chk_dev_has_tz

Definition at line 1526 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_TZDL.

◆ mbg_chk_dev_has_ucap()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_ucap ( MBG_DEV_HANDLE  dh)

Check if a device supports the mbg_get_ucap_entries and mbg_get_ucap_event calls.

If the device doesn't support this but is a GPS card then the card provides a time capture FIFO buffer and the obsolete mbg_get_gps_ucap call can be used to retrieve entries from the FIFO buffer.

Note
This function should be preferred over mbg_dev_has_ucap, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_ucap_entries
mbg_get_ucap_event
mbg_clr_ucap_buff
mbg_get_gps_ucap

Definition at line 1470 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_UCAP.

◆ mbg_chk_dev_has_utc_parm()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_utc_parm ( MBG_DEV_HANDLE  dh)

Check if a device support reading/writing of UTC parameters.

This API call checks if a device supports reading/writing a GPS UTC parameter set via the PC bus. Reading/writing these parameters via the serial port using the Meinberg binary data protocol is supported by all Meinberg GPS and GNSS devices.

The UTC parameter set is usually received from the satellites' broadcasts and contains the current time offset between GPS time and UTC, plus information on a pending leap second event.

It may be useful to overwrite them to do some tests, or for applications where a card is freewheeling.

Note
This function should be preferred over mbg_dev_has_utc_parm, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_utc_parm
mbg_set_utc_parm

Definition at line 1999 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_HAS_UTC_PARM.

◆ mbg_chk_dev_has_xmr()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_has_xmr ( MBG_DEV_HANDLE  dh)

Check if a device provides eXtended Multi Ref (XMR) inputs.

Devices providing XMR inputs can receive or decode different timing signals in parallel, and the supported sources can be prioritized.

Note
This function should be preferred over mbg_dev_has_xmr, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_xmr_instances
mbg_get_gps_all_xmr_status
mbg_get_gps_all_xmr_info
mbg_set_gps_xmr_settings_idx
mbg_get_xmr_holdover_status

Definition at line 819 of file mbgdevio.c.

References DEV_FEAT_TYPE_RI, do_chk_dev_feat(), and GPS_HAS_XMULTI_REF.

◆ mbg_chk_dev_is_dcf()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_dcf ( MBG_DEV_HANDLE  dh)

Check if a device is a DCF77 receiver.

Beside standard DCF77 receivers which receive the legacy AM signal there are also PZF receivers which can decode the pseudo-random phase modulation and thus yield a higher accuracy. See mbg_chk_dev_has_pzf.

Note
This function should be preferred over mbg_dev_is_dcf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_pzf
mbg_chk_dev_is_lwr

Definition at line 1053 of file mbgdevio.c.

References DEV_FEAT_TYPE_REF_TYPE, do_chk_dev_feat(), and PCPS_REF_DCF.

◆ mbg_chk_dev_is_gnss()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_gnss ( MBG_DEV_HANDLE  dh)

Check if a device supports GNSS configuration.

This is usually the case if a device supports reception of different satellite systems, e.g. GPS, Glonass, Galileo, etc.

Note
This function should be preferred over mbg_dev_is_gnss, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gps_gnss_mode_info
mbg_set_gps_gnss_mode_settings
mbg_get_gps_all_gnss_sat_info

Definition at line 996 of file mbgdevio.c.

References DEV_FEAT_TYPE_PCPS, do_chk_dev_feat(), and PCPS_BIT_IS_GNSS.

◆ mbg_chk_dev_is_gps()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_gps ( MBG_DEV_HANDLE  dh)

Check if a device is a GPS receiver.

The function also returns MBG_SUCCESS for GNSS receivers which can track GPS satellites beside other GNSS systems.

Note
This function should be preferred over mbg_dev_is_gps, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 1023 of file mbgdevio.c.

References DEV_FEAT_TYPE_REF_TYPE, do_chk_dev_feat(), and PCPS_REF_GPS.

◆ mbg_chk_dev_is_isa()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_isa ( MBG_DEV_HANDLE  dh)

Check if the device is connected via the ISA bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the ISA bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 870 of file mbgdevio.c.

References chk_bus_flags(), and PCPS_BUS_ISA.

◆ mbg_chk_dev_is_jjy()

int mbg_chk_dev_is_jjy ( MBG_DEV_HANDLE  dh)

Check if a device is a JJY receiver.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_lwr

Definition at line 1158 of file mbgdevio.c.

References DEV_FEAT_TYPE_REF_TYPE, do_chk_dev_feat(), and PCPS_REF_JJY.

Referenced by mbg_chk_dev_is_lwr().

◆ mbg_chk_dev_is_lwr()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_lwr ( MBG_DEV_HANDLE  dh)

Check if a device is any long wave signal receiver.

Long wave receivers include e.g. DCF77, MSF, WWVB, or JJY.

Note
This function should be preferred over mbg_dev_is_lwr, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_dcf
mbg_chk_dev_is_msf
mbg_chk_dev_is_wwvb
mbg_chk_dev_is_jjy

Definition at line 1188 of file mbgdevio.c.

References mbg_chk_dev_is_dcf, mbg_chk_dev_is_jjy(), mbg_chk_dev_is_msf, mbg_chk_dev_is_wwvb(), and mbg_rc_is_success.

◆ mbg_chk_dev_is_mca()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_mca ( MBG_DEV_HANDLE  dh)

Check if the device is connected via the MCA bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the MCA bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 891 of file mbgdevio.c.

References chk_bus_flags(), and PCPS_BUS_MCA.

◆ mbg_chk_dev_is_msf()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_msf ( MBG_DEV_HANDLE  dh)

Check if a device is a MSF receiver.

Note
This function should be preferred over mbg_dev_is_msf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_lwr

Definition at line 1111 of file mbgdevio.c.

References DEV_FEAT_TYPE_REF_TYPE, do_chk_dev_feat(), and PCPS_REF_MSF.

◆ mbg_chk_dev_is_pci()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_pci ( MBG_DEV_HANDLE  dh)

Check if the device is connected via the PCI bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the PCI bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 912 of file mbgdevio.c.

References chk_bus_flags(), and PCPS_BUS_PCI.

◆ mbg_chk_dev_is_pci_express()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_pci_express ( MBG_DEV_HANDLE  dh)

Check if the device is connected via the PCI Express bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the PCI Express bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 933 of file mbgdevio.c.

References PCPS_DEV_TYPE::bus_flags, MBG_ERR_NOT_SUPP_BY_DEV, mbg_get_device_info(), mbg_rc_is_error, MBG_SUCCESS, PCPS_BUS_PCI_MBGPEX, PCPS_BUS_PCI_PEX8311, and PCPS_DEV::type.

◆ mbg_chk_dev_is_tcr()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_tcr ( MBG_DEV_HANDLE  dh)

Check if a device provides a configurable IRIG input.

Note
This function should be preferred over mbg_dev_is_irig_rx, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_rx_info
mbg_set_irig_rx_settings
mbg_chk_dev_has_irig_tx
mbg_chk_dev_has_irig

Definition at line 1237 of file mbgdevio.c.

References DEV_FEAT_TYPE_REF_TYPE, do_chk_dev_feat(), and PCPS_REF_IRIG.

◆ mbg_chk_dev_is_usb()

_MBG_API_ATTR int _MBG_API mbg_chk_dev_is_usb ( MBG_DEV_HANDLE  dh)

Check if the device is connected via the USB bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the USB bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 966 of file mbgdevio.c.

References chk_bus_flags(), and PCPS_BUS_USB.

◆ mbg_chk_dev_is_wwvb()

int mbg_chk_dev_is_wwvb ( MBG_DEV_HANDLE  dh)

Check if a device is a WWVB receiver.

Note
This function should be preferred over mbg_dev_is_wwvb, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_lwr

Definition at line 1136 of file mbgdevio.c.

References DEV_FEAT_TYPE_REF_TYPE, do_chk_dev_feat(), and PCPS_REF_WWVB.

Referenced by mbg_chk_dev_is_lwr(), and mbg_dev_is_wwvb().

Variable Documentation

◆ mbg_chk_dev_can_clr_ucap_buff

int mbg_chk_dev_can_clr_ucap_buff

Check if a device supports the mbg_clr_ucap_buff call.

The mbg_clr_ucap_buff call can be used to clear a device's on-board time capture FIFO buffer, but the call may not be supported by some older GPS devices.

Note
This function should be preferred over mbg_dev_can_clr_ucap_buff, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_clr_ucap_buff

Definition at line 1505 of file mbgdevio.c.

Referenced by mbg_dev_can_clr_ucap_buff().

◆ mbg_chk_dev_has_asic_features

int mbg_chk_dev_has_asic_features

Check if a device supports the mbg_get_asic_features call.

If mbg_get_asic_features is supported, or not, depends on the bus interface chip assembled on the device.

Note
This function should be preferred over mbg_dev_has_asic_features, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_asic_features

Definition at line 793 of file mbgdevio.c.

Referenced by mbg_dev_has_asic_features(), and setup_asic_features().

◆ mbg_chk_dev_has_asic_version

int mbg_chk_dev_has_asic_version

Check if a device supports the mbg_get_asic_version API call.

If mbg_get_asic_version is supported, or not, depends on the bus interface chip assembled on the device.

Note
This function should be preferred over mbg_dev_has_asic_version, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_asic_version

Definition at line 764 of file mbgdevio.c.

Referenced by mbg_dev_has_asic_version(), and setup_device_type_name().

◆ mbg_chk_dev_has_cab_len

int mbg_chk_dev_has_cab_len

Check if a device supports configuration of antenna cable length.

Note
This function should be preferred over mbg_dev_has_cab_len, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gps_ant_cable_len
mbg_set_gps_ant_cable_len

Definition at line 1909 of file mbgdevio.c.

Referenced by mbg_dev_has_cab_len().

◆ mbg_chk_dev_has_corr_info

int mbg_chk_dev_has_corr_info

Check if a device supports reading correlation info.

The PZF phase modulation decoded by DCF77 PZF receivers is decoded using a correlation approach, and optionally there's an API call supported which can be used to retrieve the correlation value and thus determine the quality of the input signal.

Note
This function should be preferred over mbg_dev_has_corr_info, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_pzf
mbg_get_corr_info

Definition at line 2036 of file mbgdevio.c.

Referenced by mbg_dev_has_corr_info().

◆ mbg_chk_dev_has_dac_ctrl

int mbg_chk_dev_has_dac_ctrl

Check if a device supports bus level DAC control commands.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 2140 of file mbgdevio.c.

◆ mbg_chk_dev_has_debug_status

int mbg_chk_dev_has_debug_status

Check if a device provides a debug status word to be read.

Note
This function should be preferred over mbg_dev_has_debug_status, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_debug_status

Definition at line 2091 of file mbgdevio.c.

Referenced by mbg_dev_has_debug_status().

◆ mbg_chk_dev_has_evt_log

int mbg_chk_dev_has_evt_log

Check if a device provides an on-board event log.

Note
This function should be preferred over mbg_dev_has_evt_log, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_clr_evt_log
mbg_get_num_evt_log_entries
mbg_get_first_evt_log_entry
mbg_get_next_evt_log_entry

Definition at line 2119 of file mbgdevio.c.

Referenced by mbg_dev_has_evt_log().

◆ mbg_chk_dev_has_fast_hr_timestamp

int mbg_chk_dev_has_fast_hr_timestamp

Check if a device supports the mbg_get_fast_hr_timestamp... calls.

Note
This function should be preferred over mbg_dev_has_fast_hr_timestamp, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_fast_hr_timestamp_cycles
mbg_get_fast_hr_timestamp_comp
mbg_get_fast_hr_timestamp

Definition at line 1387 of file mbgdevio.c.

Referenced by chk_fast_tstamp_supp(), do_mbgfasttstamp(), and mbg_dev_has_fast_hr_timestamp().

◆ mbg_chk_dev_has_generic_io

int mbg_chk_dev_has_generic_io

Check if a device supports the mbg_generic_io API call.

Warning: This call is for debugging purposes and internal use only!

Note
This function should be preferred over mbg_dev_has_generic_io, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_generic_io

Definition at line 735 of file mbgdevio.c.

Referenced by mbg_dev_has_generic_io().

◆ mbg_chk_dev_has_gpio

int mbg_chk_dev_has_gpio

Check if a device provides GPIO signal inputs and/or outputs.

Note
This function should be preferred over mbg_dev_has_gpio, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gpio_cfg_limits
mbg_get_gps_all_gpio_info
mbg_set_gps_gpio_settings_idx
mbg_get_gps_all_gpio_status

Definition at line 1883 of file mbgdevio.c.

Referenced by mbg_dev_has_gpio(), and mbg_get_all_ucap_info().

◆ mbg_chk_dev_has_gps_data

int mbg_chk_dev_has_gps_data

Check if a device supports large configuration data structures.

Such structures have been introduced with the first Meinberg GPS receivers. Mostly all configuration structures are large data structures, and mostly all current devices support this, but some old devices may not.

Note
This function should be preferred over mbg_dev_has_gps_data, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 708 of file mbgdevio.c.

Referenced by mbg_dev_has_gps_data().

◆ mbg_chk_dev_has_hr_time

int mbg_chk_dev_has_hr_time

Check if a device supports the mbg_get_hr_time... functions.

Note
This function should be preferred over mbg_dev_has_hr_time, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_hr_time
mbg_get_hr_time_cycles
mbg_get_hr_time_comp

Definition at line 1360 of file mbgdevio.c.

Referenced by do_mbghrtime(), do_mbgsetsystime(), mbg_dev_has_hr_time(), mbg_get_default_cycles_frequency_from_dev(), and mbg_set_current_process_affinity_to_cpu().

◆ mbg_chk_dev_has_irig

int mbg_chk_dev_has_irig

Check if a device provides either an IRIG input or output.

Note
This function should be preferred over mbg_dev_has_irig, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_tcr
mbg_chk_dev_has_irig_tx

Definition at line 1639 of file mbgdevio.c.

Referenced by mbg_dev_has_irig().

◆ mbg_chk_dev_has_irig_ctrl_bits

int mbg_chk_dev_has_irig_ctrl_bits

Check if a device supports the mbg_get_irig_ctrl_bits call.

Note
This function should be preferred over mbg_dev_has_irig_ctrl_bits, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_ctrl_bits

Definition at line 1693 of file mbgdevio.c.

Referenced by mbg_dev_has_irig_ctrl_bits().

◆ mbg_chk_dev_has_irig_time

int mbg_chk_dev_has_irig_time

Check if a device supports the mbg_get_irig_time call.

Note
This function should be preferred over mbg_dev_has_irig_time, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_time

Definition at line 1744 of file mbgdevio.c.

Referenced by mbg_dev_has_irig_time().

◆ mbg_chk_dev_has_irig_tx

int mbg_chk_dev_has_irig_tx

Check if a device provides a configurable IRIG output.

Note
This function should be preferred over mbg_dev_has_irig, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_tx_info
mbg_set_irig_tx_settings
mbg_chk_dev_is_tcr
mbg_chk_dev_has_irig
IRIG time codes

Definition at line 1668 of file mbgdevio.c.

Referenced by mbg_dev_has_irig_tx().

◆ mbg_chk_dev_has_lan_intf

int mbg_chk_dev_has_lan_intf

Check if a device supports simple LAN interface API calls.

Note
This function should be preferred over mbg_dev_has_lan_intf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_lan_if_info
mbg_get_ip4_state
mbg_get_ip4_settings
mbg_set_ip4_settings

Definition at line 1271 of file mbgdevio.c.

Referenced by do_mbgstatus(), mbg_dev_has_lan_intf(), mbg_get_all_net_cfg_info(), mbg_get_all_net_status_info(), and mbg_save_all_net_cfg_info().

◆ mbg_chk_dev_has_mod

int mbg_chk_dev_has_mod

Check if a device provides a modulation signal.

Modulation signals are e.g. the second marks provided by a long wave receiver.

Note
This function should be preferred over mbg_dev_has_mod, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 1797 of file mbgdevio.c.

Referenced by do_mbgshowsignal(), and mbg_dev_has_mod().

◆ mbg_chk_dev_has_opt_flags

int mbg_chk_dev_has_opt_flags

Check if a device supports the MBG_OPT_INFO/MBG_OPT_SETTINGS.

These structures contain optional settings, controlled by flags. See MBG_OPT_SETTINGS and associated definitions.

Note
This function should be preferred over mbg_dev_has_opt_flags, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_opt_info
mbg_set_opt_settings

Definition at line 1967 of file mbgdevio.c.

Referenced by mbg_dev_has_opt_flags().

◆ mbg_chk_dev_has_pcps_tzdl

int mbg_chk_dev_has_pcps_tzdl

Check if a device supports timezone configuration using the PCPS_TZDL structure.

Note
This function should be preferred over mbg_dev_has_pcps_tzdl, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_pcps_tzdl
mbg_set_pcps_tzdl
mbg_chk_dev_has_tz

Definition at line 1559 of file mbgdevio.c.

Referenced by mbg_dev_has_pcps_tzdl().

◆ mbg_chk_dev_has_ptp

int mbg_chk_dev_has_ptp

Check if a device supports PTP configuration/status calls.

Note
This function should be preferred over mbg_dev_has_ptp, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_all_ptp_cfg_info
mbg_get_ptp_state
mbg_get_ptp_cfg_info
mbg_set_ptp_cfg_settings
mbg_chk_dev_has_ptp_unicast

Definition at line 1300 of file mbgdevio.c.

Referenced by mbg_dev_has_ptp().

◆ mbg_chk_dev_has_ptp_unicast

int mbg_chk_dev_has_ptp_unicast

Check if a device supports PTP unicast feature/configuration.

Not all devices which support PTP do also support PTP Unicast. This API call checks if PTP Unicast is supported in addition to the standard PTP multicast.

Note
This function should be preferred over mbg_dev_has_ptp_unicast, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_all_ptp_cfg_info
mbg_get_ptp_uc_master_cfg_limits
mbg_get_all_ptp_uc_master_info
mbg_set_ptp_uc_master_settings_idx
mbg_get_ptp_state

Definition at line 1333 of file mbgdevio.c.

Referenced by mbg_dev_has_ptp_unicast().

◆ mbg_chk_dev_has_pzf

int mbg_chk_dev_has_pzf

Check if a device supports demodulation of the DCF77 PZF code.

Beside the enhanced PZF correlation receivers which decode the DCF77's pseudo-random phase modulation to yield a better accuracy there are also legacy DCF77 receivers which just decode the standard AM signal. See mbg_chk_dev_is_dcf.

Note
This function should be preferred over mbg_dev_has_pzf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_corr_info
mbg_chk_dev_has_tr_distance
mbg_chk_dev_is_dcf
mbg_chk_dev_is_lwr

Definition at line 1092 of file mbgdevio.c.

Referenced by mbg_chk_dev_has_corr_info(), mbg_chk_dev_has_tr_distance(), mbg_dev_has_pzf(), and show_modulation().

◆ mbg_chk_dev_has_raw_irig_data

int mbg_chk_dev_has_raw_irig_data

Check if a device supports the mbg_get_raw_irig_data call.

Note
This function should be preferred over mbg_dev_has_raw_irig_data, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_raw_irig_data
mbg_get_raw_irig_data_on_sec_change

Definition at line 1719 of file mbgdevio.c.

Referenced by do_mbgstatus(), and mbg_dev_has_raw_irig_data().

◆ mbg_chk_dev_has_receiver_info

int mbg_chk_dev_has_receiver_info

Check if a device supports the RECEIVER_INFO structure and related calls.

Very old devices may not provide a RECEIVER_INFO structure. The mbg_setup_receiver_info call should be used preferably to set up a RECEIVER_INFO for a device. That function uses this call to determine whether a RECEIVER_INFO can be read directly from a device, or sets up a default structure using default values depending on the device type.

Note
This function should be preferred over mbg_dev_has_receiver_info, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_setup_receiver_info
mbg_get_gps_receiver_info

Definition at line 680 of file mbgdevio.c.

Referenced by mbg_dev_has_receiver_info().

◆ mbg_chk_dev_has_ref_offs

int mbg_chk_dev_has_ref_offs

Check if a device provides a configurable ref time offset.

This may be required to convert the received time to UTC, if the input signal doesn't specify this (e.g. with most IRIG code formats).

Note
This function should be preferred over mbg_dev_has_ref_offs, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_ref_offs
mbg_set_ref_offs

Definition at line 1938 of file mbgdevio.c.

Referenced by mbg_dev_has_ref_offs().

◆ mbg_chk_dev_has_signal

int mbg_chk_dev_has_signal

Check if a device provides the level of its inputs signal.

This is useful to display the signal level of e.g. an IRIG or similar time code, or a long wave signal.

Note
This function should be preferred over mbg_dev_has_signal, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 1771 of file mbgdevio.c.

Referenced by mbg_dev_has_signal().

◆ mbg_chk_dev_has_synth

int mbg_chk_dev_has_synth

Check if a device provides a programmable frequency synthesizer.

Note
This function should be preferred over mbg_dev_has_synth, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_synth
mbg_set_synth

Definition at line 1855 of file mbgdevio.c.

Referenced by mbg_dev_has_synth().

◆ mbg_chk_dev_has_time_scale

int mbg_chk_dev_has_time_scale

Check if a device supports configurable time scales.

By default the devices return UTC and/or local time. However, some cards can be configured to return raw GPS time or TAI instead.

Note
This function should be preferred over mbg_dev_has_time_scale, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_time_scale_info
mbg_set_time_scale_settings

Definition at line 1416 of file mbgdevio.c.

Referenced by get_n_time_scale(), and mbg_dev_has_time_scale().

◆ mbg_chk_dev_has_tr_distance

int mbg_chk_dev_has_tr_distance

Check if a device supports configurable distance from transmitter.

The distance from transmitter parameter is used to compensate the RF propagation delay, mostly with long wave receivers.

Note
This function should be preferred over mbg_dev_has_tr_distance, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_pzf
mbg_get_tr_distance
mbg_set_tr_distance

Definition at line 2066 of file mbgdevio.c.

Referenced by mbg_dev_has_tr_distance().

◆ mbg_chk_dev_has_tz

int mbg_chk_dev_has_tz

Check if a device supports any kind of timezone configuration.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Note
This function should be preferred over mbg_dev_has_tz, which has been deprecated.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_tzdl
mbg_chk_dev_has_pcps_tzdl
mbg_chk_dev_has_tzcode

Definition at line 1613 of file mbgdevio.c.

Referenced by mbg_dev_has_tz().

◆ mbg_chk_dev_has_tzcode

int mbg_chk_dev_has_tzcode

Check if a device supports timezone configuration using the PCPS_TZCODE type.

Note
This function should be preferred over mbg_dev_has_tzcode, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_tzcode
mbg_set_tzcode
mbg_chk_dev_has_tz

Definition at line 1586 of file mbgdevio.c.

Referenced by mbg_dev_has_tzcode().

◆ mbg_chk_dev_has_tzdl

int mbg_chk_dev_has_tzdl

Check if a device supports timezone configuration using the TZDL structure.

Note
This function should be preferred over mbg_dev_has_tzdl, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gps_tzdl
mbg_set_gps_tzdl
mbg_chk_dev_has_tz

Definition at line 1532 of file mbgdevio.c.

Referenced by mbg_dev_has_tzdl().

◆ mbg_chk_dev_has_ucap

int mbg_chk_dev_has_ucap

Check if a device supports the mbg_get_ucap_entries and mbg_get_ucap_event calls.

If the device doesn't support this but is a GPS card then the card provides a time capture FIFO buffer and the obsolete mbg_get_gps_ucap call can be used to retrieve entries from the FIFO buffer.

Note
This function should be preferred over mbg_dev_has_ucap, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_ucap_entries
mbg_get_ucap_event
mbg_clr_ucap_buff
mbg_get_gps_ucap

Definition at line 1476 of file mbgdevio.c.

Referenced by mbg_dev_has_ucap().

◆ mbg_chk_dev_has_utc_parm

int mbg_chk_dev_has_utc_parm

Check if a device support reading/writing of UTC parameters.

This API call checks if a device supports reading/writing a GPS UTC parameter set via the PC bus. Reading/writing these parameters via the serial port using the Meinberg binary data protocol is supported by all Meinberg GPS and GNSS devices.

The UTC parameter set is usually received from the satellites' broadcasts and contains the current time offset between GPS time and UTC, plus information on a pending leap second event.

It may be useful to overwrite them to do some tests, or for applications where a card is freewheeling.

Note
This function should be preferred over mbg_dev_has_utc_parm, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_utc_parm
mbg_set_utc_parm

Definition at line 2005 of file mbgdevio.c.

Referenced by mbg_dev_has_utc_parm().

◆ mbg_chk_dev_has_xmr

int mbg_chk_dev_has_xmr

Check if a device provides eXtended Multi Ref (XMR) inputs.

Devices providing XMR inputs can receive or decode different timing signals in parallel, and the supported sources can be prioritized.

Note
This function should be preferred over mbg_dev_has_xmr, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_xmr_instances
mbg_get_gps_all_xmr_status
mbg_get_gps_all_xmr_info
mbg_set_gps_xmr_settings_idx
mbg_get_xmr_holdover_status

Definition at line 825 of file mbgdevio.c.

Referenced by mbg_dev_has_xmr(), and mbg_get_all_ucap_info().

◆ mbg_chk_dev_is_dcf

int mbg_chk_dev_is_dcf

Check if a device is a DCF77 receiver.

Beside standard DCF77 receivers which receive the legacy AM signal there are also PZF receivers which can decode the pseudo-random phase modulation and thus yield a higher accuracy. See mbg_chk_dev_has_pzf.

Note
This function should be preferred over mbg_dev_is_dcf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_has_pzf
mbg_chk_dev_is_lwr

Definition at line 1059 of file mbgdevio.c.

Referenced by mbg_chk_dev_is_lwr(), and mbg_dev_is_dcf().

◆ mbg_chk_dev_is_gnss

int mbg_chk_dev_is_gnss

Check if a device supports GNSS configuration.

This is usually the case if a device supports reception of different satellite systems, e.g. GPS, Glonass, Galileo, etc.

Note
This function should be preferred over mbg_dev_is_gnss, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_gps_gnss_mode_info
mbg_set_gps_gnss_mode_settings
mbg_get_gps_all_gnss_sat_info

Definition at line 1002 of file mbgdevio.c.

Referenced by mbg_chk_get_all_gnss_info(), and mbg_dev_is_gnss().

◆ mbg_chk_dev_is_gps

int mbg_chk_dev_is_gps

Check if a device is a GPS receiver.

The function also returns MBG_SUCCESS for GNSS receivers which can track GPS satellites beside other GNSS systems.

Note
This function should be preferred over mbg_dev_is_gps, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES

Definition at line 1029 of file mbgdevio.c.

Referenced by mbg_chk_get_all_gnss_info(), mbg_dev_is_gps(), and show_ext_stat_info().

◆ mbg_chk_dev_is_isa

int mbg_chk_dev_is_isa

Check if the device is connected via the ISA bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the ISA bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 876 of file mbgdevio.c.

◆ mbg_chk_dev_is_lwr

int mbg_chk_dev_is_lwr

Check if a device is any long wave signal receiver.

Long wave receivers include e.g. DCF77, MSF, WWVB, or JJY.

Note
This function should be preferred over mbg_dev_is_lwr, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_dcf
mbg_chk_dev_is_msf
mbg_chk_dev_is_wwvb
mbg_chk_dev_is_jjy

Definition at line 1215 of file mbgdevio.c.

Referenced by mbg_dev_is_lwr().

◆ mbg_chk_dev_is_mca

int mbg_chk_dev_is_mca

Check if the device is connected via the MCA bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the MCA bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 897 of file mbgdevio.c.

◆ mbg_chk_dev_is_msf

int mbg_chk_dev_is_msf

Check if a device is a MSF receiver.

Note
This function should be preferred over mbg_dev_is_msf, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_chk_dev_is_lwr

Definition at line 1117 of file mbgdevio.c.

Referenced by mbg_chk_dev_is_lwr(), and mbg_dev_is_msf().

◆ mbg_chk_dev_is_pci

int mbg_chk_dev_is_pci

Check if the device is connected via the PCI bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the PCI bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 918 of file mbgdevio.c.

◆ mbg_chk_dev_is_pci_express

int mbg_chk_dev_is_pci_express

Check if the device is connected via the PCI Express bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the PCI Express bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 951 of file mbgdevio.c.

◆ mbg_chk_dev_is_tcr

int mbg_chk_dev_is_tcr

Check if a device provides a configurable IRIG input.

Note
This function should be preferred over mbg_dev_is_irig_rx, which has been deprecated.
Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the requested feature is supported, MBG_ERR_NOT_SUPP_BY_DEV if not supported, or one of the other MBG_ERROR_CODES
See also
mbg_get_irig_rx_info
mbg_set_irig_rx_settings
mbg_chk_dev_has_irig_tx
mbg_chk_dev_has_irig

Definition at line 1243 of file mbgdevio.c.

Referenced by mbg_chk_dev_has_debug_status(), mbg_chk_dev_has_opt_flags(), mbg_chk_dev_has_ref_offs(), and mbg_dev_is_irig_rx().

◆ mbg_chk_dev_is_usb

int mbg_chk_dev_is_usb

Check if the device is connected via the USB bus.

Parameters
[in]dhValid MBG_DEV_HANDLE handle to a Meinberg device.
Returns
MBG_SUCCESS if the device is connected via the USB bus, else MBG_ERR_NOT_SUPP_BY_DEV

Definition at line 972 of file mbgdevio.c.