summaryrefslogtreecommitdiff
path: root/src/MTS_IO_TelitRadio.cpp
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-07-15 17:10:08 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-07-15 17:25:14 +0300
commit6042426e8d21b9b92f7078f64f4b50c2f1b8bc8d (patch)
tree557a133740c1dfb34bfd52da0048096f457d1c58 /src/MTS_IO_TelitRadio.cpp
parent0de89b68bd4471df424eca976d60ae98dea309df (diff)
downloadlibmts-io-6042426e8d21b9b92f7078f64f4b50c2f1b8bc8d.tar.gz
libmts-io-6042426e8d21b9b92f7078f64f4b50c2f1b8bc8d.tar.bz2
libmts-io-6042426e8d21b9b92f7078f64f4b50c2f1b8bc8d.zip
[MTX-2886] MTR_MTQ - radio-cmd shows invalid message on valid SIM PIN
Fixed the timeouts for several AT commands, including SIM-related commands
Diffstat (limited to 'src/MTS_IO_TelitRadio.cpp')
-rw-r--r--src/MTS_IO_TelitRadio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MTS_IO_TelitRadio.cpp b/src/MTS_IO_TelitRadio.cpp
index bafbd35..c8448e2 100644
--- a/src/MTS_IO_TelitRadio.cpp
+++ b/src/MTS_IO_TelitRadio.cpp
@@ -627,7 +627,7 @@ CellularRadio::CODE TelitRadio::getSimLockAttempts(int& iAttemptsPin, int& iAtte
CellularRadio::CODE TelitRadio::getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk, const std::string& sLockStatus) {
printTrace("%s| Get SIM unlock attempts left", getName().c_str());
std::string sCmd("AT#PCT");
- std::string sResult = sendCommand(sCmd);
+ std::string sResult = sendCommand(sCmd, DEFAULT_BAIL_STRINGS, 500);
std::string sValue;
int iValue;