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 /include/mts/MTS_IO_CellularRadio.h | |
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 'include/mts/MTS_IO_CellularRadio.h')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index ab6e00a..2b03d8f 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -126,6 +126,13 @@ namespace MTS { int32_t timeoutMillis = 100, const char& ESC = ICellularRadio::CR) override; + //! Wait for response from the radio without sending any data to it + virtual std::string waitResponse(const std::vector<std::string>& vBail = DEFAULT_BAIL_STRINGS, + int32_t timeoutMillis = 100) override; + + //! Wait for response from the radio without sending any data to it + virtual std::string waitResponse(IsNeedMoreData& isNeedMoreData, + int32_t timeoutMillis = 100) override; protected: |