SNTP Helper
公共头文件:
#include "brookesia/service_helper/network/sntp.hpp"
概述
本页用于查看 SNTP helper 的原始 Doxygen API,包括服务器、时区、同步状态、事件 helper 与相关宏定义。
API 参考
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.
- 返回
std::string_view Stable service name.
-
enum class State