docs: 补充核心分层中文注释

This commit is contained in:
chenjintao
2026-09-29 18:18:44 +08:00
parent a77471a7b1
commit 9fd01bb61b
81 changed files with 1189 additions and 112 deletions
@@ -8,6 +8,11 @@
extern "C" {
#endif
/*
* Wi-Fi 门户内部契约:封装第三方 wifi-manager、凭据优先级和连接等待。
* 所有连接 API 都在调用者给定的超时内结束,返回后不启动隐藏的破坏性重试。
* 行为钩子只用于唤醒保持和提示音,具体连接策略仍由 control_plane 拥有。
*/
typedef struct {
void (*set_keep_awake)(bool keep_awake);
esp_err_t (*play_prompt_file)(const char *path);