summaryrefslogtreecommitdiff
path: root/include/mts
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-22 12:03:17 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-22 13:53:16 +0300
commit25bbcb7482dbbb93c9edfc3e1de415cfa4c260d0 (patch)
tree2799b227dd8d50b6f4bce79927347c5b588d0fe5 /include/mts
parentd9024556c684f2c157d472eee814e01ff2496ff9 (diff)
downloadlibmts-io-25bbcb7482dbbb93c9edfc3e1de415cfa4c260d0.tar.gz
libmts-io-25bbcb7482dbbb93c9edfc3e1de415cfa4c260d0.tar.bz2
libmts-io-25bbcb7482dbbb93c9edfc3e1de415cfa4c260d0.zip
[MTS-MTQ] SIM status and PIN unlock procedures
Added Telit-specific implementation of the CellularRadio::getIsSimInserted and CellularRadio::getSimLockAttempts utility methods
Diffstat (limited to 'include/mts')
-rw-r--r--include/mts/MTS_IO_TelitRadio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h
index 70ff8a9..65ca56e 100644
--- a/include/mts/MTS_IO_TelitRadio.h
+++ b/include/mts/MTS_IO_TelitRadio.h
@@ -46,7 +46,11 @@ namespace MTS {
bool getCarrierFromFirmware(const std::string& sFirmware, std::string& sCarrier) override;
bool getHardwareVersionFromFirmware(const std::string& sFirmware, std::string& sHardware) override;
+ CODE getIsSimInserted(bool& bData) override;
+ CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk) override;
+
private:
+ virtual CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk, const std::string& sLockStatus);
};
}