Files
bitchat-android/docs/CODEX_WIFI_FIX_PLAN.md
2026-06-10 14:14:28 +02:00

19 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.