summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'protocol')
-rw-r--r--protocol/udm.proto13
1 files changed, 11 insertions, 2 deletions
diff --git a/protocol/udm.proto b/protocol/udm.proto
index ccbff46..2facc50 100644
--- a/protocol/udm.proto
+++ b/protocol/udm.proto
@@ -6,19 +6,23 @@ enum UI_ELEMENT_TYPE {
STRING = 0;
INTEGER = 1;
PERCENT_BAR = 2;
+ WINDOW = 3;
}
message ui_element_info {
optional UI_ELEMENT_TYPE type = 1 [default = STRING];
required string id = 2; //internal element id used to get element value
optional string name = 3 [default = "not set"];
+ optional int32 width = 1001 [default = 0];
+ optional int32 height = 1002 [default = 0];
}
message module_info
{
required string name = 1;
- repeated ui_element_info ui_element = 2;
- optional string decription = 3 [default = "no description specified"];
+ required string version = 2;
+ repeated ui_element_info ui_element = 3;
+ optional string decription = 4 [default = "no description specified"];
}
@@ -26,10 +30,13 @@ message module_info
enum CLIENT_MSG_TYPE {
CLIENT_HELLO = 0;
+ CLIENT_AUTH_REQUEST = 1;
+ CLIENT_DATA_TRANSFER_REQUEST = 2;
}
message client_msg {
required CLIENT_MSG_TYPE type = 1;
+ required bytes auth_token = 2;
}
@@ -37,8 +44,10 @@ message client_msg {
enum SERVER_MSG_TYPE {
SERVER_HELLO = 0;
+ SERVER_AUTH_REPLY = 1;
}
message server_msg {
required SERVER_MSG_TYPE type = 1;
+ required bytes auth_token = 2;
}