Files
trail-mate/modules/ui_shared/include/ui/app_runtime.h
T
vicliu e5c11d6473 Feature/localization from main (#23)
* feat(ui): add runtime English and Chinese localization

* fix(meshtastic): harden t-deck send and ack recovery

Align the T-Deck SX1262 setup with the reference firmware, switch critical radio SPI paths to blocking access, and share RX restart state between direct send paths and the radio task so TX-to-RX handoff cannot silently get stuck.

Also unify Meshtastic wire transmission through a single helper, keep wire packets for ACK-tracked sends, retry ACK timeouts up to three times, and document the issue #21 repair checklist.

Validation: local builds passed for tdeck, tlora_pager_sx1262, lilygo_twatch_s3, and gat562_mesh_evb_pro; clang-format check passed.

Testing status: not fully tested on hardware yet.

* Refactor LXMF runtime toward full Reticulum alignment

Split adapter runtime state into transport, link, and propagation domains.

Add pending path request tracking, stronger link teardown semantics, outbound link establishment, deferred link payload flushing, link keepalive/stale handling, and inbound split-resource assembly.

Document the authoritative Reticulum/LXMF runtime alignment plan and mark the older device-mode plan as historical context.

* feat(web): add pages site and web flasher release flow
2026-04-19 21:08:59 +08:00

22 lines
571 B
C

#pragma once
#include "lvgl.h"
#include "ui/app_screen.h"
extern lv_obj_t* main_screen;
extern lv_group_t* menu_g;
extern lv_group_t* app_g;
void menu_show();
void ui_clear_active_app();
AppScreen* ui_get_active_app();
void ui_switch_to_app(AppScreen* app, lv_obj_t* parent);
void ui_exit_active_app(lv_obj_t* parent);
void ui_request_exit_to_menu();
void ui_request_rebuild_active_app();
void ui_set_overlay_active(bool active);
bool ui_is_overlay_active();
void set_default_group(lv_group_t* group);
lv_obj_t* create_menu(lv_obj_t* parent, lv_event_cb_t event_cb);