Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
7afdc383
Unverified
Commit
7afdc383
authored
Jun 01, 2022
by
Cristian Maglie
Committed by
GitHub
Jun 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Monitor gRPC now sends a 'success' message to notify open port (#1742)
parent
d5df4366
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
40 deletions
+57
-40
commands/daemon/daemon.go
commands/daemon/daemon.go
+3
-0
rpc/cc/arduino/cli/commands/v1/monitor.pb.go
rpc/cc/arduino/cli/commands/v1/monitor.pb.go
+51
-40
rpc/cc/arduino/cli/commands/v1/monitor.proto
rpc/cc/arduino/cli/commands/v1/monitor.proto
+3
-0
No files found.
commands/daemon/daemon.go
View file @
7afdc383
...
...
@@ -509,6 +509,9 @@ func (s *ArduinoCoreServerImpl) Monitor(stream rpc.ArduinoCoreService_MonitorSer
return
err
}
// Send a message with Success set to true to notify the caller of the port being now active
_
=
stream
.
Send
(
&
rpc
.
MonitorResponse
{
Success
:
true
})
go
func
()
{
// close port on gRPC call EOF or errors
defer
portProxy
.
Close
()
...
...
rpc/cc/arduino/cli/commands/v1/monitor.pb.go
View file @
7afdc383
...
...
@@ -182,6 +182,8 @@ type MonitorResponse struct {
// report the default settings) or after a new port_configuration is sent
// (to report the new settings applied)
AppliedSettings
[]
*
MonitorPortSetting
`protobuf:"bytes,3,rep,name=applied_settings,json=appliedSettings,proto3" json:"applied_settings,omitempty"`
// A message with this field set to true is sent as soon as the port is succesfully opened
Success
bool
`protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"`
}
func
(
x
*
MonitorResponse
)
Reset
()
{
...
...
@@ -237,6 +239,13 @@ func (x *MonitorResponse) GetAppliedSettings() []*MonitorPortSetting {
return
nil
}
func
(
x
*
MonitorResponse
)
GetSuccess
()
bool
{
if
x
!=
nil
{
return
x
.
Success
}
return
false
}
type
MonitorPortSetting
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
...
...
@@ -529,7 +538,7 @@ var file_cc_arduino_cli_commands_v1_monitor_proto_rawDesc = []byte{
0x0b
,
0x32
,
0x2e
,
0x2e
,
0x63
,
0x63
,
0x2e
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2e
,
0x63
,
0x6c
,
0x69
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2e
,
0x76
,
0x31
,
0x2e
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x52
,
0x08
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x22
,
0x
9b
,
0x01
,
0x0a
,
0x0f
,
0x67
,
0x52
,
0x08
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x22
,
0x
b5
,
0x01
,
0x0a
,
0x0f
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x12
,
0x17
,
0x0a
,
0x07
,
0x72
,
0x78
,
0x5f
,
0x64
,
0x61
,
0x74
,
0x61
,
...
...
@@ -539,45 +548,47 @@ var file_cc_arduino_cli_commands_v1_monitor_proto_rawDesc = []byte{
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2e
,
0x63
,
0x6c
,
0x69
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2e
,
0x76
,
0x31
,
0x2e
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x52
,
0x0f
,
0x61
,
0x70
,
0x70
,
0x6c
,
0x69
,
0x65
,
0x64
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x22
,
0x49
,
0x0a
,
0x12
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x12
,
0x1d
,
0x0a
,
0x0a
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x5f
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x49
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x22
,
0xa0
,
0x01
,
0x0a
,
0x23
,
0x45
,
0x6e
,
0x75
,
0x6d
,
0x65
,
0x72
,
0x61
,
0x74
,
0x65
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x40
,
0x0a
,
0x08
,
0x69
,
0x6e
,
0x73
,
0x74
,
0x61
,
0x6e
,
0x63
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x24
,
0x2e
,
0x63
,
0x63
,
0x2e
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2e
,
0x63
,
0x6c
,
0x69
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2e
,
0x76
,
0x31
,
0x2e
,
0x49
,
0x6e
,
0x73
,
0x74
,
0x61
,
0x6e
,
0x63
,
0x65
,
0x52
,
0x08
,
0x69
,
0x6e
,
0x73
,
0x74
,
0x61
,
0x6e
,
0x63
,
0x65
,
0x12
,
0x23
,
0x0a
,
0x0d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x5f
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x63
,
0x6f
,
0x6c
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0c
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x50
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x63
,
0x6f
,
0x6c
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x66
,
0x71
,
0x62
,
0x6e
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x66
,
0x71
,
0x62
,
0x6e
,
0x22
,
0x7c
,
0x0a
,
0x24
,
0x45
,
0x6e
,
0x75
,
0x6d
,
0x65
,
0x72
,
0x61
,
0x74
,
0x65
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x54
,
0x0a
,
0x08
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x38
,
0x2e
,
0x63
,
0x63
,
0x2e
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2e
,
0x63
,
0x6c
,
0x69
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2e
,
0x76
,
0x31
,
0x2e
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x6f
,
0x72
,
0x52
,
0x08
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x22
,
0x9e
,
0x01
,
0x0a
,
0x1c
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x6f
,
0x72
,
0x12
,
0x1d
,
0x0a
,
0x0a
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x5f
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x49
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x6c
,
0x61
,
0x62
,
0x65
,
0x6c
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x6c
,
0x61
,
0x62
,
0x65
,
0x6c
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x12
,
0x1f
,
0x0a
,
0x0b
,
0x65
,
0x6e
,
0x75
,
0x6d
,
0x5f
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x73
,
0x18
,
0x04
,
0x20
,
0x03
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x65
,
0x6e
,
0x75
,
0x6d
,
0x56
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x73
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x42
,
0x48
,
0x5a
,
0x46
,
0x67
,
0x69
,
0x74
,
0x68
,
0x75
,
0x62
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x2f
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2f
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2d
,
0x63
,
0x6c
,
0x69
,
0x2f
,
0x72
,
0x70
,
0x63
,
0x2f
,
0x63
,
0x63
,
0x2f
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2f
,
0x63
,
0x6c
,
0x69
,
0x2f
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2f
,
0x76
,
0x31
,
0x3b
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x64
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x73
,
0x75
,
0x63
,
0x63
,
0x65
,
0x73
,
0x73
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x07
,
0x73
,
0x75
,
0x63
,
0x63
,
0x65
,
0x73
,
0x73
,
0x22
,
0x49
,
0x0a
,
0x12
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x12
,
0x1d
,
0x0a
,
0x0a
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x5f
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x49
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x22
,
0xa0
,
0x01
,
0x0a
,
0x23
,
0x45
,
0x6e
,
0x75
,
0x6d
,
0x65
,
0x72
,
0x61
,
0x74
,
0x65
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x40
,
0x0a
,
0x08
,
0x69
,
0x6e
,
0x73
,
0x74
,
0x61
,
0x6e
,
0x63
,
0x65
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x24
,
0x2e
,
0x63
,
0x63
,
0x2e
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2e
,
0x63
,
0x6c
,
0x69
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2e
,
0x76
,
0x31
,
0x2e
,
0x49
,
0x6e
,
0x73
,
0x74
,
0x61
,
0x6e
,
0x63
,
0x65
,
0x52
,
0x08
,
0x69
,
0x6e
,
0x73
,
0x74
,
0x61
,
0x6e
,
0x63
,
0x65
,
0x12
,
0x23
,
0x0a
,
0x0d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x5f
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x63
,
0x6f
,
0x6c
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0c
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x50
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x63
,
0x6f
,
0x6c
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x66
,
0x71
,
0x62
,
0x6e
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x66
,
0x71
,
0x62
,
0x6e
,
0x22
,
0x7c
,
0x0a
,
0x24
,
0x45
,
0x6e
,
0x75
,
0x6d
,
0x65
,
0x72
,
0x61
,
0x74
,
0x65
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x54
,
0x0a
,
0x08
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x38
,
0x2e
,
0x63
,
0x63
,
0x2e
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2e
,
0x63
,
0x6c
,
0x69
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2e
,
0x76
,
0x31
,
0x2e
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x6f
,
0x72
,
0x52
,
0x08
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x22
,
0x9e
,
0x01
,
0x0a
,
0x1c
,
0x4d
,
0x6f
,
0x6e
,
0x69
,
0x74
,
0x6f
,
0x72
,
0x50
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x6f
,
0x72
,
0x12
,
0x1d
,
0x0a
,
0x0a
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x5f
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x73
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x49
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x6c
,
0x61
,
0x62
,
0x65
,
0x6c
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x6c
,
0x61
,
0x62
,
0x65
,
0x6c
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x12
,
0x1f
,
0x0a
,
0x0b
,
0x65
,
0x6e
,
0x75
,
0x6d
,
0x5f
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x73
,
0x18
,
0x04
,
0x20
,
0x03
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x65
,
0x6e
,
0x75
,
0x6d
,
0x56
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x73
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x42
,
0x48
,
0x5a
,
0x46
,
0x67
,
0x69
,
0x74
,
0x68
,
0x75
,
0x62
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x2f
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2f
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2d
,
0x63
,
0x6c
,
0x69
,
0x2f
,
0x72
,
0x70
,
0x63
,
0x2f
,
0x63
,
0x63
,
0x2f
,
0x61
,
0x72
,
0x64
,
0x75
,
0x69
,
0x6e
,
0x6f
,
0x2f
,
0x63
,
0x6c
,
0x69
,
0x2f
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x2f
,
0x76
,
0x31
,
0x3b
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x61
,
0x6e
,
0x64
,
0x73
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
var
(
...
...
rpc/cc/arduino/cli/commands/v1/monitor.proto
View file @
7afdc383
...
...
@@ -51,6 +51,9 @@ message MonitorResponse {
// report the default settings) or after a new port_configuration is sent
// (to report the new settings applied)
repeated
MonitorPortSetting
applied_settings
=
3
;
// A message with this field set to true is sent as soon as the port is
// succesfully opened
bool
success
=
4
;
}
message
MonitorPortSetting
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment