You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getPortSettings(COM_PORT_I2C); //Load the settingPayload with this port's settings
62
54
if (settingPayload[OUTPUT_SETTING] != (COM_TYPE_UBX | COM_TYPE_NMEA | COM_TYPE_RTCM3))
63
55
response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_NMEA | COM_TYPE_RTCM3); //Set the I2C port to output UBX (config), and RTCM3 (casting)
64
-
//response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_RTCM3); //Not a valid state. Goes to UBX+NMEA+RTCM3 -
56
+
//response &= i2cGNSS.setPortOutput(COM_PORT_I2C, COM_TYPE_UBX | COM_TYPE_RTCM3); //Not a valid state. Goes to UBX+NMEA+RTCM3
65
57
66
-
//In base mode the Surveyor should output RTCM over UART2 and I2C ports:
58
+
//In base mode the Surveyor should output RTCM over all ports:
67
59
//(Primary) UART2 in case the Surveyor is connected via radio to rover
68
-
//(Optional) I2C in case user wants base to connect to WiFi and NTRIP Serve to Caster
69
-
//(Seconday) USB in case the Surveyor is used as an NTRIP caster
70
-
//(Tertiary) UART1 in case Surveyor is sending RTCM to phone that is then NTRIP caster
60
+
//(Optional) I2C in case user wants base to connect to WiFi and NTRIP Caster
61
+
//(Seconday) USB in case the Surveyor is used as an NTRIP caster connected to SBC or other
62
+
//(Tertiary) UART1 in case Surveyor is sending RTCM to phone that is then NTRIP Caster
71
63
response &= enableRTCMSentences(COM_PORT_UART2);
72
64
response &= enableRTCMSentences(COM_PORT_UART1);
73
65
response &= enableRTCMSentences(COM_PORT_USB);
74
-
response &= enableRTCMSentences(COM_PORT_I2C); //Enable for plain radio so we can count RTCM packets for display (State: Base-Temp - Transmitting)
66
+
response &= enableRTCMSentences(COM_PORT_I2C); //Enable for plain radio so we can count RTCM packets for display
67
+
68
+
//If enabled, adjust GSV NMEA to be reported at 1Hz
69
+
if (settings.ubxMessages[8].msgRate > baseNavigationFrequency)
70
+
setMessageRateByName("UBX_NMEA_GSV", baseNavigationFrequency); //Update GSV setting in file
71
+
72
+
response &= configureGNSSMessageRates(COM_PORT_UART1, settings.ubxMessages); //In the interest of logging, make sure the appropriate messages are enabled
0 commit comments