mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
feat(route): Discover - path discovery from the device, 1/3/5 tries 20 s apart, the routes found to use in the route editor
MyMesh::sendPathDiscovery() shares the request with the app's CMD_SEND_PATH_DISCOVERY_REQ and hands the reply (the way there and back) to the UI; PathEditor keeps up to 4 distinct routes with how often each came. L2: Find the route under Route; L1: Discover row in Path / trace. Docs: Discover, message routes on the map, Ask status and discovery. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -127,6 +127,11 @@ public:
|
||||
void routeStatus();
|
||||
uint32_t routeSig();
|
||||
void routePoll();
|
||||
void routeDiscRebuild();
|
||||
uint32_t routeDiscSig();
|
||||
void routeDiscover();
|
||||
void routeDiscTries(int sel);
|
||||
void routeUseFound(int i);
|
||||
void routeAct(uint8_t act);
|
||||
void routeOp(int code);
|
||||
void routeKeep();
|
||||
@@ -664,6 +669,8 @@ private:
|
||||
lv_obj_t* _route_save_btn = nullptr;
|
||||
lv_obj_t* _route_probe_row = nullptr; // "Find where it stops", after a trace with no reply
|
||||
lv_obj_t* _route_note = nullptr;
|
||||
lv_obj_t* _route_disc = nullptr; // Discover: the tries, its progress, the routes found
|
||||
uint32_t _route_disc_shown = 0xFFFFFFFF; // what routeDiscRebuild() drew (routeDiscSig())
|
||||
lv_obj_t* _route_keep_btn = nullptr; // header: Keep (accent while kept)
|
||||
uint32_t _route_shown = 0xFFFFFFFF; // what routeRebuild() drew (routeSig())
|
||||
uint32_t _next_route_ms = 0;
|
||||
|
||||
Reference in New Issue
Block a user