ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
Loading...
Searching...
No Matches
foresthub::platform::TimeConfig Struct Reference

Call-time configuration for time synchronization. More...

#include <time.hpp>

Public Attributes

const char * time_server = "pool.ntp.org"
 Hostname of the time server.
long std_offset_sec = 0
 Timezone standard offset from UTC in seconds (e.g., 3600 for CET).
int dst_offset_sec = 0
 Additional daylight saving offset in seconds (e.g., 3600 when active).
unsigned long timeout_ms = 5000
 Maximum wait for synchronization in milliseconds.

Detailed Description

Call-time configuration for time synchronization.

Passed to SyncTime() to control the synchronization source and behavior. All fields have sensible defaults, so SyncTime() works without arguments.


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