26 lines
468 B
Protocol Buffer
26 lines
468 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "nanopb.proto";
|
|
|
|
message LightGlobalBrightness {
|
|
required uint32 brightness = 1;
|
|
}
|
|
|
|
enum LightTheme {
|
|
THEME_0 = 0;
|
|
THEME_1 = 1;
|
|
THEME_2 = 2;
|
|
THEME_3 = 3;
|
|
}
|
|
|
|
message LightGlobalTheme {
|
|
required LightTheme theme = 1;
|
|
}
|
|
|
|
message LightThemeSettings {
|
|
required uint32 deviceId = 1;
|
|
required LightTheme theme = 2;
|
|
required uint32 rgb = 3;
|
|
required uint32 brightness = 4;
|
|
required uint32 animation = 5;
|
|
} |