diff --git a/src/septentrio_gnss_driver/communication/communication_core.cpp b/src/septentrio_gnss_driver/communication/communication_core.cpp index 67f71221..0095e122 100644 --- a/src/septentrio_gnss_driver/communication/communication_core.cpp +++ b/src/septentrio_gnss_driver/communication/communication_core.cpp @@ -311,7 +311,11 @@ namespace io { send("login, " + settings_->login_user + ", " + settings_->login_password + " \x0D"); } - + + // Turning off all current SBF/NMEA output + send("sso, all, none, none, off \x0D"); + send("sno, all, none, none, off \x0D"); + if (!settings_->custom_commands_file.empty()) { if ((std::filesystem::exists(settings_->custom_commands_file))) @@ -365,10 +369,6 @@ namespace io { "\x0D"); } - // Turning off all current SBF/NMEA output - send("sso, all, none, none, off \x0D"); - send("sno, all, none, none, off \x0D"); - // Get Rx capabilities send("grc \x0D"); telegramHandler_.waitForCapabilities(); @@ -1039,4 +1039,4 @@ namespace io { telegramHandler_.waitForResponse(); } -} // namespace io \ No newline at end of file +} // namespace io