@@ -129,7 +129,9 @@ export class MonitorService extends CoreClientAware implements Disposable {
129
129
*/
130
130
async start ( ) : Promise < Status > {
131
131
if ( this . duplex ) {
132
- this . updateClientsSettings ( { monitorUISettings : { connected : true } } ) ;
132
+ this . updateClientsSettings ( {
133
+ monitorUISettings : { connected : true , serialPort : this . port . address } ,
134
+ } ) ;
133
135
return Status . ALREADY_CONNECTED ;
134
136
}
135
137
@@ -140,7 +142,9 @@ export class MonitorService extends CoreClientAware implements Disposable {
140
142
}
141
143
142
144
if ( this . uploadInProgress ) {
143
- this . updateClientsSettings ( { monitorUISettings : { connected : false } } ) ;
145
+ this . updateClientsSettings ( {
146
+ monitorUISettings : { connected : false , serialPort : this . port . address } ,
147
+ } ) ;
144
148
return Status . UPLOAD_IN_PROGRESS ;
145
149
}
146
150
@@ -230,7 +234,9 @@ export class MonitorService extends CoreClientAware implements Disposable {
230
234
this . logger . info (
231
235
`started monitor to ${ this . port ?. address } using ${ this . port ?. protocol } `
232
236
) ;
233
- this . updateClientsSettings ( { monitorUISettings : { connected : true } } ) ;
237
+ this . updateClientsSettings ( {
238
+ monitorUISettings : { connected : true , serialPort : this . port . address } ,
239
+ } ) ;
234
240
resolve ( Status . OK ) ;
235
241
return ;
236
242
}
@@ -397,6 +403,7 @@ export class MonitorService extends CoreClientAware implements Disposable {
397
403
monitorUISettings : {
398
404
...settings . monitorUISettings ,
399
405
connected : ! ! this . duplex ,
406
+ serialPort : this . port . address ,
400
407
} ,
401
408
pluggableMonitorSettings : reconciledSettings ,
402
409
} ) ;
0 commit comments