From 24310f73209b97dd805d09dcaa504d02740d1c23 Mon Sep 17 00:00:00 2001 From: Andrii Pientsov Date: Thu, 13 Feb 2020 15:59:34 +0200 Subject: Commands CREG, CGREG and CEREG should be utilized to get registered status --- include/mts/MTS_IO_CellularRadio.h | 4 ++++ include/mts/MTS_IO_EG95Radio.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include/mts') 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 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; }; } } -- cgit v1.2.3