@@ -212,6 +212,9 @@ function parseIncoming(msg) {
212
212
hide ( "ethernetConfig" ) ;
213
213
hide ( "ntpConfig" ) ;
214
214
show ( "portsConfig" ) ;
215
+
216
+ // No RADIO port on Torch
217
+ // No DATA port on Torch
215
218
hide ( "externalPortOptions" ) ;
216
219
217
220
hide ( "logToSDCard" ) ;
@@ -276,6 +279,33 @@ function parseIncoming(msg) {
276
279
select . add ( newOption , undefined ) ;
277
280
newOption = new Option ( 'Flex NTRIP/RTCM' , '1' ) ;
278
281
select . add ( newOption , undefined ) ;
282
+
283
+ console . log ( "Change baud list" ) ;
284
+ ge ( "radioPortBaud" ) . options . length = 0 ; //Remove all from list
285
+ select = ge ( "radioPortBaud" ) ;
286
+ newOption = new Option ( '9600' , '9600' ) ;
287
+ select . add ( newOption , undefined ) ;
288
+ newOption = new Option ( '115200' , '115200' ) ;
289
+ select . add ( newOption , undefined ) ;
290
+ newOption = new Option ( '230400' , '230400' ) ;
291
+ select . add ( newOption , undefined ) ;
292
+ newOption = new Option ( '460800' , '460800' ) ;
293
+ select . add ( newOption , undefined ) ;
294
+ newOption = new Option ( '921600' , '921600' ) ;
295
+ select . add ( newOption , undefined ) ;
296
+
297
+ ge ( "dataPortBaud" ) . options . length = 0 ; //Remove all from list
298
+ select = ge ( "dataPortBaud" ) ;
299
+ newOption = new Option ( '9600' , '9600' ) ;
300
+ select . add ( newOption , undefined ) ;
301
+ newOption = new Option ( '115200' , '115200' ) ;
302
+ select . add ( newOption , undefined ) ;
303
+ newOption = new Option ( '230400' , '230400' ) ;
304
+ select . add ( newOption , undefined ) ;
305
+ newOption = new Option ( '460800' , '460800' ) ;
306
+ select . add ( newOption , undefined ) ;
307
+ newOption = new Option ( '921600' , '921600' ) ;
308
+ select . add ( newOption , undefined ) ;
279
309
}
280
310
}
281
311
else if ( id . includes ( "gnssFirmwareVersionInt" ) ) {
0 commit comments