478 #if !_IS_MBG_FIRMWARE 488 #if defined( MBG_TGT_WIN32 ) 490 #elif defined( MBG_TGT_POSIX ) 496 #define _USE_MUTEX 0 // not used by default 501 #ifndef _USE_SOCKET_IO 502 #define _USE_SOCKET_IO 0 // not supported by default 506 #ifndef _USE_SERIAL_IO 508 #define _USE_SERIAL_IO 0 // firmware provides its own serial I/O functions 510 #define _USE_SERIAL_IO 1 // supported by default 514 #ifndef _USE_SERIAL_IO_FTDI 516 #define _USE_SERIAL_IO_FTDI 0 // not supported by default 520 #if defined( MBG_TGT_LINUX ) 521 #ifndef _USE_USB_IO // may be overridden by project settings 522 #define _USE_USB_IO 0 // not supported by default 527 #define _USE_USB_IO 0 // not supported by default 535 #if defined( MBG_TGT_LINUX ) 536 #ifndef _USE_USB_DIRECT_IO 537 #define _USE_USB_DIRECT_IO 0 // Not supported by default 541 #define _USE_USB_DIRECT_IO 0 // Not supported by default 545 #ifndef _HAS_SSH_DATA 546 #define _HAS_SSH_DATA 0 554 #undef _USE_ENCRYPTION 555 #define _USE_ENCRYPTION 1 557 #if _USE_SSH_ENCRYPTION 558 #include <libssh/libssh.h> 562 #define _HAS_SSH_DATA 1 564 typedef struct ssh_data
577 int (*key_prompt)(
struct ssh_data*, int );
578 int (*login_prompt)(
struct ssh_data*, int );
587 #ifndef _USE_ENCRYPTION 588 #define _USE_ENCRYPTION 0 598 #ifndef _USE_PCPSDEFS 602 #define _USE_PCPSDEFS 1 604 #define _USE_PCPSDEFS 0 608 #define _USE_PCPSDEFS 1 613 #ifndef _USE_TIME_MON 614 #define _USE_TIME_MON 0 620 #define _USE_GPSPRIV _IS_MBG_FIRMWARE 624 #ifndef _USE_GPSSERIO_FNC 626 #define _USE_GPSSERIO_FNC ( !_IS_MBG_FIRMWARE ) 629 #ifndef _USE_RCV_TSTAMP 630 #define _USE_RCV_TSTAMP ( !_IS_MBG_FIRMWARE ) 642 #if _USE_SERIAL_IO_FTDI 646 #define FT_STATUS int 650 #include <mbgusbio.h> 654 #if defined( MBG_TGT_POSIX ) 655 #include <netinet/in.h> 660 #include <secudefs.h> 668 #if _USE_TIME_MON && defined( _PRELIMINARY_CODE ) 669 #include <time_mon.h> 670 #else // dummy declarations to avoid compiler errors with function prototypes 687 #if _USE_RCV_TSTAMP || defined( _DEBUG_MSG_TIMING ) 732 #define START_OF_HEADER 0x01 745 #define GPS_CTRL_MSK 0xF000 754 #define GPS_WILDCARD ( (GPS_CMD) -1 ) 762 #define GPS_ANY_PUSH_CMD ( (GPS_CMD) -2 ) 1020 #if defined( _PRELIMINARY_CODE ) 1028 #endif // defined( _PRELIMINARY_CODE ) 1034 #if !defined( MBG_TGT_DOS ) 1044 #define GPS_CMD_CODES_TABLE \ 1046 _mbg_cn_table_entry( GPS_WILDCARD ), \ 1047 _mbg_cn_table_entry( GPS_AUTO_ON ), \ 1048 _mbg_cn_table_entry( GPS_AUTO_OFF ), \ 1049 _mbg_cn_table_entry( GPS_SW_REV ), \ 1050 _mbg_cn_table_entry( GPS_BVAR_STAT ), \ 1051 _mbg_cn_table_entry( GPS_TIME ), \ 1052 _mbg_cn_table_entry( GPS_POS_XYZ ), \ 1053 _mbg_cn_table_entry( GPS_POS_LLA ), \ 1054 _mbg_cn_table_entry( GPS_TZDL ), \ 1055 _mbg_cn_table_entry( GPS_PORT_PARM ), \ 1056 _mbg_cn_table_entry( GPS_SYNTH ), \ 1057 _mbg_cn_table_entry( GPS_ANT_INFO ), \ 1058 _mbg_cn_table_entry( GPS_UCAP ), \ 1059 _mbg_cn_table_entry( GPS_ENABLE_FLAGS ), \ 1060 _mbg_cn_table_entry( GPS_STAT_INFO ), \ 1061 _mbg_cn_table_entry( GPS_SWITCH_PARMS ), \ 1062 _mbg_cn_table_entry( GPS_STRING_PARMS ), \ 1063 _mbg_cn_table_entry( GPS_ANT_CABLE_LENGTH ), \ 1064 _mbg_cn_table_entry( GPS_SYNC_OUTAGE_DELAY ), \ 1065 _mbg_cn_table_entry( GPS_PULSE_INFO ), \ 1066 _mbg_cn_table_entry( GPS_OPT_FEATURES ), \ 1067 _mbg_cn_table_entry( GPS_IRIG_TX_SETTINGS ), \ 1068 _mbg_cn_table_entry( GPS_RECEIVER_INFO ), \ 1069 _mbg_cn_table_entry( GPS_STR_TYPE_INFO_IDX ), \ 1070 _mbg_cn_table_entry( GPS_PORT_INFO_IDX ), \ 1071 _mbg_cn_table_entry( GPS_PORT_SETTINGS_IDX ), \ 1072 _mbg_cn_table_entry( GPS_POUT_INFO_IDX ), \ 1073 _mbg_cn_table_entry( GPS_POUT_SETTINGS_IDX ), \ 1074 _mbg_cn_table_entry( GPS_IRIG_TX_INFO ), \ 1075 _mbg_cn_table_entry( GPS_MULTI_REF_SETTINGS ), \ 1076 _mbg_cn_table_entry( GPS_MULTI_REF_INFO ), \ 1077 _mbg_cn_table_entry( GPS_ROM_CSUM ), \ 1078 _mbg_cn_table_entry( GPS_MULTI_REF_STATUS ), \ 1079 _mbg_cn_table_entry( GPS_RCV_TIMEOUT ), \ 1080 _mbg_cn_table_entry( GPS_IGNORE_LOCK ), \ 1081 _mbg_cn_table_entry( GPS_IRIG_RX_SETTINGS ), \ 1082 _mbg_cn_table_entry( GPS_IRIG_RX_INFO ), \ 1083 _mbg_cn_table_entry( GPS_REF_OFFS ), \ 1084 _mbg_cn_table_entry( GPS_DEBUG_STATUS ), \ 1085 _mbg_cn_table_entry( GPS_XMR_SETTINGS_IDX ), \ 1086 _mbg_cn_table_entry( GPS_XMR_INFO_IDX ), \ 1087 _mbg_cn_table_entry( GPS_XMR_STATUS_IDX ), \ 1088 _mbg_cn_table_entry( GPS_OPT_SETTINGS ), \ 1089 _mbg_cn_table_entry( GPS_OPT_INFO ), \ 1090 _mbg_cn_table_entry( GPS_CLR_UCAP_BUFF ), \ 1091 _mbg_cn_table_entry( GPS_TIME_SCALE ), \ 1092 _mbg_cn_table_entry( GPS_NAV_ENG_SETTINGS ), \ 1093 _mbg_cn_table_entry( GPS_RAW_IRIG_DATA ), \ 1094 _mbg_cn_table_entry( GPS_GPIO_CFG_LIMITS ), \ 1095 _mbg_cn_table_entry( GPS_GPIO_INFO_IDX ), \ 1096 _mbg_cn_table_entry( GPS_GPIO_SETTINGS_IDX ), \ 1097 _mbg_cn_table_entry( GPS_XMR_INSTANCES ), \ 1098 _mbg_cn_table_entry( GPS_CLR_EVT_LOG ), \ 1099 _mbg_cn_table_entry( GPS_NUM_EVT_LOG_ENTRIES ), \ 1100 _mbg_cn_table_entry( GPS_FIRST_EVT_LOG_ENTRY ), \ 1101 _mbg_cn_table_entry( GPS_NEXT_EVT_LOG_ENTRY ), \ 1102 _mbg_cn_table_entry( GPS_LNO_STATUS ), \ 1103 _mbg_cn_table_entry( GPS_IMS_STATE ), \ 1104 _mbg_cn_table_entry( GPS_IMS_SENSOR_STATE_IDX ), \ 1105 _mbg_cn_table_entry( GPS_XMR_HOLDOVER_INTV ), \ 1106 _mbg_cn_table_entry( GPS_HAVEQUICK_RX_SETTINGS ), \ 1107 _mbg_cn_table_entry( GPS_HAVEQUICK_RX_INFO ), \ 1108 _mbg_cn_table_entry( GPS_HAVEQUICK_TX_SETTINGS ), \ 1109 _mbg_cn_table_entry( GPS_HAVEQUICK_TX_INFO ), \ 1110 _mbg_cn_table_entry( GPS_PTP_CFG ), \ 1111 _mbg_cn_table_entry( GPS_PTP_STATE ), \ 1112 _mbg_cn_table_entry( GPS_PTP_UC_MASTER_CFG_LIMITS ), \ 1113 _mbg_cn_table_entry( GPS_PTP_UC_MASTER_CFG ), \ 1114 _mbg_cn_table_entry( GPS_NTP_GLB_CFG ), \ 1115 _mbg_cn_table_entry( GPS_NTP_CLNT_MODE_CFG ), \ 1116 _mbg_cn_table_entry( GPS_NTP_SRV_MODE_CFG ), \ 1117 _mbg_cn_table_entry( GPS_NTP_PEER_SETTINGS_IDX ), \ 1118 _mbg_cn_table_entry( GPS_NTP_SYS_STATE ), \ 1119 _mbg_cn_table_entry( GPS_NTP_PEER_STATE_IDX ), \ 1120 _mbg_cn_table_entry( GPS_SHS ), \ 1121 _mbg_cn_table_entry( GPS_SHS_STATUS ), \ 1122 _mbg_cn_table_entry( GPS_NET_GLB_CFG ), \ 1123 _mbg_cn_table_entry( GPS_NET_DNS_SRVR ), \ 1124 _mbg_cn_table_entry( GPS_NET_DNS_SRCH_DOM ), \ 1125 _mbg_cn_table_entry( GPS_NET_STAT_DNS_SRVR ), \ 1126 _mbg_cn_table_entry( GPS_NET_STAT_DNS_SRCH_DOM ), \ 1127 _mbg_cn_table_entry( GPS_GNSS_SAT_INFO_IDX ), \ 1128 _mbg_cn_table_entry( GPS_XMR_HOLDOVER_ELAPSED ), \ 1129 _mbg_cn_table_entry( GPS_GPIO_STATUS_IDX ), \ 1130 _mbg_cn_table_entry( GPS_XMR_HOLDOVER_STATUS ), \ 1131 _mbg_cn_table_entry( GPS_XBP_LIMITS ), \ 1132 _mbg_cn_table_entry( GPS_XBP_NODE_LIMITS ), \ 1133 _mbg_cn_table_entry( GPS_XBP_NODE_INFO_IDX ), \ 1134 _mbg_cn_table_entry( GPS_FDM_OUTPUT_STATE_IDX ), \ 1135 _mbg_cn_table_entry( GPS_FDM_OUTPUT_SETTINGS_IDX ), \ 1136 _mbg_cn_table_entry( GPS_FDM_OUTPUT_INFO_IDX ), \ 1137 _mbg_cn_table_entry( GPS_FDM_LIMITS ), \ 1138 _mbg_cn_table_entry( GPS_FDM_STATE ), \ 1139 _mbg_cn_table_entry( GPS_FDM_SETTINGS ), \ 1140 _mbg_cn_table_entry( GPS_FDM_INFO ), \ 1141 _mbg_cn_table_entry( GPS_XMR_EXT_SRC_INFO_IDX ), \ 1142 _mbg_cn_table_entry( GPS_FDM_FREQ ), \ 1143 _mbg_cn_table_entry( GPS_XFEATURES ), \ 1144 _mbg_cn_table_entry( GPS_SAVE_CFG ), \ 1145 _mbg_cn_table_entry( GPS_XMR_STATS_IDX ), \ 1146 _mbg_cn_table_entry( GPS_FDM_SET_TD ), \ 1147 _mbg_cn_table_entry( GPS_LNE_LIMITS ), \ 1148 _mbg_cn_table_entry( GPS_LNE_PORT_INFO_IDX ), \ 1149 _mbg_cn_table_entry( GPS_LNE_PORT_SETTINGS_IDX ), \ 1150 _mbg_cn_table_entry( GPS_PWR_CTL ), \ 1151 _mbg_cn_table_entry( GPS_LED_LIMITS ), \ 1152 _mbg_cn_table_entry( GPS_LED_INFO_IDX ), \ 1153 _mbg_cn_table_entry( GPS_LED_SETTINGS_IDX ), \ 1154 _mbg_cn_table_entry( GPS_EXT_SYS_INFO ), \ 1155 _mbg_cn_table_entry( GPS_TLV_INFO ), \ 1156 _mbg_cn_table_entry( GPS_TLV_ANNOUNCE ), \ 1157 _mbg_cn_table_entry( GPS_TLV_DATA ), \ 1158 _mbg_cn_table_entry( GPS_BEGIN_TRANSACTION ), \ 1159 _mbg_cn_table_entry( GPS_END_TRANSACTION ), \ 1160 _mbg_cn_table_entry( GPS_REBOOT ), \ 1161 _mbg_cn_table_entry( GPS_XMR_METRICS_IDX ), \ 1162 _mbg_cn_table_entry( GPS_XMR_QL_INFO_IDX ), \ 1163 _mbg_cn_table_entry( GPS_XMR_QL_SETTINGS_IDX ), \ 1164 _mbg_cn_table_entry( GPS_CLK_RES_INFO ), \ 1165 _mbg_cn_table_entry( GPS_NET_INTF_LINK_IDX ), \ 1166 _mbg_cn_table_entry( GPS_NET_INTF_ADDR_IDX ), \ 1167 _mbg_cn_table_entry( GPS_NET_INTF_ROUTE_IDX), \ 1168 _mbg_cn_table_entry( GPS_NET_STAT_GLB_CFG ), \ 1169 _mbg_cn_table_entry( GPS_NET_STAT_INTF_LINK_IDX ), \ 1170 _mbg_cn_table_entry( GPS_NET_STAT_INTF_ADDR_IDX), \ 1171 _mbg_cn_table_entry( GPS_NET_STAT_INTF_ROUTE_IDX), \ 1172 _mbg_cn_table_entry( GPS_UCAP_NET_GLB_INFO ), \ 1173 _mbg_cn_table_entry( GPS_UCAP_NET_RECV_INFO_IDX ), \ 1174 _mbg_cn_table_entry( GPS_IO_PORT_LIMITS ), \ 1175 _mbg_cn_table_entry( GPS_IO_PORT_SETTINGS_IDX ), \ 1176 _mbg_cn_table_entry( GPS_IO_PORT_INFO_IDX ), \ 1177 _mbg_cn_table_entry( GPS_IO_PORT_TYPE_INFO_IDX ), \ 1178 _mbg_cn_table_entry( GPS_IO_PORT_STATUS_IDX ), \ 1179 _mbg_cn_table_entry( GPS_MONITORING_LIMITS ), \ 1180 _mbg_cn_table_entry( GPS_SNMP_GLB ), \ 1181 _mbg_cn_table_entry( GPS_SNMP_V12_IDX ), \ 1182 _mbg_cn_table_entry( GPS_SNMP_V12_TRAP_IDX ), \ 1183 _mbg_cn_table_entry( GPS_SNMP_V3_IDX ), \ 1184 _mbg_cn_table_entry( GPS_SNMP_V3_TRAP_IDX ), \ 1185 _mbg_cn_table_entry( GPS_GNSS_SV_STATUS_IDX ), \ 1186 _mbg_cn_table_entry( GPS_PTP_V2_DEFAULT_DS ), \ 1187 _mbg_cn_table_entry( GPS_PTP_V2_CURRENT_DS ), \ 1188 _mbg_cn_table_entry( GPS_PTP_V2_PARENT_DS ), \ 1189 _mbg_cn_table_entry( GPS_PTP_V2_TIME_PROP_DS ), \ 1190 _mbg_cn_table_entry( GPS_PTP_V2_PORT_DS_IDX ), \ 1191 _mbg_cn_table_entry( GPS_TAINTED_CFG ), \ 1192 _mbg_cn_table_entry( GPS_EVENT_IDX ), \ 1193 _mbg_cn_table_entry( GPS_EVENT_STAT_IDX ), \ 1194 _mbg_cn_table_entry( GPS_NTP_REFCLK_CFG ), \ 1195 _mbg_cn_table_entry( GPS_NTP_MISC_LIMITS ), \ 1196 _mbg_cn_table_entry( GPS_NTP_MISC_ORPHAN_MODE ), \ 1197 _mbg_cn_table_entry( GPS_NTP_SYMM_KEY_LIMITS ), \ 1198 _mbg_cn_table_entry( GPS_NTP_SYMM_KEY_CFG ), \ 1199 _mbg_cn_table_entry( GPS_NTP_TRUSTED_KEY_CFG ), \ 1200 _mbg_cn_table_entry( GPS_PTP_V1_DEFAULT_DS ), \ 1201 _mbg_cn_table_entry( GPS_PTP_V1_CURRENT_DS ), \ 1202 _mbg_cn_table_entry( GPS_PTP_V1_PARENT_DS ), \ 1203 _mbg_cn_table_entry( GPS_PTP_V1_TIME_PROP_DS ), \ 1204 _mbg_cn_table_entry( GPS_PTP_V1_PORT_DS_IDX ), \ 1205 _mbg_cn_table_entry( GPS_NTP_REFCLK_STATE_IDX ), \ 1206 _mbg_cn_table_entry( GPS_EVENT_VALUE_IDX ), \ 1207 _mbg_cn_table_entry( GPS_REGISTER_PUSH_MSGS ), \ 1208 _mbg_cn_table_entry( GPS_UNREGISTER_PUSH_MSGS ), \ 1209 _mbg_cn_table_entry( GPS_AUTH_USER_INFO ), \ 1210 _mbg_cn_table_entry( GPS_AUTH_USER_STATUS ), \ 1211 _mbg_cn_table_entry( GPS_USER_MNGMNT_INFO ), \ 1212 _mbg_cn_table_entry( GPS_USER_INFO_IDX ), \ 1213 _mbg_cn_table_entry( GPS_USER_LEVEL_INFO_IDX ), \ 1214 _mbg_cn_table_entry( GPS_USER_STATUS_IDX ), \ 1215 _mbg_cn_table_entry( GPS_PTP_SMPTE_TLV ), \ 1216 _mbg_cn_table_entry( GPS_SVC_MGMT_INFO ), \ 1217 _mbg_cn_table_entry( GPS_SVC_INFO_IDX ), \ 1218 _mbg_cn_table_entry( GPS_SVC_STATUS_IDX ), \ 1219 _mbg_cn_table_entry( GPS_SVC_CTL_IDX ), \ 1220 _mbg_cn_table_entry( GPS_SYSLOG_GLB_INFO ), \ 1221 _mbg_cn_table_entry( GPS_SYSLOG_INFO_IDX ), \ 1222 _mbg_cn_table_entry( GPS_FW_GLB_INFO ), \ 1223 _mbg_cn_table_entry( GPS_FW_INFO_IDX ), \ 1224 _mbg_cn_table_entry( GPS_FW_UFU_INFO_IDX ), \ 1225 _mbg_cn_table_entry( GPS_FW_ACTIVATE ), \ 1226 _mbg_cn_table_entry( GPS_FW_DELETE ), \ 1227 _mbg_cn_table_entry( GPS_FW_UFU_FLASH ), \ 1230 _mbg_cn_table_entry( GPS_CFGH ), \ 1231 _mbg_cn_table_entry( GPS_ALM ), \ 1232 _mbg_cn_table_entry( GPS_EPH ), \ 1233 _mbg_cn_table_entry( GPS_UTC ), \ 1234 _mbg_cn_table_entry( GPS_IONO ), \ 1235 _mbg_cn_table_entry( GPS_ASCII_MSG ), \ 1238 _mbg_cn_table_entry( GPS_GLNS_ALM ), \ 1239 _mbg_cn_table_entry( GPS_GNSS_SAT_INFO ), \ 1240 _mbg_cn_table_entry( GPS_GNSS_MODE ), \ 1243 _mbg_cn_table_entry( GPS_IP4_SETTINGS ), \ 1244 _mbg_cn_table_entry( GPS_LAN_IF_INFO ), \ 1245 _mbg_cn_table_entry( GPS_IP4_STATE ), \ 1248 _mbg_cn_table_entry( GPS_SCU_STAT ), \ 1250 _mbg_cn_table_entry( GPS_CRYPTED_PACKET ), \ 1251 _mbg_cn_table_entry( GPS_CRYPTED_RAW_PACKET ), \ 1252 _mbg_cn_table_entry( GPS_XBP_PACKET ), \ 1254 _mbg_cn_table_entry( GPS_SECU_INFO ), \ 1255 _mbg_cn_table_entry( GPS_SECU_SETTINGS ), \ 1256 _mbg_cn_table_entry( GPS_SECU_PUBLIC_KEY ), \ 1259 _mbg_cn_table_entry( PZF_PCPS_TIME ), \ 1260 _mbg_cn_table_entry( PZF_TR_DISTANCE ), \ 1261 _mbg_cn_table_entry( PZF_TZCODE ), \ 1262 _mbg_cn_table_entry( PZF_CORR_INFO ), \ 1264 _mbg_cn_table_end() \ 1267 #endif // !defined( MBG_TGT_DOS ) 1304 #define _mbg_swab_tzcode( _p ) \ 1583 SECU_SETTINGS secu_settings;
1586 #if _USE_TIME_MON && defined( _PRELIMINARY_CODE ) 1600 #ifndef MAX_MSG_DATA_SIZE 1601 #ifndef ADD_MSG_DATA_SIZE 1603 #define ADD_MSG_DATA_SIZE AES_BLOCK_SIZE // round up to full paragraphs 1605 #define ADD_MSG_DATA_SIZE 0 1609 #define MAX_MSG_DATA_SIZE ( sizeof( MSG_DATA ) + ADD_MSG_DATA_SIZE ) 1678 uint8_t aes_initvect[AES_BLOCK_SIZE];
1695 uint8_t aes_initvect[AES_BLOCK_SIZE];
1722 CRYPT_MSG_DATA crypt_msg_data;
1811 #if !_IS_MBG_FIRMWARE 1822 #if !defined( MBGEXTIO_MSG_TIMEOUT_SOCKET ) 1823 #define MBGEXTIO_MSG_TIMEOUT_SOCKET 1000 // [ms] 1826 #if !defined( MBGEXTIO_POLL_TIMEOUT_SOCKET ) 1827 #define MBGEXTIO_POLL_TIMEOUT_SOCKET 200 // [ms] 1830 #define LAN_XPT_PORT 10001 1831 #define LAN_SSH_PORT 10002 1838 struct sockaddr_in _addr;
1839 struct sockaddr_in *p_addr;
1845 int (*write)(
MBG_MSG_CTL *,
const void *, size_t );
1846 #if _USE_SSH_ENCRYPTION 1852 #define __mbg_get_pmctl_ssh_data(pmctl) (pmctl)->st.sockio.get_ssh_data(pmctl) 1854 #endif // _USE_SOCKET_IO 1857 #if _USE_SERIAL_IO_FTDI 1866 #endif // _USE_SERIAL_IO_FTDI 1870 #if _USE_USB_DIRECT_IO 1872 typedef int MBG_USB_DIRECT_IO_FD;
1874 #if !defined(MBG_USB_DIRECT_IO_INVALID_FD) 1875 #define MBG_USB_DIRECT_IO_INVALID_FD -1 1878 #if !defined( MBGEXTIO_POLL_TIMEOUT_USB_DIRECT_IO ) 1879 #define MBGEXTIO_POLL_TIMEOUT_USB_DIRECT_IO 1000 // [ms] 1882 #if !defined( MBGEXTIO_MSG_TIMEOUT_USB_DIRECT_IO ) 1883 #define MBGEXTIO_MSG_TIMEOUT_USB_DIRECT_IO 1000 // [ms] 1888 MBG_USB_DIRECT_IO_FD usbdiofd;
1891 } USB_DIRECT_IO_STATUS;
1893 #endif // _USE_USB_DIRECT_IO 1897 #if !_IS_MBG_FIRMWARE 1966 #endif // !_IS_MBG_FIRMWARE 1985 #if !_IS_MBG_FIRMWARE 2000 uint8_t aes_initvect[AES_BLOCK_SIZE];
2001 uint8_t aes_keyvect[AES_BLOCK_SIZE];
2005 SECU_SETTINGS secu_settings;
2008 #if _USE_SERIAL_IO || \ 2009 _USE_SERIAL_IO_FTDI || \ 2016 SOCKET_IO_STATUS sockio;
2023 #if _USE_SERIAL_IO_FTDI 2031 #if _USE_USB_DIRECT_IO 2032 USB_DIRECT_IO_STATUS usbdio;
2037 #if defined( _DEBUG_MSG_TIMING ) 2062 #if _USE_GPSSERIO_FNC 2286 #endif // _USE_GPSSERIO_FNC PTP_UC_MASTER_SETTINGS_IDX ptp_uc_master_settings_idx
MBG_IO_PORT_INFO_IDX iop_info_idx
Binary reception in progress, i.e. after START_OF_HEADER received.
Current SHS settings and general SHS capabilities.
from device: acknowledge a command
MBG_NET_GLB_CFG_INFO net_glb_cfg_info
A structure to used to read the status of the PTP protocol stack.
A message prefix used for encrypted messages.
GNSS_SAT_INFO gnss_sat_info
uint16_t TR_DISTANCE
Receiver distance from transmitter [km].
Query MBG_NET_INTF_ROUTE_SETTINGS by its index.
PTP_CFG_SETTINGS ptp_cfg_settings
NTP_PEER_SETTINGS_IDX ntp_peer_settings_idx
Configuration settings for a specific PTP unicast master.
int MBG_TIME_MON_INST_INFO_IDX
(r–) MBG_IMS_FDM_OUTPUT_INFO, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE::flags ...
Number of event log entries that can be stored and yet have been saved.
(r–) MBG_LNE_LIMITS, LNE API capabilities, only if MBG_XFEATURE_LNE_API
uint8_t PCPS_TZCODE
Type of variable to hold a TZ code.
(r–) XMULTI_REF_INFO_IDX, idx 0..XMULTI_REF_INSTANCES::n_xmr_settings-1, only if GPS_HAS_XMULTI_REF ...
(-w-) Transmit index of MBG_FW_INFO_IDX to be deleted
Summary of configuration and health data of all satellites.
Configuration settings of a specific serial port.
(rw-) ENABLE_FLAGS, when to enable serial, pulses, and synth, only if GPS_MODEL_HAS_ENABLE_FLAGS ...
Ephemeris parameters of one specific satellite.
uint16_t len
length of the data portion appended after the header
NTP trusted key info, with index.
(-w-) MBG_IO_PORT_SETTINGS_IDX, only supp. if MBG_XFEATURE_IO_PORTS is set in extended features ...
MBG_MUTEX dev_mutex
Mutex to serialize device access.
Output settings for FDM devices plus index.
(r–) NTP_PEER_STATE_IDX, with index 0 ... NTP_CLNT_MODE_SETTINGS::num_peers - 1
MBG_TLV_RCV_STATE tlv_rcv_state
(rw-) CFGH, SVs' configuration and health codes
(rw-) ANT_CABLE_LEN, length of antenna cable, only if GPS_MODEL_HAS_ANT_CABLE_LEN ...
int chk_hdr_csum(const MSG_HDR *pmh)
Check if the header checksum of a binary message is valid.
The data portion of an XBP message.
(-w-) no data, only if RECEIVER_INFO::n_ucaps > 0
(r–) MBG_DATABASE_GLB_INFO, only supp. if MBG_XFEATURE_DATABASE is set
(rw-) NTP_SRV_MODE_INFO/NTP_SRV_MODE_SETTINGS, only if NTP_MSK_ROLE_SERVER
connection via direct USB I/O operation
MBG_NET_INTF_LINK_INFO_IDX net_intf_link_info_idx
No data received during the timeout interval.
(rw-) IRIG_SETTINGS, only if GPS_HAS_IRIG_RX
(rw-) MBG_REF_OFFS, only if GPS_HAS_REF_OFFS
(r–) MBG_NET_INTF_ADDR_INFO_IDX, addr status, only if MBG_NET_GLB_SUPP_STAGE_2_MASK is set in MBG_NE...
MBG_FW_UFU_INFO_IDX fw_ufu_info_idx
MBG_NET_INTF_ROUTE_SETTINGS_IDX net_intf_route_settings_idx
MBG_SERVICE_INFO_IDX svc_info_idx
(r–) MBG_EVENT_STATUS_IDX, only supp. if MBG_XFEATURE_MONITORING is set in extended features ...
Global settings for user captures via network.
(r–) XMR_HOLDOVER_INTV, elapsed time in holdover mode, only if ::GPS_MODEL_HAS_XMR_HOLDOVER_INTV, deprecated by GPS_XMR_HOLDOVER_STATUS
connection via serial port
Settings of an IPv4-only network interface.
int chk_hdr_rcvd(const MBG_MSG_RCV_CTL *prctl)
Checks if a binary message header has been completely received.
GPS UTC correction parameters.
MBG_XFER_MODES
Binary message transfer modes.
(rw-) PTP_CFG_INFO/PTP_CFG_SETTINGS, only if GPS_HAS_PTP
(r–) MBG_SERVICE_STATUS_IDX, index 0 .. MBG_SERVICE_MGMT_INFO::num_services - 1, only supp...
(rw-) deprecated, use GPS_PORT_INFO_IDX/GPS_PORT_SETTINGS_IDX
(rw-) MBG_UCAP_NET_GLB_INFO/MBG_UCAP_NET_GLB_SETTINGS, only supp. if MBG_XFEATURE_UCAP_NET is set in ...
(r–) MBG_IMS_FDM_OUTPUT_STATE_IDX, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE::f...
A structure used to configure a PTP port.
(r–) IRIG_INFO, only if GPS_HAS_IRIG_RX
int xmt_cmd(MBG_MSG_CTL *pmctl, const XBP_ADDR *p_addr, GPS_CMD cmd)
Send a binary command message without parameters.
A structure used to control the transmission of binary messages.
(rw-) PTP_UC_MASTER_INFO_IDX/PTP_UC_MASTER_SETTINGS_IDX, only if PTP_CFG_CAN_BE_UNICAST_SLAVE ...
Structure that contains an index value and the NTP peer state.
(r–) STR_TYPE_INFO_IDX, names and capabilities of supp. string types, only if RECEIVER_INFO::n_str_t...
MBG_IO_PORT_SETTINGS_IDX iop_settings_idx
A The structure used to store the configuration of two serial ports.
int xmt_cmd_us(MBG_MSG_CTL *pmctl, const XBP_ADDR *p_addr, GPS_CMD cmd, uint16_t us)
Send a binary command message with ushort (16 bit) parameter.
(r–) MBG_IP_ADDR_IDX, DNS status, only if MBG_NET_GLB_CFG_INFO::n_supp_dns_srvr > 0 ...
(r–) MBG_LED_INFO_IDX, settings and capabilities of an LED, only if MBG_XFEATURE_LED_API ...
(rw-) MBG_NET_NAME_IDX, DNS cfg., only if MBG_NET_GLB_CFG_INFO::n_supp_dns_srch_dom > 0 ...
MBG_PTP_V1_PORT_DATASET_IDX ptp_v1_port_dataset_idx
NTP_REFCLK_CFG_INFO_IDX ntp_refclk_cfg_info_idx
(-w-) no data, end transaction and apply changes, only supp. if MBG_XFEATURE_TRANSACTIONS ...
Time scale configuration settings plus capabilities.
CSUM msg_csum(const uint8_t *p, int n)
Compute a checksum for a binary message.
(rw-) TZCODE, time zone code, only if GPS_MODEL_IS_DCF_PZF
(rw-) a binary data bufer to be sent/received, according to the previous announce msg...
(r–) MBG_IMS_FDM_LIMITS, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE::flags ...
IP4_SETTINGS ip4_settings
void set_encryption_mode(MBG_MSG_CTL *pmctl, int mode, const char *key)
Set communication channel to specified encryption mode.
IRIG_SETTINGS irig_tx_settings
(rw-) NTP_PEER_SETTINGS_IDX, only if ??? //### TODO
Global network configuration settings.
normal, unencrypted transmission
(-w-) no data, enable auto-msgs from device
MBG_UCAP_NET_RECV_SETTINGS_IDX ucap_net_recv_settings_idx
NTP refclock settings index.
(rw-) MBG_EVENT_INFO_IDX / MBG_EVENT_SETTINGS_IDX, only supp. if MBG_XFEATURE_MONITORING is set in ex...
int MBG_TIME_MON_INST_SETTINGS
ulong flags
flags if header already completed, etc., see MBG_MSG_RCV_CTL_MASKS
A structure used to configure the priority of the supported ref sources.
MBG_DEBUG_STATUS debug_status
(-w-) no data, save current config as default, only if MBG_XFEATURE_SAVE_CFG
NTP_SRV_MODE_SETTINGS ntp_srv_mode_settings
NTP orphan mode settings to be read from / written to a device.
MBG_SNMP_V3_SETTINGS_IDX snmp_v3_settings_idx
(r–) MBG_XFEATURE_BUFFER, only if GPS_HAS_XFEATURE
Detailed GNSS satellite status, plus index.
MBG_PTP_V2_DEFAULT_DATASET ptp_v2_default_dataset
IRIG_SETTINGS irig_rx_settings
(rw-) MBG_PTP_V2_PARENT_DATASET, only supp. if PTP_CFG_MSK_HAS_V2_COMMON_DATASETS is set in PTP_CFG_I...
CSUM msg_csum_update(CSUM csum, const uint8_t *p, int n)
Compute a simple binary checksum.
A union holding different types of a TZ code.
MBG_IP_ADDR_IDX ip_addr_idx
(r–) MBG_IO_PORT_STATUS_IDX, only supp. if MBG_XFEATURE_IO_PORTS is set in extended features and fro...
PTP_UC_MASTER_INFO_IDX ptp_uc_master_info_idx
(w–) MBG_SERVICE_CTL, index 0 .. MBG_SERVICE_MGMT_INFO::num_services - 1, only supp. if MBG_XFEATURE_SERVICE
PTPv1 current dataset containing information about the synchronization status of the device...
A timestamp with nanosecond resolution, but 64 bit size.
A union of all data types used with the binary protocol, or array of bytes.
(-w-) MBG_TIME_MON_TARGET_SETTINGS
connection via direct USB
(rw-) MBG_PTP_V1_PARENT_DATASET, only supp. if PTP_CFG_MSK_HAS_V1_COMMON_DATASETS is set in PTP_CFG_I...
int MBG_TIME_MON_TARGET_EXT_DATA_SET_IDX
(r–) MBG_EXT_SYS_INFO, extended revision information, only if MBG_XFEATURE_EXT_SYS_INFO ...
Status information on a ref time source at a specific priority level.
MBG_IMS_SENSOR_STATE_IDX ims_sensor_state_idx
(rw-) MBG_TIME_SCALE_SETTINGS/MBG_TIME_SCALE_INFO, only if GPS_HAS_TIME_SCALE
int _MBG_API MBG_ASYNC_MSG_HANDLER_FNC(MBG_MSG_CTL *pmctl)
Type of a callback function to handle spurious binary messages.
XMR_HOLDOVER_STATUS xmr_holdover_status
(r–) XMR_QL_INFO, only if XMR_EXT_SRC_FEAT_FLAG_MSK_METRICS
(r–) MBG_TLV_INFO, query information on which TLV stuff is supported, only if MBG_XFEATURE_TLV_API ...
(r–) deprecated, SW_REV, software revision, use only if GPS_RECEIVER_INFO not supp.
MBG_NUM_EVT_LOG_ENTRIES num_evt_log_entries
(r–) XMULTI_REF_STATUS_IDX, idx 0..XMULTI_REF_INSTANCES::n_xmr_settings-1, only if GPS_HAS_XMULTI_RE...
Current IRIG settings and supported codes.
MBG_LED_SETTINGS_IDX led_settings_idx
uint16_t CSUM
checksum used by some structures stored in non-volatile memory
(rw-) NTP_GLB_INFO/NTP_GLB_SETTINGS, only if GPS_HAS_NTP
(rw-) ** preliminary ** //##++
MBG_IMS_FDM_OUTPUT_INFO_IDX fdm_output_info_idx
(r–) next MBG_EVT_LOG_ENTRY, only if GPS_HAS_EVT_LOG
A structure used to configure optional settings.
MBG_LNE_PORT_INFO_IDX lne_port_info_idx
Received Negative Acknowledge from a device (prev. msg not accepted or not supported) ...
NTP_SYMM_KEY_LIMITS ntp_symm_key_limits
MBG_SYSLOG_INFO_IDX syslog_info_idx
(r–) BVAR_STAT, status of buffered variables, only if GPS_MODEL_HAS_BVAR_STAT
Information on available XBP nodes.
NTP refclock info, with index.
The data checksum of a received message is invalid.
NTP_TRUSTED_KEY_SETTINGS_IDX ntp_trusted_key_settings_idx
(r–) MBG_GPIO_STATUS_IDX, only if MBG_GPIO_CFG_LIMIT_FLAG_MASK_STATUS_SUPP
(r–) PTP_UC_MASTER_CFG_LIMITS, only if PTP_CFG_CAN_BE_UNICAST_SLAVE
(rwa) encrypted binary packet
(r–) MBG_LED_LIMITS, LED API capabilities, only if MBG_XFEATURE_LED_API
MBG_IO_PORT_LIMITS iop_limits
(r–) XBP_LIMITS, only if GPS_HAS_XBP
see MBG_MSG_RCV_CTL_BIT_OVERFLOW
XMR timing metrics for a particular source, with index.
(r–) XMR_STATS_IDX, only if XMR_EXT_SRC_FEAT_FLAG_MSK_STATS
PTP_SMPTE_PROFILE_CFG smpte_profile_tlv
(r–) MBG_USER_INFO for the authenticated user, see MBG_XFEATURE_USER_AUTH
PTPv1 parent dataset containing information about the master (parent) of the device.
(-w-) no data, disable auto-msgs from device
(rw-) MBG_SYSLOG_GLB_INFO / MBG_SYSLOG_GLB_SETTINGS, only supp. if MBG_MONITORING_TYPE_MSK_SYSLOG is ...
MBG_MSG_BUFF * pmb
points to unencrypted message buffer
Query MBG_NET_INTF_LINK_INFO by its index.
PORT_SETTINGS_IDX port_settings_idx
int MBG_TIME_MON_TARGET_STATUS
(r–) MBG_CLK_RES_INFO, only if MBG_XFEATURE_CLK_RES_INFO
Client settings of an NTP device.
(r–) PORT_INFO_IDX, serial port settings and capabilities, only if RECEIVER_INFO::n_com_ports > 0 ...
MBG_SYSLOG_SETTINGS_IDX syslog_settings_idx
Configuration settings for a HaveQuick input or output.
Current settings and general capabilities of a specific unicast master.
Query MBG_NET_INTF_ROUTE_INFO by its index.
(rw-) MBG_TIME_MON_INST_INFO
Information on an XBP node with specific index.
see MBG_MSG_RCV_CTL_BIT_DECRYPTED
MBG_FW_GLB_INFO fw_glb_info
(r–) MBG_TIME_MON_TARGET_EXT_DATA_SET_IDX
STD_MSG_DATA_BUFF data_buf
Data portion using the number of bytes specified in the header.
(rw-) MBG_LED_SETTINGS_IDX, settings of a specific LED, only if MBG_XFEATURE_LED_API ...
MBG_TAINTED_CFG tainted_cfg
int chk_data_csum(const MBG_MSG_BUFF *pmb)
Check if the data checksum of a binary message is valid.
Failed to open connection.
(r-a) TTM, user capture events, only if RECEIVER_INFO::n_ucaps > 0
uint16_t GPS_CMD
The type of a GPS command code.
(r–) encryption method for LAN interface
(r–) MBG_GPIO_INFO_IDX, settings and capabilities, only if GPS_HAS_GPIO
(rw-) NTP_CLNT_MODE_INFO/NTP_CLNT_MODE_SETTINGS, only if NTP_MSK_ROLE_CLIENT
(rw-) (customized firmware only)
MSG_DATA msg_data
union of known structures
MBG_OPT_SETTINGS opt_settings
int MBG_TIME_MON_INST_SETTINGS_IDX
MBG_SNMP_V3_TRAP_SETTINGS_IDX snmp_v3_trap_settings_idx
MBG_SERVICE_STATUS_IDX svc_status_idx
MBG_GPIO_SETTINGS_IDX gpio_settings_idx
MBG_XDEV_FEATURES xdev_features
Receiver info plus extended device features.
(r–) GNSS_SAT_INFO_IDX, only if MBG_GNSS_FLAG_MSK_SAT_INFO_IDX_SUPP_SER, deprecates GPS_GNSS_SAT_INF...
MBG_SNMP_V12_SETTINGS_IDX snmp_v12_settings_idx
(r–) MBG_LNE_PORT_INFO_IDX, settings and capabilities of an LED, only if MBG_XFEATURE_LNE_API ...
General GPIO config info to be read from a device.
MBG_SERVICE_SETTINGS_IDX svc_settings_idx
NAV_ENGINE_SETTINGS nav_engine_settings
A generic structure used to specify FDM limits.
A structure used to store extended device features.
(rw-) MBG_GNSS_MODE_INFO/MBG_GNSS_MODE_SETTINGS, GNSS operation mode
XBP_MSG_DATA xbp_msg_data
XBP address field plus encapsulated standard message.
Query MBG_NET_INTF_ADDR_SETTINGS by its index.
(r–) MBG_IO_PORT_TYPE_INFO_IDX, only supp. if MBG_XFEATURE_IO_PORTS is set in extended features and ...
The header of a binary message.
XMR statistics for a particular source, with index.
(r–) MBG_MONITORING_LIMITS, only supp. if MBG_XFEATURE_MONITORING is set in extended features ...
MBG_MSG_BUFF * pmb
points to unencrypted message buffer
TR_STATUS_CODES
Status codes returned by the check_transfer() function.
ulong msg_rcv_timeout
Binary message receive timeout [ms].
Authentication error for the specified LAN connection.
MBG_IMS_FDM_INFO fdm_info
Structure that represents the current system status of an NTP device.
uint16_t BVAR_STAT
Status flags of battery buffered data.
MBG_NET_INTF_LINK_SETTINGS_IDX net_intf_link_settings_idx
NTP_MISC_ORPHAN_MODE_SETTINGS ntp_misc_orphan_mode_settings
MBG_NET_NAME_IDX net_name_idx
A message header for the eXtended Binary Protocol (XBP)
PTPv2 time properties dataset.
(rw-) NTP_REFCLK_CFG_INFO_IDX, only if NTP_SRV_MODE_SETTINGS::num_refclks > 0
NANO_TIME_64 nano_time_64
Time scale configuration settings.
MBG_EVENT_SETTINGS_IDX event_settings_idx
(rw-) MBG_USER_INFO_IDX / MBG_USER_SETTINGS_IDX, index 0 .. MBG_USER_MNGMNT_SETTINGS::num_users, only supp. if MBG_XFEATURE_USER_MNGMNT
(rw-) MBG_IP_ADDR_IDX, DNS cfg., only if MBG_NET_GLB_CFG_INFO::n_supp_dns_srvr > 0 ...
SCU_STAT_SETTINGS scu_stat_settings
int buf_size
size of buffer, including header
(-w-) no data, clear event log command, only if GPS_HAS_EVT_LOG
int MBG_SOCK_FD
A socket file descriptor type.
(r–) LNO_STATE, only if ::GPS_MODEL_IS_LNO
NTP_MISC_LIMITS ntp_misc_limits
(rw-) NTP_SYMM_KEY_INFO_IDX / NTP_SYMM_KEY_SETTINGS_IDX, only if NTP_MSK_SYMM_KEYS is set in NTP_SRV_...
(r-a) ANT_INFO, time diff after antenna disconnect, only if GPS_MODEL_HAS_ANT_INFO ...
XMULTI_REF_SETTINGS_IDX xmulti_ref_settings_idx
A GPIO port's current settings and limits, plus port index.
NTP_SYMM_KEY_INFO_IDX ntp_symm_key_info_idx
SCU_STAT_INFO scu_stat_info
(r–) NTP_REFCLK_STATE_IDX, with index 0 ... NTP_SRV_MODE_SETTINGS::num_refclks - 1 ...
void init_transfer(MBG_MSG_RCV_CTL *prctl)
Init reception of a binary message.
(-w-) no data, begin transaction and apply changes after GPS_END_TRANSACTION, only supp...
NTP symm key info, with index.
TLV structure containing information on current TLV transaction and its current data.
(rw-) req: uint16_t SV num, SV_ALM, one SV's almanac
(r–) HAVEQUICK_INFO for output, only if GPS_HAS_HAVEQUICK
MBG_GPIO_CFG_LIMITS gpio_cfg_limits
Additional parameters for SMPTE ST 2059-2 profile.
(rw-) HAVEQUICK_SETTINGS for input, only if GPS_HAS_HAVEQUICK
uint8_t * cur
points to current pos inside receive buffer
MBG_PTP_V2_PORT_DATASET_IDX ptp_v2_port_dataset_idx
bool dev_has_receiver_info
Information on a specific supported string format.
int _MBG_API MBG_ASYNC_DATA_RESET_FNC(MBG_MSG_CTL *pmctl)
Type of a callback function to reset handling of spurious asynchronous data bytes.
A structure used to specify a variable frequency.
(rw-) MBG_DATABASE_INFO_IDX / MBG_DATABASE_SETTINGS_IDX, index 0..MBG_DATABASE_GLB_INFO::num_dbs - 1...
(r–) RECEIVER_INFO, model specific info, not supported by very old devices
int _MBG_API MBG_NACK_HANDLER_FNC(MBG_MSG_CTL *pmctl)
Type of a callback function to optionally handle NACK messages.
Reference source configuration for a specific priority level.
MBG_UCAP_NET_RECV_INFO_IDX ucap_net_recv_info_idx
Settings, features and flags for receivers of user captures via network.
Client settings info of an NTP device.
HAVEQUICK_SETTINGS havequick_settings
connection via FTDI D2xx USB-To-Serial converter
(rwa) eXtended Binary Packet, only if GPS_HAS_XBP, see eXtended Binary Protocol definitions ...
MBG_USER_SETTINGS_IDX user_settings_idx
A structure used to query current TLV capabilities.
(r–) XMULTI_REF_INSTANCES, only if GPS_HAS_XMRS_MULT_INSTC
(rw-) MBG_UCAP_NET_RECV_INFO_IDX/MBG_UCAP_NET_RECV_SETTINGS_IDX, only supp. if MBG_XFEATURE_UCAP_NET ...
int check_transfer(MBG_MSG_RCV_CTL *prctl, uint8_t c)
Check an incoming data stream for a binary message.
MBG_GNSS_MODE_INFO gnss_mode_info
(rw-) MBG_PTP_V1_CURRENT_DATASET, only supp. if PTP_CFG_MSK_HAS_V1_COMMON_DATASETS is set in PTP_CFG_...
(r–) XBP_NODE_INFO_IDX, 0..XBP_NODE_LIMITS::node_count-1 instances can be retrieved ...
MBG_LNE_PORT_SETTINGS_IDX lne_port_settings_idx
uint16_t ANT_CABLE_LEN
A data type used to configure the length of an antenna cable [m].
MULTI_REF_STATUS multi_ref_status
(rw-) POUT_SETTINGS_IDX, programmable pulse output settings, only if RECEIVER_INFO::n_prg_out > 0 ...
(rwa) SCU_STAT_SETTINGS/SCU_STAT_INFO, SCU board control, only if ::GPS_MODEL_IS_SCU ...
MBG_RAW_IRIG_DATA raw_irig_data
STR_TYPE_INFO_IDX str_type_info_idx
(r–) MBG_NET_INTF_LINK_INFO_IDX, link status, only if MBG_NET_GLB_SUPP_STAGE_2_MASK is set in MBG_NE...
A structure to used to query the current configuration and capabilities of a PTP port.
MBG_EVENT_INFO_IDX event_info_idx
(r–) MBG_FW_INFO_IDX, with index 0 ... MBG_FW_GLB_INFO::installed_fws - 1
MBG_USER_STATUS_IDX user_status_idx
int xmt_tbuff(MBG_MSG_CTL *pmctl, const XBP_ADDR *p_addr)
Complete message header and transmit message.
double XYZ[N_XYZ]
A position in cartesian coordinates.
(rw-) MBG_SYSLOG_INFO_IDX / MBG_SYSLOG_SETTINGS_IDX, only supp. if MBG_MONITORING_TYPE_MSK_SYSLOG is ...
Ionospheric correction parameters.
MBG_SNMP_V3_TRAP_INFO_IDX snmp_v3_trap_info_idx
(r–) MBG_DEBUG_STATUS, only if GPS_HAS_DEBUG_STATUS
Specific FDM settings and limits.
(rw-) MBG_GPIO_SETTINGS_IDX, settings of a specific port, only if GPS_HAS_GPIO
(r–) MBG_GPIO_FREQ, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE::flags ...
Index structure for PTPv2 port dataset.
MBG_SERVICE_MGMT_INFO svc_mgmt_info
MSG_HDR hdr
The message header.
A structure used to transmit information on date and time.
(-w-) Send GPS command as payload, only supp. if MBG_XFEATURE_PUSH_MSGS
Index structure for PTPv1 port dataset.
MBG_UCAP_NET_GLB_INFO ucap_net_glb_info
(r–) MBG_IMS_FDM_INFO, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE::flags ...
(-wa) TTM, current time or capture, or init board time
MBG_TIME_SCALE_SETTINGS time_scale_settings
(rw-) MULTI_REF_SETTINGS, only if GPS_HAS_MULTI_REF
A generic message send and receive control structure.
Generic state of an IMS device.
(rw-) (customized firmware only)
(r–) MBG_SERVICE_MGMT_INFO, only supp. if MBG_XFEATURE_SERVICE
(-w-) Transmit index of MBG_FW_INFO_IDX to be activated
(rw-) NTP_MISC_ORPHAN_MODE_SETTINGS, only if NTP_MISC_MSK_ORPHAN_MODE is set in NTP_MISC_LIMITS::supp...
(r–) MBG_IMS_SENSOR_STATE_IDX, only if GPS_HAS_IMS
A GPIO port's current settings, plus port index.
uint32_t XMR_HOLDOVER_INTV
XMR holdover interval, or elapsed holdover time, in [s].
MBG_LED_LIMITS led_limits
(r–) NTP_SYMM_KEY_LIMITS, only if NTP_MSK_SYMM_KEYS is set in NTP_SRV_MODE_SETTINGS::flags ...
MBG_XFEATURE_BUFFER xfeature_buffer
HAVEQUICK_INFO havequick_info
MBG_NET_GLB_CFG_SETTINGS net_glb_cfg_settings
A binary message received over LAN could not be decrypted.
Global configuration info of an NTP device (client/server)
Limits to be considered when specifying PTP unicast masters.
MBG_ASYNC_DATA_HANDLER_FNC * async_data_handler_fnc
See mbgextio_register_async_data_callback.
(-w-) Send GPS command as payload, only supp. if MBG_XFEATURE_PUSH_MSGS
MBG_SNMP_V12_TRAP_SETTINGS_IDX snmp_v12_trap_settings_idx
(r–) MBG_TAINTED_CFG, only supp. if MBG_XFEATURE_TAINTED_CFG is set in extended features ...
Satellite information for a particular GNSS type.
GPS_CMD_CODES
Command codes for the binary protocol.
Clock resolution information.
XBP_NODE_INFO_IDX xbp_node_info_idx
NTP_CLNT_MODE_SETTINGS ntp_clnt_mode_settings
(r–) MBG_FW_GLB_INFO, only supp. if MBG_XFEATURE_FW_MNGMNT is set
An IPv4 or IPv6 network address, plus index.
(-w-) MBG_DATABASE_CMD, only supp. if MBG_XFEATURE_DATABASE
Configuration settings for a specific programmable pulse output.
(rw-) XMR_HOLDOVER_INTV, only if ::GPS_MODEL_HAS_XMR_HOLDOVER_INTV, see also GPS_XMR_HOLDOVER_STATUS ...
Structure for monitoring event settings.
(rw-) MBG_USER_INFO_IDX / MBG_USER_SETTINGS_IDX, index 0 .. MBG_USER_MNGMNT_SETTINGS::num_levels, only supp. if MBG_XFEATURE_USER_MNGMNT
Structure containing state information while reading TLV data.
TZCODE ser
code retrieved via serial binary protocol
A structure used to configure optional settings.
MBG_DATABASE_SETTINGS_IDX db_settings_idx
int16_t MBG_REF_OFFS
A data type used to configure the ref offset.
MBG_EVENT_STATUS_IDX event_status_idx
MBG_PTP_V2_CURRENT_DATASET ptp_v2_current_dataset
(rw-) MBG_NET_INTF_ADDR_INFO_IDX/MBG_NET_INTF_ADDR_SETTINGS_IDX, only if MBG_NET_GLB_SUPP_STAGE_2_MAS...
Global settings, features and flags for user captures via network.
XBP_NODE_LIMITS xbp_node_limits
MBG_IMS_FDM_SETTINGS fdm_settings
Link (physical interface) specific settings, plus index.
MBG_USER_MNGMNT_SETTINGS user_mngmnt_settings
(rw-) HAVEQUICK_SETTINGS for output, only if GPS_HAS_HAVEQUICK
int _MBG_API MBG_ASYNC_DATA_HANDLER_FNC(MBG_MSG_CTL *pmctl, char c)
Type of a callback function to handle spurious asynchronous data bytes.
GNSS_SAT_INFO_IDX gnss_sat_info_idx
(-w-) NANO_TIME_64, set time deviation, only if MBG_IMS_FDM_FLAG_MASK_CAN_SET_TDEV ...
(rw-) MBG_PTP_V2_PORT_DATASET_IDX, only supp. if PTP_CFG_MSK_HAS_V2_COMMON_DATASETS is set in PTP_CFG...
Current configuration of an SHS controller.
(r–) GNSS_SV_STATUS_IDX, only supp. if MBG_GNSS_FLAG_MSK_HAS_SV_STATUS is set
NTP_MISC_ORPHAN_MODE_INFO ntp_misc_orphan_mode_info
int decrypt_message(MBG_MSG_CTL *pmctl)
Decrypt an encrypted binary message.
General info on supported XMR sources and instances.
(r–) SHS_STATUS, only if GPS_HAS_SHS
ANT_CABLE_LEN ant_cable_len
(r–) MBG_FW_UFU_INFO_IDX, with index 0 ... MBG_FW_INFO::num_ufus - 1
int encrypt_message(MBG_MSG_CTL *pmctl, CRYPT_MSG_PREFIX *pcmp, MBG_MSG_BUFF *pmb)
Encrypt a binary message.
MBG_NET_INTF_ADDR_INFO_IDX net_intf_addr_info_idx
Network host or domain name, plus index.
General LED info to be read from a device.
XMULTI_REF_INFO_IDX xmulti_ref_info_idx
(rw-) PORT_SETTINGS_IDX, settings for specified serial port, only if RECEIVER_INFO::n_com_ports > 0 ...
(rw-) XYZ, current position in ECEF coordinates, only if GPS_MODEL_HAS_POS_XYZ
MBG_USER_INFO_IDX user_info_idx
A structure used to control the reception of binary messages.
Structure for monitoring event info.
(r–) NTP_MISC_LIMITS, only if NTP_MSK_MISCELLANEOUS is set in NTP_GLB_INFO::supp_flags ...
Almanac parameters of one specific satellite.
(r–) POUT_INFO_IDX, programmable pulse output settings and capabilities, only if RECEIVER_INFO::n_pr...
NTP_GLB_SETTINGS ntp_glb_settings
MULTI_REF_SETTINGS multi_ref_settings
(rw-) MBG_PTP_V2_TIME_PROPERTIES_DATASET, only supp. if PTP_CFG_MSK_HAS_V2_COMMON_DATASETS is set in ...
MBG_IO_PORT_STATUS_IDX iop_status_idx
Settings for receivers of user captures via network.
(r–) MBG_NUM_EVT_LOG_ENTRIES, num. of log entries, only if GPS_HAS_EVT_LOG
(r–) MBG_RAW_IRIG_DATA, only if GPS_HAS_RAW_IRIG_DATA
(r–) MBG_USER_STATUS for the authenticated user, see MBG_XFEATURE_USER_AUTH
MBG_PTP_V2_PARENT_DATASET ptp_v2_parent_dataset
MBG_DATABASE_INFO_IDX db_info_idx
(rw-) XMULTI_REF_SETTINGS_IDX, idx 0..XMULTI_REF_INSTANCES::n_xmr_settings-1, only if GPS_HAS_XMULTI_...
encrypted transmission, usually over network
(rw-) MBG_PTP_V1_TIME_PROPERTIES_DATASET, only supp. if PTP_CFG_MSK_HAS_V1_COMMON_DATASETS is set in ...
One of several sets of satellite information for a particular GNSS type.
(rw-) IGNORE_LOCK, if != 0 always claim to be sync, only if GPS_HAS_IGNORE_LOCK
NTP_TRUSTED_KEY_INFO_IDX ntp_trusted_key_info_idx
(rw-) MBG_PTP_V1_DEFAULT_DATASET, only supp. if PTP_CFG_MSK_HAS_V1_COMMON_DATASETS is set in PTP_CFG_...
(rw-) MBG_SNMP_GLB_INFO / MBG_SNMP_GLB_SETTINGS, only supp. if MBG_MONITORING_TYPE_MSK_SNMP is set in...
(-w-) XMR_QL_SETTINGS, only if XMR_EXT_SRC_FEAT_FLAG_MSK_METRICS
MBG_SNMP_V12_TRAP_INFO_IDX snmp_v12_trap_info_idx
int MBG_TIME_MON_TARGET_SETTINGS
MBG_ASYNC_MSG_HANDLER_FNC * async_msg_handler_fnc
See mbgextio_register_async_msg_callback.
POUT_INFO_IDX pout_info_idx
Time zone / daylight saving parameters.
uint32_t device_flags
See MSG_CTL_DEVICE_FLAG_MSKS.
MBG_NET_INTF_ADDR_SETTINGS_IDX net_intf_addr_settings_idx
MBG_CONN_TYPES
Binary message connection types.
MBG_IMS_FDM_LIMITS fdm_limits
(r–) LAN_IF_INFO, only if GPS_HAS_LAN_IP4
MBG_UCAP_NET_GLB_SETTINGS ucap_net_glb_settings
MBG_SYSLOG_GLB_SETTINGS syslog_glb_settings
(rw-) MBG_PTP_V2_CURRENT_DATASET, only supp. if PTP_CFG_MSK_HAS_V2_COMMON_DATASETS is set in PTP_CFG_...
MBG_PTP_V1_CURRENT_DATASET ptp_v1_current_dataset
MBG_TIME_SCALE_INFO time_scale_info
(r–) MBG_IO_PORT_LIMITS, only supp. if MBG_XFEATURE_IO_PORTS is set in extended features ...
(r–) GPS_XMR_METRICS_IDX, only if XMR_EXT_SRC_FEAT_FLAG_MSK_METRICS
int MBG_TIME_MON_TARGET_SETTINGS_IDX
MBG_MSG_RCV_CTL_BITS
Receive control bits used to define MBG_MSG_RCV_CTL_MASKS.
MBG_IMS_FDM_OUTPUT_SETTINGS_IDX fdm_output_settings_idx
Peer settings for NTP devices.
GPS_CMD cmd
see GPS_CMD_CODES and GPS_CMD_CTRL_CODES
MBG_STD_MSG std_msg
Encapsulated standard binary message.
Synthesizer configuration parameters.
Generic state of an IMS sensor, with sensor index.
(rw-) req: uint16_t SV num, SV_EPH, one SV's ephemeris
Reference source capabilities and current configuration for a specific priority level.
MSG_DATA msg_data
Standard message data structures.
#define MAX_MSG_DATA_SIZE
A buffer used to read raw IRIG data bits from an IRIG receiver.
(r–) MBG_USER_STATUS_IDX, index 0 .. MBG_USER_MNGMNT_SETTINGS::num_users, only supp. if MBG_XFEATURE_USER_MNGMNT
Status information on a specific GPIO port.
(r–) MULTI_REF_STATUS, only if GPS_HAS_MULTI_REF
PTPv1 default dataset containing global information about the device.
(r–) XMR_HOLDOVER_STATUS, only if XMRIF_MSK_HOLDOVER_STATUS_SUPP, deprecates GPS_XMR_HOLDOVER_ELAPSE...
(rw-) RCV_TIMEOUT, [min], only if GPS_HAS_RCV_TIMEOUT
(r–) HAVEQUICK_INFO for input, only if GPS_HAS_HAVEQUICK
NTP_SYS_STATE ntp_sys_state
(rw-) IRIG_SETTINGS, only if GPS_HAS_IRIG_TX
(rw-) reserved for public key LAN interface
A structure initiating a TLV transfer.
(r–) XBP_NODE_LIMITS, only if XBP_FEAT_MASK_NODES is set in XBP_LIMITS::features ...
int MBG_TIME_MON_TARGET_STATUS_IDX
Server settings of an NTP device.
(rw-) IONO, GPS ionospheric correction parameters
MBG_ASYNC_DATA_RESET_FNC * async_data_reset_fnc
See mbgextio_register_async_data_reset_callback.
(r–) STAT_INFO, satellite info, mode of operation, and DAC info, only if GPS_MODEL_HAS_STAT_INFO ...
(rw-) MBG_IMS_FDM_SETTINGS, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE::flags ...
PZF correlation status info.
(r–) IRIG_INFO, only if GPS_HAS_IRIG_TX
(r–) MBG_TIME_MON_TARGET_STATUS_IDX
(rw-) MBG_OPT_SETTINGS, only if GPS_HAS_OPT_SETTINGS
MBG_NACK_HANDLER_FNC * nack_handler_fnc
See mbgextio_register_nack_callback.
An SV number plus the SV's ephemeris data.
POUT_SETTINGS_IDX pout_settings_idx
XMR_STATS_IDX xmr_stats_idx
(rwa) encrypted binary raw packet
An SV number plus the SV's almanac data.
MBG_SNMP_GLB_INFO snmp_glb_info
(-w-) MBG_TLV_ANNOUNCE, send and announcement for a subsequent TLV, only if MBG_XFEATURE_TLV_API ...
MBG_EXT_SYS_INFO ext_sys_info
PORT_INFO_IDX port_info_idx
Current settings and capabilities of a HaveQuick input or output.
see MBG_MSG_RCV_CTL_BIT_DECRYPT_ERR
(r–) PTP_SMPTE_PROFILE_CFG, only supp. if PTP_CFG_MSK_HAS_SMPTE_TLV_STATE is set in PTP_CFG_INFO::su...
A buffer for a message header plus data part.
(r–) MBG_NET_INTF_ROUTE_INFO_IDX, route status, only if MBG_NET_GLB_SUPP_STAGE_2_MASK is set in MBG_...
Received message was too long for the message receive buffer.
uint16_t SVNO
the number of an SV (Space Vehicle, i.e. satellite)
NTP_SYMM_KEY_SETTINGS_IDX ntp_symm_key_settings_idx
int xfer_mode
transfer mode, see MBG_XFER_MODES
NTP_SRV_MODE_INFO ntp_srv_mode_info
Satellite receiver status information.
(rw-) IP4_SETTINGS, only if GPS_HAS_LAN_IP4
(rw-) MBG_PWR_CTL, set or retrieve device power state, only if MBG_XFEATURE_PWR_CTL_API ...
Waiting for a binary message, i.e. no START_OF_HEADER received, yet.
(r–) CORR_INFO, correlation info, only if GPS_MODEL_IS_DCF_PZF
XMR_QL_INFO_IDX xmr_ql_info_idx
see MBG_MSG_RCV_CTL_BIT_RCVD_HDR
MBG_PTP_V1_TIME_PROPERTIES_DATASET ptp_v1_time_properties_dataset
NTP_REFCLK_STATE_IDX ntp_refclk_state_idx
MBG_SYSLOG_GLB_INFO syslog_glb_info
int xmt_cmd_u32(MBG_MSG_CTL *pmctl, const XBP_ADDR *p_addr, GPS_CMD cmd, uint32_t u32)
Send a binary command message with 32 bit parameter.
Software revision information.
A structure used to report XBP features and limits.
MBG_STD_MSG std_msg
Encapsulated standard message.
Current settings and general capabilities of a specific serial port.
NTP_GLB_INFO ntp_glb_info
int mbg_ftdi_ft_status_to_mbg(int status)
Translate a FTDI API status code to one of the MBG_ERROR_CODES.
A structure used to query MULTI_REF configuration parameters.
MBG_IMS_FDM_OUTPUT_STATE_IDX fdm_output_state_idx
XMULTI_REF_INSTANCES xmulti_ref_instances
CSUM msg_hdr_csum(const MSG_HDR *pmh)
Compute the checksum of a binary message header.
(rw-) deprecated, PORT_PARM, use PORT_SETTINGS etc. if GPS_RECEIVER_INFO supported ...
Local calendar date and time, plus sync status.
(rw-) MBG_SERVICE_INFO_IDX / MBG_SERVICE_SETTINGS_IDX, index 0 .. MBG_SERVICE_MGMT_INFO::num_services...
CSUM hdr_csum
checksum of the preceding header bytes
NTP_REFCLK_CFG_SETTINGS_IDX ntp_refclk_cfg_settings_idx
(r–) MBG_GPIO_CFG_LIMITS, only if GPS_HAS_GPIO
(r–) MBG_IMS_STATE, only if GPS_HAS_IMS
double LLA[N_LLA]
A geographic position based on latitude, longitude, and altitude.
(rw-) TZDL, time zone / daylight saving, only if GPS_MODEL_HAS_TZDL
A structure combining all device feature information.
MBG_GPIO_STATUS_IDX gpio_status_idx
NTP_CLNT_MODE_INFO ntp_clnt_mode_info
Configuration settings of an IRIG input or output.
MBG_DATABASE_GLB_INFO db_glb_info
(r–) ROM_CSUM, not supported by all devices
General info to be read from an LNE device.
(r–) GNSS_SAT_INFO, GLONASS-only satellite info (deprecated by GPS_GNSS_SAT_INFO_IDX) ...
(rw-) UTC, GPS UTC correction parameters
(rw-) LLA, current position in geographic coordinates, only if GPS_MODEL_HAS_POS_LLA ...
(r–) first/oldest MBG_EVT_LOG_ENTRY, only if GPS_HAS_EVT_LOG
Query MBG_NET_INTF_ADDR_INFO by its index.
Current settings and general capabilities of an LED, plus index.
SHS_SETTINGS shs_settings
Configuration settings for a single LNE port, plus index.
The header checksum of a received message is invalid.
Configuration settings for a single LED, plus index.
(rw-) NTP_TRUSTED_KEY_INFO_IDX / NTP_TRUSTED_KEY_SETTINGS_IDX, only if NTP_GLB_INFO::max_trusted_keys...
MBG_NET_INTF_ROUTE_INFO_IDX net_intf_route_info_idx
MBG_GNSS_MODE_SETTINGS gnss_mode_settings
MBG_EVT_LOG_ENTRY evt_log_entry
I/O error for the specified connection.
CSUM data_csum
checksum of the data portion appended after the header
(—) settings and password for LAN interface
MBG_EVENT_VALUE_IDX event_value_idx
MBG_SNMP_V3_INFO_IDX snmp_v3_info_idx
int conn_type
One of the MBG_CONN_TYPES.
PTP_CFG_INFO ptp_cfg_info
GPS_CMD_CTRL_CODES
Control codes to be or'ed with a particular command/type code.
An XBP address specifier.
uint16_t MULTI_REF_STATUS
A data type used to query MULTI_REF status information.
(r–) MBG_IO_PORT_INFO_IDX, only supp. if MBG_XFEATURE_IO_PORTS is set in extended features and from ...
Specific output settings and limits, plus index.
int buf_size
size of buffer, including header
(r–) ASCII_MSG, the GPS ASCII message
MBG_SNMP_V12_INFO_IDX snmp_v12_info_idx
(rw-) MBG_NET_INTF_ROUTE_INFO_IDX/MBG_NET_INTF_ROUTE_SETTINGS_IDX, only if MBG_NET_GLB_SUPP_STAGE_2_M...
A binary message has been received successfully.
MBG_PTP_V2_TIME_PROPERTIES_DATASET ptp_v2_time_properties_dataset
(r–) MULTI_REF_INFO, only if GPS_HAS_MULTI_REF
Antenna status and error at reconnect information.
MBG_FW_UFU_FLASH_CMD fw_ufu_flash_cmd
MBG_IMS_FDM_STATE fdm_state
(rw-) MBG_PTP_V1_PORT_DATASET_IDX, only supp. if PTP_CFG_MSK_HAS_V1_COMMON_DATASETS is set in PTP_CFG...
PTP_UC_MASTER_CFG_LIMITS ptp_uc_master_cfg_limits
MBG_LED_INFO_IDX led_info_idx
MBG_MSG_RCV_CTL_MASKS
Receive control bit masks.
MBG_PTP_V1_PARENT_DATASET ptp_v1_parent_dataset
MBG_MONITORING_LIMITS monitoring_limits
MBG_IO_PORT_TYPE_INFO_IDX iop_type_info_idx
MULTI_REF_INFO multi_ref_info
RECEIVER_INFO receiver_info
NTP_PEER_STATE_IDX ntp_peer_state_idx
XMR_METRICS_IDX xmr_metrics_idx
MBG_USER_MNGMNT_INFO user_mngmnt_info
XMR_EXT_SRC_INFO_IDX xmr_ext_src_info_idx
MBG_TLV_ANNOUNCE tlv_announce
to device: request acknowledge
(r–) MBG_IMS_FDM_STATE, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE::flags ...
(rw-) MBG_NET_GLB_CFG_INFO/MBG_NET_GLB_CFG_SETTINGS, only if GPS_HAS_NET_CFG
pthread_mutex_t MBG_MUTEX
XMR_QL_SETTINGS_IDX xmr_ql_settings_idx
XMR_HOLDOVER_INTV xmr_holdover_intv
(rw-) deprecated, use GPS_POUT_INFO_IDX/GPS_POUT_SETTINGS_IDX
Server settings info of an NTP device.
The format of a standard binary message.
XBP_ADDR xbp_addr
XBP address of the transmitter or receiver.
General NTP symmetric key limits to be read from a device.
(rw-) MBG_PTP_V2_DEFAULT_DATASET, only supp. if PTP_CFG_MSK_HAS_V2_COMMON_DATASETS is set in PTP_CFG_...
(-w-) Transmit UFU flash instructions MBG_FW_UFU_FLASH_CMD
MBG_GPIO_INFO_IDX gpio_info_idx
MBG_SNMP_GLB_SETTINGS snmp_glb_settings
(rw-) MBG_NET_INTF_LINK_INFO_IDX/MBG_NET_INTF_LINK_SETTINGS_IDX, only if MBG_NET_GLB_SUPP_STAGE_2_MAS...
MBG_USER_STATUS user_status
see MBG_MSG_RCV_CTL_BIT_MSG_TOO_LONG
ENABLE_FLAGS enable_flags
Current settings and general capabilities of an LNE port, plus index.
(rw-) MBG_LNE_PORT_SETTINGS_IDX, settings of a specific LED, only if MBG_XFEATURE_LNE_API ...
(rw-) SHS_INFO/SHS_SETTINGS, only if GPS_HAS_SHS
(-w-) no data, let the device reboot itself, only supp. if MBG_XFEATURE_REBOOT
int MBG_TIME_MON_INST_INFO
GNSS_SV_STATUS_IDX gnss_sv_status_idx
XMULTI_REF_STATUS_IDX xmulti_ref_status_idx
(r–) PTP_STATE, current PTP status, only if GPS_HAS_PTP
int cnt
the number of bytes to be received
MSG_HDR hdr
Message header containing the command code and length of the data portion.
(rw-) MBG_IMS_FDM_OUTPUT_SETTINGS_IDX, only if MBG_IMS_STATE_FLAG_MSK_HAS_FDM is set in MBG_IMS_STATE...
A structure used to identify a device type and supported features.
Global configuration settings of an NTP device (client/server)
connection via network socket
(rw-) PCPS_TIME, date/time/status, only if GPS_MODEL_IS_DCF_PZF
uint16_t TZCODE
Type of variable to hold a TZ code.
PCPS_TZCODE pci
code retrieved via PCI bus
NTP trusted key settings, with index.
from device: error evaluating a command
(r–) MBG_OPT_INFO, only if GPS_HAS_OPT_SETTINGS
(r–) XMR_EXT_SRC_INFO_IDX, only if XMRIF_MSK_EXT_SRC_INFO_SUPP
Output state of FDM device plus index.
Global current network settings and supported features.
(r–) deprecated, use GPS_RECEIVER_INFO
MBG_CLK_RES_INFO mbg_clk_res_info
(rw-) SYNTH, synthesizer settings, only if GPS_HAS_SYNTH
General NTP misc limits to be read from a device.
uint32_t MBG_DEBUG_STATUS
A data type used to read the board's debug status.
(r–) MBG_NET_NAME_IDX, DNS status, only if MBG_NET_GLB_CFG_INFO::n_supp_dns_srch_dom > 0 ...
(r–) MBG_EVENT_VALUE_IDX, only supp. if MBG_EVENT_INFO::value_dict_entries > 0
MBG_FW_INFO_IDX fw_info_idx
NTP symmetric key settings, with index.
Simple LAN interface information.
MBG_PTP_V1_DEFAULT_DATASET ptp_v1_default_dataset
(r–) IP4_SETTINGS, only if GPS_HAS_LAN_IP4
(rw-) MBG_USER_MNGMNT_INFO / MBG_USER_MNGMNT_SETTINGS, only supp. if MBG_XFEATURE_USER_MNGMNT ...
(r–) MBG_NET_GLB_CFG_INFO, network status, only if MBG_NET_GLB_SUPP_STAGE_2_MASK is set in MBG_NET_G...
A structure controlling when output signals are enabled.
Current settings and general capabilities of a specific programmable pulse output.
(rw-) NAV_ENGINE_SETTINGS, only if GPS_HAS_NAV_ENGINE_SETTINGS
A union of all data types used with the binary protocol.
(rw-) TR_DISTANCE, dist. from transmitter [km], only if GPS_MODEL_IS_DCF_PZF
MBG_LNE_LIMITS lne_limits
MBG_TMO_TIME tstamp
time when the first byte of the packet was received