diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-08-06 14:06:19 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-08-06 14:06:19 +0300 |
commit | e1855057708468bc5383d948be70da7179730231 (patch) | |
tree | 87d441aa1ae2b7e138129c340463d4e64ffd04fe /src/MTS_IO_CellularRadio.cpp | |
parent | 96445eaa166dd8f4ba99014f5eea2c1146b9db80 (diff) | |
download | libmts-io-e1855057708468bc5383d948be70da7179730231.tar.gz libmts-io-e1855057708468bc5383d948be70da7179730231.tar.bz2 libmts-io-e1855057708468bc5383d948be70da7179730231.zip |
Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementation
Added waitResponse overloads to the public interface of ICellularRadio.
Diffstat (limited to 'src/MTS_IO_CellularRadio.cpp')
-rw-r--r-- | src/MTS_IO_CellularRadio.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp index 49a2b32..ce95929 100644 --- a/src/MTS_IO_CellularRadio.cpp +++ b/src/MTS_IO_CellularRadio.cpp @@ -1133,6 +1133,14 @@ std::string CellularRadio::sendCommand(const std::string& sCmd, MTS::IO::Cellula return ICellularRadio::sendCommand(m_apIo, sCmd, isNeedMoreData, timeoutMillis, ESC); } +std::string CellularRadio::waitResponse(const std::vector<std::string>& vBail, int32_t timeoutMillis) { + return ICellularRadio::waitResponse(m_apIo, vBail, timeoutMillis); +} + +std::string CellularRadio::waitResponse(ICellularRadio::IsNeedMoreData& isNeedMoreData, int32_t timeoutMillis) { + return ICellularRadio::waitResponse(m_apIo, isNeedMoreData, timeoutMillis); +} + ICellularRadio::CODE CellularRadio::sendData(const char* pData, size_t nBytes) { if(m_apIo.isNull()) { printError("RADIO| IO is not set in sendData"); |