summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_CellularRadio.h
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-15 06:06:43 -0500
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-07-15 06:06:43 -0500
commitf0be0e4a343f9a600fe8c9fc34fa580c548a4e9e (patch)
tree34daf8e9219c894ca36dd1f7ddf4560aa395c659 /include/mts/MTS_IO_CellularRadio.h
parentb4b5e4958a11cc9e969355f60e08d0631b01c402 (diff)
parent8186f98913c55191b5a3610d19c8580c6a86c2f4 (diff)
downloadlibmts-io-f0be0e4a343f9a600fe8c9fc34fa580c548a4e9e.tar.gz
libmts-io-f0be0e4a343f9a600fe8c9fc34fa580c548a4e9e.tar.bz2
libmts-io-f0be0e4a343f9a600fe8c9fc34fa580c548a4e9e.zip
Merge branch 'ap/l4e1-delta-fwu' into 'delta-radio-fwu'
MTX-3404 mPower Oct20: Delta Radio Firmware Upgrade - L4E1 - libmts-io support See merge request !28
Diffstat (limited to 'include/mts/MTS_IO_CellularRadio.h')
-rw-r--r--include/mts/MTS_IO_CellularRadio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h
index e3941c3..57a4de6 100644
--- a/include/mts/MTS_IO_CellularRadio.h
+++ b/include/mts/MTS_IO_CellularRadio.h
@@ -217,6 +217,10 @@ namespace MTS {
std::string m_sRadioType;
};
+ static CODE getFileSize(int fd, size_t& nBytes);
+ static CODE sizeToChunks(const size_t nBytes, const size_t chunkSize, size_t& nChunks);
+ static CODE readChunk(int fd, char* pChunk, size_t dChunkSize, size_t& nReadBytes);
+
private:
std::string m_sName;
std::string m_sRadioPort;