Add CYD web radio: WiFi provision + HTTP MP3 to DAC26.
Supports 2.8/3.5 boards with on-screen station list; ships flashable firmware packages. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
21
include/wifi_ui.h
Normal file
21
include/wifi_ui.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* LVGL 屏上配网 UI(依赖 wifi_prov)
|
||||
* 复用:拷贝 wifi_ui.* + 在业务里 wifi_ui_create() / wifi_ui_tick()
|
||||
*/
|
||||
|
||||
void wifi_ui_create();
|
||||
void wifi_ui_tick();
|
||||
|
||||
/** 强制进入配网页(改密 / 首次) */
|
||||
void wifi_ui_show_setup();
|
||||
|
||||
/** 显示已连接状态页 */
|
||||
void wifi_ui_show_status();
|
||||
|
||||
bool wifi_ui_is_setup();
|
||||
|
||||
/** 连上后回调;未设置则仍进状态页。业务层可切到电台等主界面。 */
|
||||
using WifiUiConnectedCb = void (*)();
|
||||
void wifi_ui_set_connected_cb(WifiUiConnectedCb cb);
|
||||
Reference in New Issue
Block a user