30 lines
443 B
Protocol Buffer
30 lines
443 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package ledd;
|
|
|
|
import "hsv.proto";
|
|
|
|
message LED {
|
|
string name = 1;
|
|
int32 id = 2;
|
|
int32 remote_id = 3;
|
|
int32 client_unique = 4;
|
|
HSV color = 5;
|
|
|
|
map<string, string> options = 10;
|
|
}
|
|
|
|
message LEDGroup {
|
|
enum GroupType {
|
|
RGB = 0;
|
|
USER = 1;
|
|
}
|
|
|
|
string name = 1;
|
|
int32 id = 2;
|
|
GroupType type = 3;
|
|
int32 size = 4;
|
|
HSV color = 5;
|
|
|
|
repeated int32 led_ids = 10;
|
|
} |