Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/flipperdevices/flipperzero-protobuf.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Kharisov <albert@flipperdevices.com>2021-09-28 20:39:19 +0300
committerAlbert Kharisov <albert@flipperdevices.com>2021-09-30 15:27:18 +0300
commit3e8a9252e9538f3976c375e764ace32755a8ff05 (patch)
treeb8b555157682e9dc4164a9347e9ca3db75a0bce4
parent5523e8d62e5ebf584eac358ea200e6213372d7ae (diff)
uint64 -> uint32; nanopb: dynamic alloc
-rw-r--r--flipper.proto2
-rw-r--r--storage.options9
-rw-r--r--storage.proto2
3 files changed, 10 insertions, 3 deletions
diff --git a/flipper.proto b/flipper.proto
index 47ac774..c17b57e 100644
--- a/flipper.proto
+++ b/flipper.proto
@@ -16,7 +16,7 @@ message Dummy {
}
message Main {
- uint64 command_id = 1;
+ uint32 command_id = 1;
CommandStatus command_status = 2;
bool not_last = 3;
oneof content {
diff --git a/storage.options b/storage.options
index 0313e5d..c4d751e 100644
--- a/storage.options
+++ b/storage.options
@@ -4,5 +4,12 @@
//PB_Storage.ListRequest.path max_count:10
//PB_Storage.ListRequest.path fixed_count:true
-*.path type:FT_POINTER
+PB_Storage.Element.name type:FT_POINTER
+PB_Storage.Element.data type:FT_POINTER
+PB_Storage.ListRequest.path type:FT_POINTER
+PB_Storage.ReadRequest.filepath type:FT_POINTER
+PB_Storage.WriteRequest.path type:FT_POINTER
+PB_Storage.DeleteRequest.filename type:FT_POINTER
+
+PB_Storage.ListResponse.storage_element max_count:8
diff --git a/storage.proto b/storage.proto
index 44d03f0..a97e038 100644
--- a/storage.proto
+++ b/storage.proto
@@ -9,7 +9,7 @@ message Element {
}
FileType type = 1;
string name = 2;
- uint64 size = 3;
+ uint32 size = 3;
bytes data = 4;
}