diff --git a/application.options b/application.options index 338bb67..f1d2cdb 100644 --- a/application.options +++ b/application.options @@ -4,5 +4,6 @@ PB_App.StartRequest.name type:FT_POINTER PB_App.StartRequest.name max_length:512 PB_App.AppLoadFileRequest.path max_length:512 PB_App.AppButtonPressRequest.args max_length:512 +PB_App.AppButtonPressReleaseRequest.args max_length:512 PB_App.GetErrorResponse.text type:FT_POINTER PB_App.DataExchangeRequest.data type:FT_POINTER diff --git a/application.proto b/application.proto index eae150d..4c82cdf 100644 --- a/application.proto +++ b/application.proto @@ -30,6 +30,11 @@ message AppButtonPressRequest { message AppButtonReleaseRequest { } +message AppButtonPressReleaseRequest { + string args = 1; + int32 index = 2; +} + enum AppState { APP_CLOSED = 0; APP_STARTED = 1;