mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
20 lines
513 B
Protocol Buffer
20 lines
513 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package sys.telnet;
|
|
import "nanopb.proto";
|
|
import "customoptions.proto";
|
|
|
|
option (nanopb_fileopt).enum_to_string = true;
|
|
|
|
enum output {
|
|
SERIAL_ONLY = 0;
|
|
TELNET = 1;
|
|
TELNET_SERIAL = 2;
|
|
}
|
|
|
|
message config {
|
|
option (nanopb_msgopt).packed_struct = true;
|
|
output enable = 1 [(cust_field).v_enum = "TELNET_SERIAL"];
|
|
uint32 block = 2 [(nanopb).int_size = IS_16, (cust_field).v_uint32=500];
|
|
uint32 buffer = 3 [(nanopb).int_size = IS_16, (cust_field).v_uint32=40000];
|
|
} |