From 050834e3cdd0f5f56ba15b09ca568ac6312c7699 Mon Sep 17 00:00:00 2001 From: sdesai Date: Wed, 15 Mar 2023 15:22:04 -0500 Subject: GP-139:Support Portal Case #5086148: use Cellular Radio timeas alternative to GPS or NTP --- include/mts/MTS_IO_TelitRadio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mts/MTS_IO_TelitRadio.h') 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); -- cgit v1.2.3 From 8fce7442bbc63b744905f9febc21aad9cf5074fd Mon Sep 17 00:00:00 2001 From: sdesai Date: Mon, 20 Mar 2023 14:32:37 -0500 Subject: Support Portal Case #5086148: use Cellular Radio timeas alternative to GPS or NTP --- include/mts/MTS_IO_TelitRadio.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/mts/MTS_IO_TelitRadio.h') diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h index 01897ac..7011ef3 100644 --- a/include/mts/MTS_IO_TelitRadio.h +++ b/include/mts/MTS_IO_TelitRadio.h @@ -51,7 +51,6 @@ 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); @@ -76,7 +75,7 @@ namespace MTS { const std::vector& getDiagCommands(bool bIsSimReady = true) override; static bool isContainsSignChar(const std::string& str); - + virtual CODE setTimeFormat() override; private: virtual CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk, const std::string& sLockStatus); ICellularRadio::CODE wdsList(std::set &wds); -- cgit v1.2.3 From 91c623896442013d82f59e6e06e70523e9046b8c Mon Sep 17 00:00:00 2001 From: sdesai Date: Thu, 23 Mar 2023 16:37:24 -0500 Subject: Support Portal Case #5086148: use Cellular Radio time as alternative to GPS or NTP --- include/mts/MTS_IO_TelitRadio.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/mts/MTS_IO_TelitRadio.h') diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h index 7011ef3..dc8ece8 100644 --- a/include/mts/MTS_IO_TelitRadio.h +++ b/include/mts/MTS_IO_TelitRadio.h @@ -55,9 +55,11 @@ namespace MTS { TelitRadio(const std::string& sName, const std::string& sRadioPort); 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; enum FOTA_GROUP : uint8_t { @@ -69,13 +71,16 @@ namespace MTS { }; virtual FOTA_GROUP getFotaGroup(); + virtual CODE fumoWriteGroupsABD(int fd, UpdateCb& stepCb); + //virtual CODE fumoWriteGroupC(int fd, UpdateCb& stepCb); const std::vector& getDiagCommands(bool bIsSimReady = true) override; static bool isContainsSignChar(const std::string& str); - virtual CODE setTimeFormat() override; + + CODE setTimeFormat() override; private: virtual CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk, const std::string& sLockStatus); ICellularRadio::CODE wdsList(std::set &wds); -- cgit v1.2.3 From a7c338b07cbdb706998ccead56673a3dd1cbdb0e Mon Sep 17 00:00:00 2001 From: sdesai Date: Thu, 23 Mar 2023 16:50:31 -0500 Subject: Support Portal Case #5086148: use Cellular Radio time as alternative to GPS or NTP --- include/mts/MTS_IO_TelitRadio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mts/MTS_IO_TelitRadio.h') diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h index dc8ece8..305a764 100644 --- a/include/mts/MTS_IO_TelitRadio.h +++ b/include/mts/MTS_IO_TelitRadio.h @@ -81,6 +81,7 @@ namespace MTS { static bool isContainsSignChar(const std::string& str); CODE setTimeFormat() override; + private: virtual CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk, const std::string& sLockStatus); ICellularRadio::CODE wdsList(std::set &wds); -- cgit v1.2.3 From 5a0bc9dda829197048155380c3e344e28365aebc Mon Sep 17 00:00:00 2001 From: sdesai Date: Mon, 27 Mar 2023 09:00:20 -0500 Subject: Support Portal Case #5086148: use Cellular Radio time as alternative to GPS or NTP --- include/mts/MTS_IO_TelitRadio.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/mts/MTS_IO_TelitRadio.h') diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h index 305a764..d5e8bac 100644 --- a/include/mts/MTS_IO_TelitRadio.h +++ b/include/mts/MTS_IO_TelitRadio.h @@ -51,15 +51,14 @@ namespace MTS { CODE fumoLocalApply(UpdateCb& stepCb) override; CODE getSelectedBandsRaw(std::string& sRawBands) override; + protected: TelitRadio(const std::string& sName, const std::string& sRadioPort); 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; enum FOTA_GROUP : uint8_t { @@ -71,9 +70,7 @@ namespace MTS { }; virtual FOTA_GROUP getFotaGroup(); - virtual CODE fumoWriteGroupsABD(int fd, UpdateCb& stepCb); - //virtual CODE fumoWriteGroupC(int fd, UpdateCb& stepCb); const std::vector& getDiagCommands(bool bIsSimReady = true) override; -- cgit v1.2.3