This commit is contained in:
CC
2026-06-10 14:14:28 +02:00
parent 2bd2751a6a
commit fc38a8c6b6
57 changed files with 1157 additions and 621 deletions
+18
View File
@@ -0,0 +1,18 @@
# WiFi Aware + BLE Mesh Fix Plan
## Goals
- One canonical, merged peer list across BLE + WiFi Aware.
- Packets relay seamlessly across transports without flapping or missing peers.
- ANNOUNCE and peer mapping remain consistent, regardless of transport.
## TODO Tracker
- [x] Add a centralized mesh peer registry and merge BLE + WiFi Aware peer lists.
- [x] Route peer list updates through the registry (BLE + WiFi Aware).
- [x] Remove UI state overwrites of connected peers; use merged list for cleanup/notifications/outbox.
- [x] Bridge relay across transports (BLE → WiFi Aware and WiFi Aware → BLE).
- [ ] Verify peer list stability and crosstransport routing with mixed peers.
## Implementation Notes
- Registry should own the merged list and update `AppStateStore` only from the merged result.
- Relay bridging should occur at `PacketProcessorDelegate.relayPacket(...)` to keep relay logic centralized.
- Avoid new loops/duplication: reuse existing TTL/relay rules and do not mutate the routed packet.