summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-22 14:39:31 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-22 14:39:31 +0300
commit28ce5eaaa648670a2c83d583ebff2dc517af002e (patch)
treec7103a982396b4145e2dede506e998919d743720
parent1cb0265df2b2e2171a874a52a782de3ecc6620fa (diff)
downloadlibmts-io-28ce5eaaa648670a2c83d583ebff2dc517af002e.tar.gz
libmts-io-28ce5eaaa648670a2c83d583ebff2dc517af002e.tar.bz2
libmts-io-28ce5eaaa648670a2c83d583ebff2dc517af002e.zip
[MTS-MTQ] SIM status and PIN unlock procedures
Fixed a tiny issue with Telit implementation of CellularRadio::getSimLockAttempts
-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 8a21b46..ae885e9 100644
--- a/src/MTS_IO_TelitRadio.cpp
+++ b/src/MTS_IO_TelitRadio.cpp
@@ -590,7 +590,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 sCmd("AT#PCT");
std::string sResult = sendCommand(sCmd);
std::string sValue;
int iValue;