@@ -23,8 +23,8 @@ import "google/protobuf/struct.proto";
23
23
24
24
// MonitorService provides services for boards monitor.
25
25
// DEPRECATION WARNING: MonitorService is deprecated and will be removed in a
26
- // future release. Use CommandService .Monitor and
27
- // CommandService .EnumerateMonitorPortSettings instead.
26
+ // future release. Use ArduinoCoreService .Monitor and
27
+ // ArduinoCoreService .EnumerateMonitorPortSettings instead.
28
28
service MonitorService {
29
29
// Open a bidirectional monitor stream. This can be used to implement
30
30
// something similar to the Arduino IDE's Serial Monitor.
@@ -37,9 +37,9 @@ service MonitorService {
37
37
// must contain a `monitor_config` message to initialize the monitor target.
38
38
// All subsequent messages must contain bytes to be sent to the target
39
39
// and must not contain a `monitor_config` message.
40
- // DEPRECATION WARNING: StreaminOpenRequest is deprecated and will be removed in
41
- // a future release. Use CommandService .Monitor and
42
- // CommandService .EnumerateMonitorPortSettings instead.
40
+ // DEPRECATION WARNING: StreamingOpenRequest is deprecated and will be removed
41
+ // in a future release. Use ArduinoCoreService .Monitor and
42
+ // ArduinoCoreService .EnumerateMonitorPortSettings instead.
43
43
message StreamingOpenRequest {
44
44
// Content must be either a monitor config or data to be sent.
45
45
oneof content {
@@ -60,8 +60,8 @@ message StreamingOpenRequest {
60
60
// Tells the monitor which target to open and provides additional parameters
61
61
// that might be needed to configure the target or the monitor itself.
62
62
// DEPRECATION WARNING: MonitorConfig is deprecated and will be removed
63
- // in a future release. Use CommandService .Monitor and
64
- // CommandService .EnumerateMonitorPortSettings instead.
63
+ // in a future release. Use ArduinoCoreService .Monitor and
64
+ // ArduinoCoreService .EnumerateMonitorPortSettings instead.
65
65
message MonitorConfig {
66
66
enum TargetType {
67
67
TARGET_TYPE_SERIAL = 0 ;
@@ -83,8 +83,8 @@ message MonitorConfig {
83
83
}
84
84
85
85
// DEPRECATION WARNING: StreamingOpenResponse is deprecated and will be removed
86
- // in a future release. Use CommandService .Monitor and
87
- // CommandService .EnumerateMonitorPortSettings instead.
86
+ // in a future release. Use ArduinoCoreService .Monitor and
87
+ // ArduinoCoreService .EnumerateMonitorPortSettings instead.
88
88
message StreamingOpenResponse {
89
89
// The data received from the target.
90
90
bytes data = 1 ;
0 commit comments