Skip to content

History / FileDownloadProtocol

Revisions

  • Uploads checked against their CRC16; file system named only at the start of a name - File uploads: the CRC16 in ufStart is now checked once the file is written (RaftCore PR #29): a mismatch deletes the file and cancels the upload (failCRC); a match is confirmed in the ufEnd reply (crc16), which is kept after the session ends. RaftCore 1.63.0 and earlier ignore it. - File system names: local/ or sd/ name the file system only at the start of a filename (RaftCore PR #28). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 25, 2026
  • Docs for the file system worker, deferred responses, RICREST file transfers, RaftCLI devices and RaftCamera - File system: the file system worker (what uses it), per-file-system locks, flash write stalls and running from PSRAM, slow writes and write pacing; FileManager filesection/filehash and deferred replies; download and upload (ufStart) protocol details; OTA writes on the worker with a deferred HTTP reply (the dedicated OTA task is gone; OTADirect gates every update); DataLogger writes on the worker. - Comms: RICREST frame bytes corrected (0xE7/0xD7), test vectors, file transfer flows, message numbering; deferred responses (transports, element types, msgNum); outbound queues read the next message's type only; HDLC bulk decode and one-pass encode; ThreadSafeQueue moves, peekWith, SpiramAwareAllocator; WebSocket fragments, frames written once, settings. - SysManager: keeping the main loop short, slow SysMod reporting, loopSleepMs default 1. - BLE: releasing the link (bledisconnect, Windows holds a dead client's link about 25 s), subscriptions, MTU sizing, current queue settings and defaults. - SerialConsole: bulk receive, rxBuf defaults, frame encode buffers. - RaftCLI: devices (HTTP, ws://, serial:, ble:), raft fs, raft ble scan, raft libs subcommands; devtypes device commands over every connection. - New page: RaftCamera. - Fixed three anchors that pointed at headings that don't exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 25, 2026
  • Added updates to file/stream processing

    @robdobsn robdobsn committed May 4, 2026
  • Added file transfer document

    @robdobsn robdobsn committed Apr 6, 2026