mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-09-22 13:45:54 +00:00
A built-in USB Files app (T-Deck and Heltec V4 for now) lets the page at files.wadamesh.com browse, upload, download, rename and delete files on the SD card, internal storage and the map tiles over Web Serial. File level, not USB mass storage: the device keeps its filesystems mounted, the radio keeps running, and the firmware enforces what may change. Live data (identity, contacts, settings, history; /meshcomod on the card) is download-only. - UsbFilesProtocol.h: framed messages (E7 5A, CRC32), a resyncing parser, path checks and the access policy; host tests in test/. - UsbFilesSession: one request at a time (both Arduino USB serial drivers drop bytes when their RX queue is full), RX queue sized per session, SD data through a DMA-capable bounce buffer, FatFs listings with sizes, a beacon so the page never talks first, SD Scan's malware verdict per file. - The companion link and MyMesh's console step off USB while it runs. - Website: labelled side buttons, a USB Files button and card; the files.wadamesh.com page, vhost and deploy script. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>