From 6409ff87a3ef70f9f7a1893856937d76393e1127 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Tue, 12 Dec 2017 21:27:08 +0100 Subject: [PATCH] extended client proto --- client.proto | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/client.proto b/client.proto index 1717755..38b31ee 100644 --- a/client.proto +++ b/client.proto @@ -4,9 +4,11 @@ package ledd; import "hcl.proto"; import "led.proto"; +import "backend.proto"; message Client { string type = 1; + string version = 2; } message AddLED { @@ -47,12 +49,14 @@ message RPCResponse { message ClientWrapperMessage { repeated LED leds = 1; + repeated Backend backends = 2; oneof msg { - Client m_client = 2; - AddLED m_add_led = 3; - RemoveLED m_remove_led = 4; - SetLED m_set_led = 5; - GetLED m_get_led = 6; - SetDirect m_set_direct = 7; + Client m_client = 3; + AddLED m_add_led = 4; + RemoveLED m_remove_led = 5; + SetLED m_set_led = 6; + GetLED m_get_led = 7; + SetDirect m_set_direct = 8; + LedD m_ledd = 9; } }