Files
drjones ec3e0449a1 Add live capture visuals: progress bar, blinking active targets, per-network state
- Progress bar under status line shows captured/total WPA targets
- Three visual states per network:
  Green (pending) -> Orange blinking (active target) -> Red + checkmark (captured)
- Active targets show live info: client count during observation,
  EAPOL progress during capture (e.g. " NetworkName 1/2")
- Status line shows channel number and phase context
- LVGL symbols: lightning bolt for active, checkmark for captured
- Title updated to " Capture" with WiFi icon

Made-with: Cursor
2026-03-17 22:25:46 -07:00

20 lines
577 B
C

#pragma once
#include <lvgl.h>
#include "Display_ST7789.h"
#define LVGL_WIDTH (LCD_WIDTH)
#define LVGL_HEIGHT LCD_HEIGHT
#define LVGL_BUF_LEN (LVGL_WIDTH * LVGL_HEIGHT / 20)
#define EXAMPLE_LVGL_TICK_PERIOD_MS 5
void Lvgl_Init(void);
void Timer_Loop(void);
void Ui_SetWifiStatus(const char *text);
void Ui_ClearNetworkList(void);
void Ui_AddNetwork(const char* text, int index);
void Ui_SetNetworkColor(int index, lv_color_t color);
void Ui_SetNetworkText(int index, const char* text);
void Ui_SetProgress(int current, int total);
void Ui_ShowProgress(bool visible);