summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_ICellularRadio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mts/MTS_IO_ICellularRadio.h')
-rw-r--r--include/mts/MTS_IO_ICellularRadio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h
index 531e0e0..2d47fcf 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);
@@ -254,6 +262,8 @@ 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;
/**
* @brief unlockSimCard - unlock the SIM card using PIN code provided
*