summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2016-07-29 14:59:16 -0500
committerJeff Hatch <jhatch@multitech.com>2016-07-29 14:59:16 -0500
commit5dbd069ec8d9afec30bee650f01c71566939f372 (patch)
treee6e19791a7d9e7610e8186cbab14ec7ac2912a7c /src
parent7953fdc639605461bacb6abe2487c66cd7e25a37 (diff)
downloadlibmts-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
Diffstat (limited to 'src')
-rw-r--r--src/MTS_IO_CellularRadio.cpp2
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());