summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_QuectelRadio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h
index 3751b5a..d8228cb 100644
--- a/include/mts/MTS_IO_QuectelRadio.h
+++ b/include/mts/MTS_IO_QuectelRadio.h
@@ -64,11 +64,18 @@ namespace MTS {
virtual CODE checkFile(bool& bFilePresent, const std::string& sTargetFilename);
private:
+ // private variable to save old firmware versions during FOTA
+ std::string m_sQuectelFirmware;
+
static const size_t FILE_CHUNK_SIZE;
static const std::string CMD_ABORT_UPLOAD;
static const std::string VALUE_MTS_DELTA_NAME;
static const std::string VALUE_MTS_DELTA_PATH;
+ // TODO: Consider asbtracting to the ICellularRadio::getFirmwareBuild
+ //!< Get Quectel-specific firmware version (firmware build?)
+ CODE getQuectelFirmware(std::string& sFirmware);
+
CODE startFileUpload(const std::string& sTargetFilename, size_t nBytes);
CODE abortFileUpload();