Add storage management commands for RevisionE panels#16
Open
emaspa wants to merge 1 commit into
Open
Conversation
This was referenced Feb 7, 2026
22865d8 to
8331b9a
Compare
Add methods to manage on-device storage for RevisionE serial panels: - QueryStorageInfo() - returns storage usage in KB - ListDirectory(path) - lists files in a directory - DeleteFile(path) - deletes a file - UploadFile(path, data) - uploads a file with scaled timeout - StopMedia() / StartMedia() - control media playback These commands use the same 250-byte packet protocol as display operations. File uploads write raw data directly to serial (not framed) after the CreateFile command, with timeout scaled to file size for reliability. Tested with the Shiny Snake G600 11.3" (Turing 10.2") panel which stores images at /mnt/UDISK/img/.
Contributor
Author
Update: ReadStringResponse improvementsFollowing up on the ReadTo() timeout discussion, I've reworked Problem: The original Solution: Rewrote
This matches the approach used by the ShinySnake/TURZX apps (RJCP.SerialPortStream with Additional changes in this update:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #15