30#ifndef RCBENCH_WIFI_SCREEN_H
31#define RCBENCH_WIFI_SCREEN_H
44#define WIFI_SSID_MAX 32
46#define WIFI_PASS_MAX 63
48#define WIFI_SCAN_ROWS 16
50#define WIFI_VER_MAX 32
100 WIFI_OFFER_NEWER = 0,
154#define WIFI_REQ_AP 0x001u
155#define WIFI_REQ_JOIN 0x002u
156#define WIFI_REQ_OFF 0x004u
157#define WIFI_REQ_SCAN 0x008u
158#define WIFI_REQ_SAVE_NET 0x010u
159#define WIFI_REQ_FORGET 0x020u
160#define WIFI_REQ_CODE_ON 0x040u
161#define WIFI_REQ_CODE_OFF 0x080u
162#define WIFI_REQ_DISCARD 0x100u
163#define WIFI_REQ_INSTALL 0x200u
Definition ui_screen.h:68
A keyboard: what it was opened for, what is typed, and the press it holds.
Definition ui_textkey.h:114
Definition wifi_screen.h:224
char what[96]
Definition wifi_screen.h:231
uint32_t written
Definition wifi_screen.h:227
Definition wifi_screen.h:116
char pass[12]
Definition wifi_screen.h:131
wifi_join_t join
Definition wifi_screen.h:129
bool save_failed
Definition wifi_screen.h:124
char name[16]
Definition wifi_screen.h:130
uint32_t idle_left_s
Definition wifi_screen.h:135
wifi_why_t off
Definition wifi_screen.h:128
char code[12]
Definition wifi_screen.h:132
An on-screen keyboard for a short name: capitals, digits, space and the marks a name or a file needs,...
#define WIFI_SCAN_ROWS
The most networks a scan lists.
Definition wifi_screen.h:48
#define WIFI_VER_MAX
The longest version string an image or a release carries.
Definition wifi_screen.h:50
void update_screen_set(const update_view_t *v)
Hand PANEL UPDATE what to show.
Definition update_screen.c:74
int wifi_screen_jobs_lines(void)
Definition wifi_screen.c:660
bool update_screen_take_close(void)
Definition update_screen.c:86
gfx_rect_t wifi_screen_key_area(void)
Where the keyboard opens: the body less UI_MARGIN at its sides and top, ending 4px above the alert ba...
Definition wifi_screen.c:171
void wifi_screen_net(char ssid[WIFI_SSID_MAX+1], char pass[WIFI_PASS_MAX+1])
Definition wifi_screen.c:252
wifi_why_t
Definition wifi_screen.h:64
@ WIFI_WHY_UNAVAILABLE
Definition wifi_screen.h:78
void wifi_screen_set(const wifi_view_t *v)
Definition wifi_screen.c:212
#define WIFI_PASS_MAX
The longest password, in characters.
Definition wifi_screen.h:46
const wifi_view_t * wifi_screen_view(void)
Definition wifi_screen.c:243
wifi_up_t
Definition wifi_screen.h:91
wifi_offer_t
Definition wifi_screen.h:99
@ WIFI_OFFER_INSTALLED
Definition wifi_screen.h:103
@ WIFI_OFFER_REBUILD
Definition wifi_screen.h:102
wifi_join_t
Definition wifi_screen.h:82
void wifi_screen_invalidate(void)
Definition wifi_screen.c:241
const ui_screen_t * update_screen(void)
The PANEL UPDATE screen, for the router.
Definition update_screen.c:262
update_state_t
Where PANEL UPDATE stands.
Definition wifi_screen.h:214
@ UPDATE_FAILED
Definition wifi_screen.h:217
@ UPDATE_FETCH_FAILED
Definition wifi_screen.h:221
@ UPDATE_WRITING
Definition wifi_screen.h:215
@ UPDATE_RESTARTING
Definition wifi_screen.h:216
@ UPDATE_FETCHING
Definition wifi_screen.h:220
unsigned wifi_screen_take(void)
Definition wifi_screen.c:245
bool update_screen_take_cancel(void)
Definition update_screen.c:93
void wifi_screen_set_unavailable(void)
Definition wifi_screen.c:228
wifi_radio_t
Definition wifi_screen.h:53
const ui_screen_t * wifi_screen(void)
The WI-FI screen, for the router.
Definition wifi_screen.c:1043
const ui_textkey_t * wifi_screen_textkey(void)
The screen's keyboard, open or closed; for tests and the renderer, which check what a tap typed.
Definition wifi_screen.c:176
#define WIFI_SSID_MAX
The longest network name, in bytes.
Definition wifi_screen.h:44
wifi_gate_t
Definition wifi_screen.h:107
@ WIFI_GATE_DRAWING
Definition wifi_screen.h:112
@ WIFI_GATE_COPROC
Definition wifi_screen.h:113
void update_screen_invalidate(void)
Repaint PANEL UPDATE on the next frame.
Definition update_screen.c:84