From 6f3f670abe3d2d78a13cd3862e3a587dd4fe4e85 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 28 Aug 2015 21:21:02 +0300 Subject: protocol: typo fix added description to setting_info server: api: using structure with setting info instead of hust string for just value (a bit of necessary complication) renamed few structs to avoid collision with protobuf ones defined few module variables in api itself (a bit of simplification for module developer) modules: adapted to api changes --- protocol/udm.proto | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'protocol') diff --git a/protocol/udm.proto b/protocol/udm.proto index a801b00..0825dc1 100644 --- a/protocol/udm.proto +++ b/protocol/udm.proto @@ -176,8 +176,9 @@ message setting_info { optional string default_value = 1 [default = "empty"]; optional string minimal_value = 2 [default = "not set"]; optional string maximal_value = 3 [default = "not set"]; - repeated string dependencies = 4; //list containing all settings which must be turned on for this setting - repeated string blockers = 5; //list of settings which must be turned of for this setting + optional string description = 4; + repeated string dependencies = 5; //list containing all settings which must be turned on for this setting + repeated string blockers = 6; //list of settings which must be turned of for this setting } message setting { @@ -209,7 +210,7 @@ message module_info //general module info for client including settings, downloa required SERVER_MODULE_TYPE type = 1; required string name = 2; //unique (used as module id) required string version = 3; - optional string decription = 4 [default = "no description specified"]; + optional string description = 4 [default = "no description specified"]; repeated setting settings = 5; repeated module_download_ui_element_info download_info_ui = 6; //always complete here repeated module_download_ui_element_info download_creation_ui = 7; -- cgit v1.2.3