mbgtools-lx  4.2.8
PTP_UC_MASTER_SETTINGS Struct Reference

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...
 

Detailed Description

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.

Definition at line 14274 of file gpsdefs.h.

Field Documentation

◆ ann_intv

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().

◆ delay_req_intv

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().

◆ fix_offset

int32_t PTP_UC_MASTER_SETTINGS::fix_offset

constant time offset to be compensated [ns]

Definition at line 14282 of file gpsdefs.h.

◆ flags

uint32_t PTP_UC_MASTER_SETTINGS::flags

reserved, currently always 0

Definition at line 14286 of file gpsdefs.h.

◆ gm_clock_id

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().

◆ gm_host

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().

◆ gm_port_id

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().

◆ message_duration

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().

◆ reserved_0

uint16_t PTP_UC_MASTER_SETTINGS::reserved_0

reserved, currently always 0

Definition at line 14284 of file gpsdefs.h.

◆ reserved_1

uint32_t PTP_UC_MASTER_SETTINGS::reserved_1

reserved, currently always 0

Definition at line 14285 of file gpsdefs.h.

◆ sync_intv

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().


The documentation for this struct was generated from the following file: