diff options
author | Jeff Hatch <jhatch@multitech.com> | 2016-07-29 14:59:16 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2016-07-29 14:59:16 -0500 |
commit | 5dbd069ec8d9afec30bee650f01c71566939f372 (patch) | |
tree | e6e19791a7d9e7610e8186cbab14ec7ac2912a7c | |
parent | 7953fdc639605461bacb6abe2487c66cd7e25a37 (diff) | |
download | libmts-io-0.8.tar.gz libmts-io-0.8.tar.bz2 libmts-io-0.8.zip |
Increase the MDN set command timeout due to some issues with timeouts setting the MDN on some SIM cards0.8
-rw-r--r-- | src/MTS_IO_CellularRadio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp index 5f4966d..fc1e74d 100644 --- a/src/MTS_IO_CellularRadio.cpp +++ b/src/MTS_IO_CellularRadio.cpp @@ -1243,7 +1243,7 @@ CellularRadio::CODE CellularRadio::setMdn(const Json::Value& jArgs) { std::string sCmd("AT#SNUM=1,\""); sCmd += jArgs["mdn"].asString() + "\""; - std::string sResult = sendCommand(sCmd); + std::string sResult = sendCommand(sCmd, DEFAULT_BAIL_STRINGS, 1000); size_t end = sResult.find(RSP_OK); if (end == std::string::npos) { printWarning("%s| Unable to set MDN for radio using command [%s]", m_sName.c_str(), sCmd.c_str()); |