|
oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
|
C++ wrappers for the oveRTOS SNTP client API. More...

Go to the source code of this file.
Classes | |
| struct | ove::sntp::Config |
| SNTP client configuration with C++ defaults. More... | |
Namespaces | |
| namespace | ove |
| Top-level namespace for all oveRTOS C++ abstractions. | |
| namespace | ove::sntp |
| C++ wrappers around the oveRTOS SNTP client API. | |
Functions | |
| Result< void > | ove::sntp::sync (const Config &cfg={}) noexcept |
| Synchronize with an NTP time server. | |
| Result< int64_t > | ove::sntp::get_offset_us () noexcept |
| Get the UTC offset from the last successful sync. | |
| Result< uint32_t > | ove::sntp::get_utc () noexcept |
| Get current UTC time in seconds since Unix epoch. | |
C++ wrappers for the oveRTOS SNTP client API.