@@ -284,22 +284,22 @@ function parseIncoming(msg) {
284
284
else if ( id . includes ( "fmNext" ) ) {
285
285
sendFile ( ) ;
286
286
}
287
- else if ( id . includes ( "ubxMessageRate" ) ) { // ubxMessageRate_UBX_NMEA_DTM ubxMessageRateBase_UBX_RTCM_1005
287
+ else if ( id . includes ( "ubxMessageRate" ) ) { // ubxMessageRate_NMEA_DTM ubxMessageRateBase_RTCM_1005
288
288
var messageName = id ;
289
289
var messageRate = val ;
290
290
var messageNameLabel = "" ;
291
291
292
292
var messageData = messageName . split ( '_' ) ;
293
- if ( messageData . length >= 4 ) {
294
- var messageType = messageData [ 2 ] ; // ubxMessageRate_UBX_NMEA_DTM = NMEA
293
+ if ( messageData . length >= 3 ) {
294
+ var messageType = messageData [ 1 ] ; // ubxMessageRate_NMEA_DTM = NMEA
295
295
if ( lastMessageType != messageType ) {
296
296
lastMessageType = messageType ;
297
297
messageText += "<hr>" ;
298
298
}
299
299
300
- messageNameLabel = messageData [ 2 ] + "_" + messageData [ 3 ] ; // ubxMessageRate_UBX_RTCM_4072_0 = RTCM_4072
301
- if ( messageData . length == 5 ) {
302
- messageNameLabel = messageData [ 2 ] + "_" + messageData [ 3 ] + "_" + messageData [ 4 ] ; // ubxMessageRate_UBX_RTCM_4072_0 = RTCM_4072_0
300
+ messageNameLabel = messageData [ 1 ] + "_" + messageData [ 2 ] ; // ubxMessageRateBase_RTCM_1005 = RTCM_1005
301
+ if ( messageData . length == 4 ) {
302
+ messageNameLabel = messageData [ 1 ] + "_" + messageData [ 2 ] + "_" + messageData [ 3 ] ; // ubxMessageRate_RTCM_4072_0 = RTCM_4072_0
303
303
}
304
304
}
305
305
@@ -1072,11 +1072,11 @@ function zeroBaseMessages() {
1072
1072
function resetToSurveyingDefaults ( ) {
1073
1073
zeroMessages ( ) ;
1074
1074
if ( ( platformPrefix == "EVK" ) || ( platformPrefix == "Facet v2" ) ) {
1075
- ge ( "ubxMessageRate_UBX_NMEA_GGA " ) . value = 1 ;
1076
- ge ( "ubxMessageRate_UBX_NMEA_GSA " ) . value = 1 ;
1077
- ge ( "ubxMessageRate_UBX_NMEA_GST " ) . value = 1 ;
1078
- ge ( "ubxMessageRate_UBX_NMEA_GSV " ) . value = 4 ;
1079
- ge ( "ubxMessageRate_UBX_NMEA_RMC " ) . value = 1 ;
1075
+ ge ( "ubxMessageRate_NMEA_GGA " ) . value = 1 ;
1076
+ ge ( "ubxMessageRate_NMEA_GSA " ) . value = 1 ;
1077
+ ge ( "ubxMessageRate_NMEA_GST " ) . value = 1 ;
1078
+ ge ( "ubxMessageRate_NMEA_GSV " ) . value = 4 ;
1079
+ ge ( "ubxMessageRate_NMEA_RMC " ) . value = 1 ;
1080
1080
}
1081
1081
else if ( platformPrefix == "Torch" ) {
1082
1082
ge ( "messageRateNMEA_GPGGA" ) . value = 0.5 ;
@@ -1089,14 +1089,14 @@ function resetToSurveyingDefaults() {
1089
1089
function resetToLoggingDefaults ( ) {
1090
1090
zeroMessages ( ) ;
1091
1091
if ( ( platformPrefix == "EVK" ) || ( platformPrefix == "Facet v2" ) ) {
1092
- ge ( "ubxMessageRate_UBX_NMEA_GGA " ) . value = 1 ;
1093
- ge ( "ubxMessageRate_UBX_NMEA_GSA " ) . value = 1 ;
1094
- ge ( "ubxMessageRate_UBX_NMEA_GST " ) . value = 1 ;
1095
- ge ( "ubxMessageRate_UBX_NMEA_GSV " ) . value = 4 ;
1096
- ge ( "ubxMessageRate_UBX_NMEA_RMC " ) . value = 1 ;
1092
+ ge ( "ubxMessageRate_NMEA_GGA " ) . value = 1 ;
1093
+ ge ( "ubxMessageRate_NMEA_GSA " ) . value = 1 ;
1094
+ ge ( "ubxMessageRate_NMEA_GST " ) . value = 1 ;
1095
+ ge ( "ubxMessageRate_NMEA_GSV " ) . value = 4 ;
1096
+ ge ( "ubxMessageRate_NMEA_RMC " ) . value = 1 ;
1097
1097
1098
- ge ( "ubxMessageRate_UBX_RXM_RAWX " ) . value = 1 ;
1099
- ge ( "ubxMessageRate_UBX_RXM_SFRBX " ) . value = 1 ;
1098
+ ge ( "ubxMessageRate_RXM_RAWX " ) . value = 1 ;
1099
+ ge ( "ubxMessageRate_RXM_SFRBX " ) . value = 1 ;
1100
1100
}
1101
1101
else if ( platformPrefix == "Torch" ) {
1102
1102
ge ( "messageRateNMEA_GPGGA" ) . value = 0.5 ;
@@ -1115,20 +1115,20 @@ function resetToLoggingDefaults() {
1115
1115
function resetToRTCMDefaults ( ) {
1116
1116
zeroBaseMessages ( ) ;
1117
1117
if ( ( platformPrefix == "EVK" ) || ( platformPrefix == "Facet v2" ) ) {
1118
- ge ( "ubxMessageRateBase_UBX_RTCM_1005 " ) . value = 1 ;
1119
- ge ( "ubxMessageRateBase_UBX_RTCM_1074 " ) . value = 1 ;
1120
- ge ( "ubxMessageRateBase_UBX_RTCM_1077 " ) . value = 0 ;
1121
- ge ( "ubxMessageRateBase_UBX_RTCM_1084 " ) . value = 1 ;
1122
- ge ( "ubxMessageRateBase_UBX_RTCM_1087 " ) . value = 0 ;
1118
+ ge ( "ubxMessageRateBase_RTCM_1005 " ) . value = 1 ;
1119
+ ge ( "ubxMessageRateBase_RTCM_1074 " ) . value = 1 ;
1120
+ ge ( "ubxMessageRateBase_RTCM_1077 " ) . value = 0 ;
1121
+ ge ( "ubxMessageRateBase_RTCM_1084 " ) . value = 1 ;
1122
+ ge ( "ubxMessageRateBase_RTCM_1087 " ) . value = 0 ;
1123
1123
1124
- ge ( "ubxMessageRateBase_UBX_RTCM_1094 " ) . value = 1 ;
1125
- ge ( "ubxMessageRateBase_UBX_RTCM_1097 " ) . value = 0 ;
1126
- ge ( "ubxMessageRateBase_UBX_RTCM_1124 " ) . value = 1 ;
1127
- ge ( "ubxMessageRateBase_UBX_RTCM_1127 " ) . value = 0 ;
1128
- ge ( "ubxMessageRateBase_UBX_RTCM_1230 " ) . value = 10 ;
1124
+ ge ( "ubxMessageRateBase_RTCM_1094 " ) . value = 1 ;
1125
+ ge ( "ubxMessageRateBase_RTCM_1097 " ) . value = 0 ;
1126
+ ge ( "ubxMessageRateBase_RTCM_1124 " ) . value = 1 ;
1127
+ ge ( "ubxMessageRateBase_RTCM_1127 " ) . value = 0 ;
1128
+ ge ( "ubxMessageRateBase_RTCM_1230 " ) . value = 10 ;
1129
1129
1130
- ge ( "ubxMessageRateBase_UBX_RTCM_4072_0 " ) . value = 0 ;
1131
- ge ( "ubxMessageRateBase_UBX_RTCM_4072_1 " ) . value = 0 ;
1130
+ ge ( "ubxMessageRateBase_RTCM_4072_0 " ) . value = 0 ;
1131
+ ge ( "ubxMessageRateBase_RTCM_4072_1 " ) . value = 0 ;
1132
1132
}
1133
1133
else if ( platformPrefix == "Torch" ) {
1134
1134
ge ( "messageRateRTCMBase_RTCM1005" ) . value = 1.0 ;
@@ -1143,20 +1143,20 @@ function resetToRTCMDefaults() {
1143
1143
function resetToRTCMLowBandwidth ( ) {
1144
1144
zeroBaseMessages ( ) ;
1145
1145
if ( ( platformPrefix == "EVK" ) || ( platformPrefix == "Facet v2" ) ) {
1146
- ge ( "ubxMessageRateBase_UBX_RTCM_1005 " ) . value = 10 ;
1147
- ge ( "ubxMessageRateBase_UBX_RTCM_1074 " ) . value = 2 ;
1148
- ge ( "ubxMessageRateBase_UBX_RTCM_1077 " ) . value = 0 ;
1149
- ge ( "ubxMessageRateBase_UBX_RTCM_1084 " ) . value = 2 ;
1150
- ge ( "ubxMessageRateBase_UBX_RTCM_1087 " ) . value = 0 ;
1151
-
1152
- ge ( "ubxMessageRateBase_UBX_RTCM_1094 " ) . value = 2 ;
1153
- ge ( "ubxMessageRateBase_UBX_RTCM_1097 " ) . value = 0 ;
1154
- ge ( "ubxMessageRateBase_UBX_RTCM_1124 " ) . value = 2 ;
1155
- ge ( "ubxMessageRateBase_UBX_RTCM_1127 " ) . value = 0 ;
1156
- ge ( "ubxMessageRateBase_UBX_RTCM_1230 " ) . value = 10 ;
1157
-
1158
- ge ( "ubxMessageRateBase_UBX_RTCM_4072_0 " ) . value = 0 ;
1159
- ge ( "ubxMessageRateBase_UBX_RTCM_4072_1 " ) . value = 0 ;
1146
+ ge ( "ubxMessageRateBase_RTCM_1005 " ) . value = 10 ;
1147
+ ge ( "ubxMessageRateBase_RTCM_1074 " ) . value = 2 ;
1148
+ ge ( "ubxMessageRateBase_RTCM_1077 " ) . value = 0 ;
1149
+ ge ( "ubxMessageRateBase_RTCM_1084 " ) . value = 2 ;
1150
+ ge ( "ubxMessageRateBase_RTCM_1087 " ) . value = 0 ;
1151
+
1152
+ ge ( "ubxMessageRateBase_RTCM_1094 " ) . value = 2 ;
1153
+ ge ( "ubxMessageRateBase_RTCM_1097 " ) . value = 0 ;
1154
+ ge ( "ubxMessageRateBase_RTCM_1124 " ) . value = 2 ;
1155
+ ge ( "ubxMessageRateBase_RTCM_1127 " ) . value = 0 ;
1156
+ ge ( "ubxMessageRateBase_RTCM_1230 " ) . value = 10 ;
1157
+
1158
+ ge ( "ubxMessageRateBase_RTCM_4072_0 " ) . value = 0 ;
1159
+ ge ( "ubxMessageRateBase_RTCM_4072_1 " ) . value = 0 ;
1160
1160
}
1161
1161
else if ( platformPrefix == "Torch" ) {
1162
1162
ge ( "messageRateRTCMBase_RTCM1005" ) . value = 2.0 ;
0 commit comments