From e1855057708468bc5383d948be70da7179730231 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Thu, 6 Aug 2020 14:06:19 +0300 Subject: Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementation Added waitResponse overloads to the public interface of ICellularRadio. --- src/MTS_IO_CellularRadio.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/MTS_IO_CellularRadio.cpp') 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& 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"); -- cgit v1.2.3