From 28ce5eaaa648670a2c83d583ebff2dc517af002e Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Sat, 22 Jun 2019 14:39:31 +0300 Subject: [MTS-MTQ] SIM status and PIN unlock procedures Fixed a tiny issue with Telit implementation of CellularRadio::getSimLockAttempts --- src/MTS_IO_TelitRadio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3