diff options
author | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2020-07-13 15:29:38 +0300 |
---|---|---|
committer | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2020-07-13 15:29:38 +0300 |
commit | ccd41677d998134ff501a8d6ac3a154dcaca9321 (patch) | |
tree | d2323d7ecbf3b267d5daceeb6d194ba51f5410d0 /include/mts/MTS_IO_QuectelRadio.h | |
parent | 8b4bfd172258ca62932c378f13f2b23a8be6818a (diff) | |
download | libmts-io-ccd41677d998134ff501a8d6ac3a154dcaca9321.tar.gz libmts-io-ccd41677d998134ff501a8d6ac3a154dcaca9321.tar.bz2 libmts-io-ccd41677d998134ff501a8d6ac3a154dcaca9321.zip |
MTX-3404 Code Review
Diffstat (limited to 'include/mts/MTS_IO_QuectelRadio.h')
-rw-r--r-- | include/mts/MTS_IO_QuectelRadio.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h index d8228cb..2121f7c 100644 --- a/include/mts/MTS_IO_QuectelRadio.h +++ b/include/mts/MTS_IO_QuectelRadio.h @@ -67,7 +67,6 @@ namespace MTS { // 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; @@ -85,8 +84,6 @@ namespace MTS { static uint16_t getQuectelChecksum(const void* data, size_t nBytes); static inline void updateQuectelChecksum(uint16_t& iChecksum, uint16_t iNewFragment); static inline uint16_t bytesToUint16(uint8_t high, uint8_t low); - static CODE getFileSize(int fd, size_t& nBytes, size_t& nFileChunks); - static CODE readChunk(int fd, char* pChunk, size_t dChunkSize, size_t& nReadBytes); CODE fumoWaitUpgradeFinished(UpdateCb& stepCb); CODE fumoWaitNewFirmware(UpdateCb& stepCb); }; |