summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsdesai <sdesai@multitech.com>2023-03-15 15:22:04 -0500
committersdesai <sdesai@multitech.com>2023-03-15 15:22:04 -0500
commit050834e3cdd0f5f56ba15b09ca568ac6312c7699 (patch)
treecee3134469ec1e843dbe337dc65dda934b9728f3 /include
parent289c724a4706e6f5ec2e73353502384671940c1c (diff)
downloadlibmts-io-050834e3cdd0f5f56ba15b09ca568ac6312c7699.tar.gz
libmts-io-050834e3cdd0f5f56ba15b09ca568ac6312c7699.tar.bz2
libmts-io-050834e3cdd0f5f56ba15b09ca568ac6312c7699.zip
GP-139:Support Portal Case #5086148: use Cellular Radio timeas alternative to GPS or NTP
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_ICellularRadio.h2
-rw-r--r--include/mts/MTS_IO_QuectelRadio.h2
-rw-r--r--include/mts/MTS_IO_SequansRadio.h2
-rw-r--r--include/mts/MTS_IO_TelitRadio.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h
index 0523236..da8e130 100644
--- a/include/mts/MTS_IO_ICellularRadio.h
+++ b/include/mts/MTS_IO_ICellularRadio.h
@@ -717,7 +717,7 @@ namespace MTS {
* CODE::FAILURE otherwise.
*/
virtual CODE getDiagnostics(std::string& sDiagReport) = 0;
-
+ virtual CODE getTimeUTC(void) = 0;
};
}
}
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h
index 4315cb3..7015acb 100644
--- a/include/mts/MTS_IO_QuectelRadio.h
+++ b/include/mts/MTS_IO_QuectelRadio.h
@@ -86,7 +86,7 @@ namespace MTS {
CODE setRxDiversity(const Json::Value& jArgs) override;
const std::vector<std::string>& getDiagCommands(bool bIsSimReady = true) override;
-
+ CODE getTimeUTC(void) override;
private:
// private variable to save old firmware versions during FOTA
std::string m_sQuectelFirmware;
diff --git a/include/mts/MTS_IO_SequansRadio.h b/include/mts/MTS_IO_SequansRadio.h
index 11f2c91..d61ae67 100644
--- a/include/mts/MTS_IO_SequansRadio.h
+++ b/include/mts/MTS_IO_SequansRadio.h
@@ -49,7 +49,7 @@ namespace MTS {
CODE setRxDiversity(const Json::Value& jArgs) override;
const std::vector<std::string> getRegistrationCommands() override;
-
+ CODE getTimeUTC(void) override;
protected:
SequansRadio(const std::string& sName, const std::string& sRadioPort);
diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h
index d198969..01897ac 100644
--- a/include/mts/MTS_IO_TelitRadio.h
+++ b/include/mts/MTS_IO_TelitRadio.h
@@ -51,7 +51,7 @@ namespace MTS {
CODE fumoLocalApply(UpdateCb& stepCb) override;
CODE getSelectedBandsRaw(std::string& sRawBands) override;
-
+ CODE getTimeUTC(void) override;
protected:
TelitRadio(const std::string& sName, const std::string& sRadioPort);