@@ -21,7 +21,10 @@ option go_package = "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/monitor/v
21
21
22
22
import "google/protobuf/struct.proto" ;
23
23
24
- // MonitorService provides services for boards monitor
24
+ // MonitorService provides services for boards monitor.
25
+ // DEPRECATION WARNING: MonitorService is deprecated and will be removed in a
26
+ // future release. Use CommandService.Monitor and
27
+ // CommandService.EnumerateMonitorPortSettings instead.
25
28
service MonitorService {
26
29
// Open a bidirectional monitor stream. This can be used to implement
27
30
// something similar to the Arduino IDE's Serial Monitor.
@@ -34,6 +37,9 @@ service MonitorService {
34
37
// must contain a `monitor_config` message to initialize the monitor target.
35
38
// All subsequent messages must contain bytes to be sent to the target
36
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.
37
43
message StreamingOpenRequest {
38
44
// Content must be either a monitor config or data to be sent.
39
45
oneof content {
@@ -53,6 +59,9 @@ message StreamingOpenRequest {
53
59
54
60
// Tells the monitor which target to open and provides additional parameters
55
61
// that might be needed to configure the target or the monitor itself.
62
+ // DEPRECATION WARNING: MonitorConfig is deprecated and will be removed
63
+ // in a future release. Use CommandService.Monitor and
64
+ // CommandService.EnumerateMonitorPortSettings instead.
56
65
message MonitorConfig {
57
66
enum TargetType {
58
67
TARGET_TYPE_SERIAL = 0 ;
@@ -73,6 +82,9 @@ message MonitorConfig {
73
82
int32 recv_rate_limit_buffer = 4 ;
74
83
}
75
84
85
+ // DEPRECATION WARNING: StreamingOpenResponse is deprecated and will be removed
86
+ // in a future release. Use CommandService.Monitor and
87
+ // CommandService.EnumerateMonitorPortSettings instead.
76
88
message StreamingOpenResponse {
77
89
// The data received from the target.
78
90
bytes data = 1 ;
0 commit comments