Goby3  3.1.5a
2024.05.23
pty_config.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "goby/protobuf/option_extensions.proto";
3 import "dccl/option_extensions.proto";
4 
5 package goby.middleware.protobuf;
6 
7 message PTYConfig
8 {
9  required string port = 1 [(goby.field) = {
10  example: "/tmp/ttytest0"
11  description: "Name for created PTY device symlink."
12  }];
13  optional uint32 baud = 2 [
14  default = 115200,
15  (goby.field) = {description: "Serial baud for PTY device"}
16  ];
17  optional string end_of_line = 3 [
18  default = "\n",
19  (goby.field) = {
20  description: "End of line string. Can also be a std::regex"
21  }
22  ];
23 }