diff options
author | Jeff Hatch <jhatch@multitech.com> | 2020-08-11 09:23:04 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2020-08-11 09:23:04 -0500 |
commit | d154933f6a6220e7298260d5084f6516806406b6 (patch) | |
tree | 3e85c3ee1e6b9958dcc095e8e60770c30f73e43f /src/MTS_IO_CellularRadio.cpp | |
parent | 79925bf7853896834ace6788b9bc7d6edcd78301 (diff) | |
parent | b32dbb2c5f12fbacf598edb812acab816068de00 (diff) | |
download | libmts-io-d154933f6a6220e7298260d5084f6516806406b6.tar.gz libmts-io-d154933f6a6220e7298260d5084f6516806406b6.tar.bz2 libmts-io-d154933f6a6220e7298260d5084f6516806406b6.zip |
Merge branch 'sk/l4g1-delta-fwu' into 'master'
Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementation
See merge request !33
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"); |