|
mbgtools-lx
4.2.8
|
Configuration settings specifiying how to query a PTP unicast master. More...
#include <gpsdefs.h>
Data Fields | |
| MBG_HOSTNAME | gm_host |
| grandmaster's hostname or IP address More... | |
| PTP_CLOCK_ID | gm_clock_id |
| use clock ID of master port, or PTP_CLOCK_ID_WILDCARD More... | |
| PTP_PORT_ID | gm_port_id |
| use target port ID of master port (e.g. 135) or PTP_PORT_ID_WILDCARD More... | |
| int16_t | sync_intv |
| sync interval [log2 s] More... | |
| int16_t | ann_intv |
| announce interval [log2 s] More... | |
| int16_t | delay_req_intv |
| delay request interval [log2 s] More... | |
| int32_t | fix_offset |
| constant time offset to be compensated [ns] More... | |
| uint16_t | message_duration |
| time period until master stops sending messages [s] More... | |
| uint16_t | reserved_0 |
| reserved, currently always 0 More... | |
| uint32_t | reserved_1 |
| reserved, currently always 0 More... | |
| uint32_t | flags |
| reserved, currently always 0 More... | |
Configuration settings specifiying how to query a PTP unicast master.
This structure is used on a unicast slave to specify the settings of a unicast master polled by the slave. The number of unicast masters which can be specified depends on the capabilities of the slave device and is returned in PTP_UC_MASTER_CFG_LIMITS::n_supp_master.
The structure PTP_UC_MASTER_SETTINGS_IDX should be sent to the device to save the configuration.
| int16_t PTP_UC_MASTER_SETTINGS::ann_intv |
announce interval [log2 s]
Definition at line 14280 of file gpsdefs.h.
Referenced by set_ptp_cfg(), and show_ptp_cfg().
| int16_t PTP_UC_MASTER_SETTINGS::delay_req_intv |
delay request interval [log2 s]
Definition at line 14281 of file gpsdefs.h.
Referenced by set_ptp_cfg(), and show_ptp_cfg().
| int32_t PTP_UC_MASTER_SETTINGS::fix_offset |
| uint32_t PTP_UC_MASTER_SETTINGS::flags |
| PTP_CLOCK_ID PTP_UC_MASTER_SETTINGS::gm_clock_id |
use clock ID of master port, or PTP_CLOCK_ID_WILDCARD
Definition at line 14277 of file gpsdefs.h.
Referenced by set_ptp_cfg(), and show_ptp_cfg().
| MBG_HOSTNAME PTP_UC_MASTER_SETTINGS::gm_host |
grandmaster's hostname or IP address
Definition at line 14276 of file gpsdefs.h.
Referenced by set_ptp_cfg(), and show_ptp_cfg().
| PTP_PORT_ID PTP_UC_MASTER_SETTINGS::gm_port_id |
use target port ID of master port (e.g. 135) or PTP_PORT_ID_WILDCARD
Definition at line 14278 of file gpsdefs.h.
Referenced by set_ptp_cfg(), and show_ptp_cfg().
| uint16_t PTP_UC_MASTER_SETTINGS::message_duration |
time period until master stops sending messages [s]
Definition at line 14283 of file gpsdefs.h.
Referenced by set_ptp_cfg(), and show_ptp_cfg().
| uint16_t PTP_UC_MASTER_SETTINGS::reserved_0 |
| uint32_t PTP_UC_MASTER_SETTINGS::reserved_1 |
| int16_t PTP_UC_MASTER_SETTINGS::sync_intv |
sync interval [log2 s]
Definition at line 14279 of file gpsdefs.h.
Referenced by set_ptp_cfg(), and show_ptp_cfg().