Start of 5.X work

This commit is contained in:
Sebastien L
2025-03-18 17:38:34 -04:00
parent c0ddf0a997
commit 73bd096f37
442 changed files with 227862 additions and 21075 deletions

19
protobuf/proto/Led.proto Normal file
View File

@@ -0,0 +1,19 @@
syntax = "proto3";
package sys.led;
import "customoptions.proto";
import "GPIO.proto";
import "nanopb.proto";
option (nanopb_fileopt).enum_to_string = true;
enum types {
UNKNOWN = 0;
GPIO = 1;
WS2812 = 2;
}
message config {
option (nanopb_msgopt).packed_struct = true;
option (nanopb_msgopt).msgid = 10029;
gpio.config gpio = 1 [(cust_field).v_msg='{"pin":-1,"level":"LOW"}'];
int32 brightness = 2 [(nanopb).int_size = IS_8]; // 0 to 100%
types led_type = 3;
}