summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_ICellularRadio.h
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2019-06-21 17:19:09 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2019-06-21 17:19:09 +0300
commit143feb6a4587817d28c77e4df3a1b594b855f5e5 (patch)
treeb4457521772e261244fd14ce74788070e0dc7299 /include/mts/MTS_IO_ICellularRadio.h
parent3b542d1fea82726842e6bfe03ddcbf86345c5b9d (diff)
downloadlibmts-io-143feb6a4587817d28c77e4df3a1b594b855f5e5.tar.gz
libmts-io-143feb6a4587817d28c77e4df3a1b594b855f5e5.tar.bz2
libmts-io-143feb6a4587817d28c77e4df3a1b594b855f5e5.zip
[MTS-MTQ] RAT mode switch: implementation for telit and quectel
RAT - Radio Access Technology
Diffstat (limited to 'include/mts/MTS_IO_ICellularRadio.h')
-rw-r--r--include/mts/MTS_IO_ICellularRadio.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h
index d74ad15..1b95a0d 100644
--- a/include/mts/MTS_IO_ICellularRadio.h
+++ b/include/mts/MTS_IO_ICellularRadio.h
@@ -60,6 +60,14 @@ namespace MTS {
NOT_INSERTED
};
+ enum RADIOMODE : uint8_t {
+ RADIOMODE_UNKNOWN = 0,
+ RADIOMODE_AUTO,
+ RADIOMODE_GSM_ONLY,
+ RADIOMODE_UMTS_ONLY,
+ RADIOMODE_LTE_ONLY
+ };
+
static CODE convertModelToType(const std::string& sModel, std::string& sType);
static CODE convertModelToMtsShortCode(const std::string& sModel, std::string& sCode, ICellularRadio *radioObj = NULL);
static CODE convertServiceDomainToString(SERVICEDOMAIN eSd, std::string& sSd);
@@ -225,6 +233,9 @@ namespace MTS {
virtual CODE getRegistration(REGISTRATION& eRegistration) = 0;
virtual CODE convertRegistrationToString(REGISTRATION eRegistration, std::string& sRegistration) = 0;
+ virtual CODE getRadioMode(RADIOMODE &mode) = 0;
+ virtual CODE setRadioMode(RADIOMODE mode) = 0;
+
//! Gather details of the radio's Mobile IP Profile
/*!
\param Json::Value object that will be populated with MIP data