diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2019-06-22 12:03:17 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2019-06-22 13:53:16 +0300 |
commit | 25bbcb7482dbbb93c9edfc3e1de415cfa4c260d0 (patch) | |
tree | 2799b227dd8d50b6f4bce79927347c5b588d0fe5 /include/mts | |
parent | d9024556c684f2c157d472eee814e01ff2496ff9 (diff) | |
download | libmts-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.h | 4 |
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); }; } |