summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-01 11:25:34 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-03 16:17:39 +0300
commitd1798ea6a82c46b43e4caf27148189f34cc44ca5 (patch)
tree4f389b34388d6d3889e743f1e156864cf3cfa68a /include
parent69d7eb13bdda92a92b381f58a8ba9ec6fc29888f (diff)
downloadlibmts-io-d1798ea6a82c46b43e4caf27148189f34cc44ca5.tar.gz
libmts-io-d1798ea6a82c46b43e4caf27148189f34cc44ca5.tar.bz2
libmts-io-d1798ea6a82c46b43e4caf27148189f34cc44ca5.zip
WIP: Quectel Delta Radio Firmware Upgrade support - libmts-io implementation
Initial implementation of the "Apply delta firmware" step. Requires cleanup.
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_QuectelRadio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h
index 506b21b..cb455d8 100644
--- a/include/mts/MTS_IO_QuectelRadio.h
+++ b/include/mts/MTS_IO_QuectelRadio.h
@@ -76,6 +76,9 @@ namespace MTS {
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 waitApplyDeltaFirmware(UpdateCb& stepCb);
+ CODE waitFotaFinish(UpdateCb& stepCb);
+ CODE waitNewFirmware(UpdateCb& stepCb);
};
}
}