diff options
-rw-r--r-- | include/mts/MTS_IO_QuectelRadio.h | 2 | ||||
-rw-r--r-- | src/MTS_IO_QuectelRadio.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h index 5199b40..9713f48 100644 --- a/include/mts/MTS_IO_QuectelRadio.h +++ b/include/mts/MTS_IO_QuectelRadio.h @@ -86,7 +86,7 @@ namespace MTS { CODE fumoWaitUpgradeFinished(UpdateCb& stepCb); CODE fumoWaitNewFirmware(UpdateCb& stepCb); - /// Parse error code in early FUMO URC result received before the first attempt to flash the firmware + /// Parse error code if +QIND: "FOTA" received before the first attempt to flash the firmware std::string getFumoEarlyErrorCode(const std::string& sRadioInput); /// Get value from container by its index, use default value if not found. Non-template version. diff --git a/src/MTS_IO_QuectelRadio.cpp b/src/MTS_IO_QuectelRadio.cpp index de36987..aeb06ab 100644 --- a/src/MTS_IO_QuectelRadio.cpp +++ b/src/MTS_IO_QuectelRadio.cpp @@ -1010,11 +1010,11 @@ ICellularRadio::CODE QuectelRadio::checkFile(bool& bIsFilePresent, const std::st return FAILURE; } - // UFS files in +QFLST output may or may not have "UFS:" prefix + // UFS files in +QFLST output may or may not have a "UFS:" prefix const std::string sExpectedFull = "+QFLST: \"UFS:" + sTargetFilename + "\""; const std::string sExpectedAlt = "+QFLST: \"" + sTargetFilename + "\""; - // File is present if file name found with or without "UFS:" prefix in QFLST output + // File is present if its name is present with or without "UFS:" prefix in QFLST output bool bIsPresentFull = (sResult.find(sExpectedFull) != std::string::npos); bool bIsPresentAlt = (sResult.find(sExpectedAlt) != std::string::npos); |