diff options
author | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2020-02-13 15:59:34 +0200 |
---|---|---|
committer | Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> | 2020-02-13 16:57:01 +0200 |
commit | 24310f73209b97dd805d09dcaa504d02740d1c23 (patch) | |
tree | a0d3033fae481fd3393bae759fe76b8ad2fe805f /include | |
parent | 53f54b1929d08869494d1f724814cd7ae77820f5 (diff) | |
download | libmts-io-24310f73209b97dd805d09dcaa504d02740d1c23.tar.gz libmts-io-24310f73209b97dd805d09dcaa504d02740d1c23.tar.bz2 libmts-io-24310f73209b97dd805d09dcaa504d02740d1c23.zip |
Commands CREG, CGREG and CEREG should be utilized to get registered status
Diffstat (limited to 'include')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 4 | ||||
-rw-r--r-- | include/mts/MTS_IO_EG95Radio.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index 1e80274..4b53382 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -168,6 +168,10 @@ namespace MTS { virtual std::string queryCGREGstring(); virtual void setCGREG(std::string value); + const std::vector<std::string> getRegistrationCommands(); + REGISTRATION parseRegResponse(std::string sResult); + CODE getRegistration(REGISTRATION& eRegistration, const std::string& sType); + class RadioBandMap : public MTS::NonCopyable { public: RadioBandMap() diff --git a/include/mts/MTS_IO_EG95Radio.h b/include/mts/MTS_IO_EG95Radio.h index 5c093db..5296e16 100644 --- a/include/mts/MTS_IO_EG95Radio.h +++ b/include/mts/MTS_IO_EG95Radio.h @@ -41,7 +41,6 @@ namespace MTS { private: CODE getSupportedCellularModes(CELLULAR_MODES &networks) override; CODE setCellularMode(CELLULAR_MODES networks) override; - CODE getRegistration(REGISTRATION& eRegistration) override; }; } } |