Files
webradiotest/include/wifi_ui.h
DESKTOP-PUHFO60\dsx2016 d75c252b9e 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>
2026-10-28 08:04:11 +08:00

22 lines
543 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#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);