diff --git a/Changelog b/Changelog index 2387ec8..bf1123f 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,9 @@ # Changelog +## [0.19] +### Added +- Storage ListRequest message now supports md5sum calculation for each file + ## [0.18] ### Added - Loader is now able to load apps from SD card diff --git a/storage.options b/storage.options index 2bbb48d..1031259 100644 --- a/storage.options +++ b/storage.options @@ -19,5 +19,6 @@ PB_Storage.ListResponse.file max_count:8 // not affected by nanopb, so server & client should keep in mind these max values PB_Storage.File.data max_size:512 PB_Storage.Md5sumResponse.md5sum max_length:32 +PB_Storage.File.md5sum max_length:32 PB_Storage.*.path max_length:255 diff --git a/storage.proto b/storage.proto index 286bd3a..d9e7349 100644 --- a/storage.proto +++ b/storage.proto @@ -12,6 +12,7 @@ message File { string name = 2; uint32 size = 3; bytes data = 4; + string md5sum = 5; } message InfoRequest { @@ -41,6 +42,7 @@ message StatResponse { message ListRequest { string path = 1; + bool include_md5 = 2; } message ListResponse {