mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
The Wio L1 DualSerialInterface multiplexes BLE + USB on the same frame protocol: when BLE is connected, the USB receive path is ignored, so we can safely push raw GPX bytes to USB without confusing the companion app. When BLE is *not* connected the app is talking over USB itself — the dump would land mid-frame and the app would parse garbage. Block the export when hasConnection() (BLE link to the app) is false and show "Connect BLE or disconnect app". When it's true the dump runs and the confirm alert reads "GPX N B over USB" so the user knows which pipe to read from. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>