summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsdesai <sdesai@multitech.com>2023-03-27 09:00:20 -0500
committersdesai <sdesai@multitech.com>2023-03-27 09:00:20 -0500
commit5a0bc9dda829197048155380c3e344e28365aebc (patch)
tree636e9b1456658f06cd044a9752675ae1addee559 /include
parent83344ddef6063f0bfcbb96dae171237eae5ca3ba (diff)
downloadlibmts-io-5a0bc9dda829197048155380c3e344e28365aebc.tar.gz
libmts-io-5a0bc9dda829197048155380c3e344e28365aebc.tar.bz2
libmts-io-5a0bc9dda829197048155380c3e344e28365aebc.zip
Support Portal Case #5086148: use Cellular Radio time as alternative to GPS or NTP
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_QuectelRadio.h5
-rw-r--r--include/mts/MTS_IO_TelitRadio.h5
2 files changed, 1 insertions, 9 deletions
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h
index b7796d9..8e75c12 100644
--- a/include/mts/MTS_IO_QuectelRadio.h
+++ b/include/mts/MTS_IO_QuectelRadio.h
@@ -69,21 +69,16 @@ namespace MTS {
QuectelRadio(const std::string& sName, const std::string& sRadioPort);
CODE getIsSimInserted(bool& bData) override;
-
CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk) override;
virtual CODE getServiceDomain(SERVICEDOMAIN& sd);
-
virtual CODE convertToActiveBand(const std::string& sQuectelBand, ACTIVEBAND& band);
virtual CODE uploadFile(int fd, const std::string& sTargetFilename, UpdateCb& stepCb);
-
virtual CODE removeFile(const std::string& sTargetFilename);
-
virtual CODE checkFile(bool& bFilePresent, const std::string& sTargetFilename);
virtual CODE getUeUsageSetting(QuectelRadio::UE_USAGE_SETTING& us);
-
virtual CODE convertToUeUsageSetting(const std::string& sSetting, QuectelRadio::UE_USAGE_SETTING& us);
static bool isContainsSignChar(const std::string& str);
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<std::string>& getDiagCommands(bool bIsSimReady = true) override;