@@ -212,6 +212,9 @@ function parseIncoming(msg) {
212212 hide ( "ethernetConfig" ) ;
213213 hide ( "ntpConfig" ) ;
214214 show ( "portsConfig" ) ;
215+
216+ // No RADIO port on Torch
217+ // No DATA port on Torch
215218 hide ( "externalPortOptions" ) ;
216219
217220 hide ( "logToSDCard" ) ;
@@ -276,6 +279,33 @@ function parseIncoming(msg) {
276279 select . add ( newOption , undefined ) ;
277280 newOption = new Option ( 'Flex NTRIP/RTCM' , '1' ) ;
278281 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 ) ;
279309 }
280310 }
281311 else if ( id . includes ( "gnssFirmwareVersionInt" ) ) {
0 commit comments