From 5dbd069ec8d9afec30bee650f01c71566939f372 Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Fri, 29 Jul 2016 14:59:16 -0500 Subject: Increase the MDN set command timeout due to some issues with timeouts setting the MDN on some SIM cards --- src/MTS_IO_CellularRadio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3