12345678910111213141516171819202122232425262728293031 |
- syntax = "proto3";
- package sys.sleep;
- import "GPIO.proto";
- import "nanopb.proto";
- import "customoptions.proto";
- option (nanopb_fileopt).enum_to_string = true;
- message config {
- option (nanopb_msgopt).packed_struct = true;
- option (nanopb_msgopt).msgid = 10035;
-
- uint32 delay = 1;
-
-
- int32 spurious = 2 [(nanopb).int_size = IS_16];
-
-
- gpio.config sleep = 3 [(cust_field).v_msg='{"pin":-1,"level":"LOW"}'];
-
-
- repeated gpio.config wake = 4 [(nanopb).type = FT_POINTER];
-
-
- repeated gpio.config rtc = 5 [(nanopb).type = FT_POINTER];
-
-
- float batt = 6;
- }
|