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:
authorNikolay Minaylov <nm29719@gmail.com>2022-07-22 15:46:30 +0300
committerGitHub <noreply@github.com>2022-07-22 15:46:30 +0300
commitcc5918dc488ac3617012ce5377114e086b447324 (patch)
tree28afec6c3d8afe7b882113a67623861cc0de3317
parentd9e343661dd36cfab792b78be1dea4e5950cb4dd (diff)
App state message (#34)0.11
-rw-r--r--Changelog4
-rw-r--r--application.proto8
-rw-r--r--flipper.proto1
3 files changed, 13 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 037dc96..20a4966 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,9 @@
# Changelog
+## [0.11]
+### Added
+- App messages: AppStateResponse
+
## [0.10]
### Added
- GPIO message: SetPinMode, SetInputPull, GetPinMode, GetPinModeResponse, ReadPin, ReadPinResponse, WritePin
diff --git a/application.proto b/application.proto
index eda9471..85f830a 100644
--- a/application.proto
+++ b/application.proto
@@ -29,3 +29,11 @@ message AppButtonPressRequest {
message AppButtonReleaseRequest {
}
+enum AppState {
+ APP_CLOSED = 0;
+ APP_STARTED = 1;
+};
+
+message AppStateResponse {
+ AppState state = 1;
+}
diff --git a/flipper.proto b/flipper.proto
index c860bf4..ca16eb5 100644
--- a/flipper.proto
+++ b/flipper.proto
@@ -115,6 +115,7 @@ message Main {
.PB_Gpio.ReadPin gpio_read_pin = 55;
.PB_Gpio.ReadPinResponse gpio_read_pin_response = 56;
.PB_Gpio.WritePin gpio_write_pin = 57;
+ .PB_App.AppStateResponse app_state_response = 58;
}
}