mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-12 22:47:15 +03:00
Start of 5.X work
This commit is contained in:
20
protobuf/proto/Telnet.proto
Normal file
20
protobuf/proto/Telnet.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
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];
|
||||
}
|
||||
Reference in New Issue
Block a user