mbgtools-lx  4.2.8
NTP_PEER_SETTINGS Struct Reference

Peer settings for NTP devices to configure an upload NTP server. More...

#include <gpsdefs.h>

Data Fields

MBG_HOSTNAME hostname
 
uint8_t min_poll
 minimal configurable NTP polling interval More...
 
uint8_t max_poll
 maximal configurable NTP polling interval More...
 
uint8_t ttl
 time-to-live to use with broadcast/multicast/manycast More...
 
uint8_t reserved_1
 reserved, currently 0 More...
 
uint32_t key
 
uint32_t reserved_3
 reserved, currently 0 More...
 
uint32_t reserved_4
 reserved, currently 0 More...
 
uint32_t flags
 additional options configured, see NTP_FLAG_MASKS More...
 

Detailed Description

Peer settings for NTP devices to configure an upload NTP server.

This structure should be read from the NTP client device to retrieve the current settings and capabilities. The number of supported peers is NTP_CLNT_MODE_INFO::n_supp_peers.

Note
The NTP_PEER_SETTINGS_IDX structure should be send back to the device to save the configuration.

Definition at line 16358 of file gpsdefs.h.

Field Documentation

◆ flags

uint32_t NTP_PEER_SETTINGS::flags

additional options configured, see NTP_FLAG_MASKS

Definition at line 16373 of file gpsdefs.h.

◆ hostname

MBG_HOSTNAME NTP_PEER_SETTINGS::hostname

hostname or IP address of the peer, not used when the NTP_BROADCASTCLIENT flag is set

Definition at line 16360 of file gpsdefs.h.

◆ key

uint32_t NTP_PEER_SETTINGS::key

ID of the symmetric key used with this association, this must be in the range 1-65534, 0 = disabled

Definition at line 16368 of file gpsdefs.h.

◆ max_poll

uint8_t NTP_PEER_SETTINGS::max_poll

maximal configurable NTP polling interval

Definition at line 16364 of file gpsdefs.h.

◆ min_poll

uint8_t NTP_PEER_SETTINGS::min_poll

minimal configurable NTP polling interval

Definition at line 16363 of file gpsdefs.h.

◆ reserved_1

uint8_t NTP_PEER_SETTINGS::reserved_1

reserved, currently 0

Definition at line 16366 of file gpsdefs.h.

◆ reserved_3

uint32_t NTP_PEER_SETTINGS::reserved_3

reserved, currently 0

Definition at line 16370 of file gpsdefs.h.

◆ reserved_4

uint32_t NTP_PEER_SETTINGS::reserved_4

reserved, currently 0

Definition at line 16371 of file gpsdefs.h.

◆ ttl

uint8_t NTP_PEER_SETTINGS::ttl

time-to-live to use with broadcast/multicast/manycast

Definition at line 16365 of file gpsdefs.h.


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