summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2020-02-13 15:59:34 +0200
committerMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2020-02-13 16:57:01 +0200
commit24310f73209b97dd805d09dcaa504d02740d1c23 (patch)
treea0d3033fae481fd3393bae759fe76b8ad2fe805f /include
parent53f54b1929d08869494d1f724814cd7ae77820f5 (diff)
downloadlibmts-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.h4
-rw-r--r--include/mts/MTS_IO_EG95Radio.h1
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;
};
}
}