31 lines
497 B
Protocol Buffer
31 lines
497 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package ledd;
|
|
|
|
message Client {
|
|
int32 id = 1;
|
|
string address = 2;
|
|
int32 max_led = 3;
|
|
string name = 4;
|
|
string version = 5;
|
|
int32 resolution = 6;
|
|
int32 port = 7;
|
|
|
|
map<string, string> options = 10;
|
|
}
|
|
|
|
message ClientSetPercentageAll {
|
|
float percentage = 1;
|
|
repeated int32 client_id = 2;
|
|
}
|
|
|
|
message ClientSetLocalDirect {
|
|
int32 local_id = 1;
|
|
float percentage = 2;
|
|
}
|
|
|
|
message ClientLEDOptions {
|
|
map<string, string> options = 1;
|
|
}
|
|
|