Supports 2.8/3.5 boards with on-screen station list; ships flashable firmware packages. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
543 B
C
22 lines
543 B
C
#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);
|