oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Public Attributes | List of all members
ove::sntp::Config Struct Reference

SNTP client configuration with C++ defaults. More...

#include <net_sntp.hpp>

Public Attributes

const char * server {"pool.ntp.org"}
 
uint64_t timeout_ns {OVE_SEC(5)}
 

Detailed Description

SNTP client configuration with C++ defaults.

Member Data Documentation

◆ server

const char* ove::sntp::Config::server {"pool.ntp.org"}

NTP server hostname.

◆ timeout_ns

uint64_t ove::sntp::Config::timeout_ns {OVE_SEC(5)}

Sync timeout (default 5 seconds).


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