diff options
author | Georgii Surkov <georgii.surkov@outlook.com> | 2022-11-10 15:18:00 +0300 |
---|---|---|
committer | Georgii Surkov <georgii.surkov@outlook.com> | 2022-11-10 15:18:00 +0300 |
commit | 0082ec509bed0216bde14d621d82e305217ee47d (patch) | |
tree | 29d734689061568d2fa0acd20ccfdedba7046a3f | |
parent | e5af96e08fea8351898f7b8c6d1e34ce5fd6cdef (diff) |
Add Property subsystemgsurkov/2957_unified_info
-rw-r--r-- | Changelog | 5 | ||||
-rw-r--r-- | flipper.proto | 3 | ||||
-rw-r--r-- | property.options | 3 | ||||
-rw-r--r-- | property.proto | 13 |
4 files changed, 24 insertions, 0 deletions
@@ -1,5 +1,10 @@ # Changelog +## [0.14] +### Added +- New subsystem: Property +- Property: Get + ## [0.13] ### Added - Storage: timestamp diff --git a/flipper.proto b/flipper.proto index 87900f2..597d07d 100644 --- a/flipper.proto +++ b/flipper.proto @@ -4,6 +4,7 @@ import "system.proto"; import "application.proto"; import "gui.proto"; import "gpio.proto"; +import "property.proto"; package PB; option java_package = "com.flipperdevices.protobuf"; @@ -118,6 +119,8 @@ message Main { .PB_Gpio.ReadPinResponse gpio_read_pin_response = 56; .PB_Gpio.WritePin gpio_write_pin = 57; .PB_App.AppStateResponse app_state_response = 58; + .PB_Property.GetRequest property_get_request = 61; + .PB_Property.GetResponse property_get_response = 62; } } diff --git a/property.options b/property.options new file mode 100644 index 0000000..3cfad35 --- /dev/null +++ b/property.options @@ -0,0 +1,3 @@ +PB_Property.GetRequest.key type:FT_POINTER +PB_Property.GetResponse.key type:FT_POINTER +PB_Property.GetResponse.value type:FT_POINTER diff --git a/property.proto b/property.proto new file mode 100644 index 0000000..2f164ce --- /dev/null +++ b/property.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package PB_Property; +option java_package = "com.flipperdevices.protobuf.property"; + +message GetRequest { + string key = 1; +} + +message GetResponse { + string key = 1; + string value = 2; +} |