SNTP Helper
Public header:
#include "brookesia/service_helper/network/sntp.hpp"
Overview
This page documents the SNTP helper Doxygen API: server, timezone, synchronization state, event helpers, and related macros.
API Reference
Header File
Classes
-
class SNTP : public esp_brookesia::service::helper::Base<SNTP>
Helper schema definitions for the SNTP service.
Public Types
-
enum class State
SNTP synchronization state.
Values:
-
enumerator Stopped
-
enumerator CheckingNetwork
-
enumerator Syncing
-
enumerator Synced
-
enumerator Max
-
enumerator Stopped
Public Static Functions
-
static inline constexpr std::string_view get_name()
Name of the SNTP service.
- Returns
std::string_view Stable service name.
-
enum class State