diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-06-30 12:49:56 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-06-30 12:49:56 +0300 |
commit | 24ed390ceb584fadfd428a6e9019371550931094 (patch) | |
tree | bf9d7b72303a8cd9026e625a4cd2812cab708d5c /src/MTS_IO_CellularRadioFactory.cpp | |
parent | 6e9ce61addd97809d5ea7b912332dd11a4bf7cee (diff) | |
parent | adaca6b0fc6430f38ae3f0551f9a248563ad53b5 (diff) | |
download | libmts-io-24ed390ceb584fadfd428a6e9019371550931094.tar.gz libmts-io-24ed390ceb584fadfd428a6e9019371550931094.tar.bz2 libmts-io-24ed390ceb584fadfd428a6e9019371550931094.zip |
Merge remote-tracking branch 'origin/master' into sk/quectel-delta-fwu
Diffstat (limited to 'src/MTS_IO_CellularRadioFactory.cpp')
-rw-r--r-- | src/MTS_IO_CellularRadioFactory.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/MTS_IO_CellularRadioFactory.cpp b/src/MTS_IO_CellularRadioFactory.cpp index 08c6315..1a2cee2 100644 --- a/src/MTS_IO_CellularRadioFactory.cpp +++ b/src/MTS_IO_CellularRadioFactory.cpp @@ -37,6 +37,7 @@ #include <mts/MTS_IO_CE910Radio.h> #include <mts/MTS_IO_DE910Radio.h> #include "mts/MTS_IO_EG95Radio.h" +#include "mts/MTS_IO_EG25Radio.h" #include <mts/MTS_Logger.h> using namespace MTS::IO; @@ -60,6 +61,7 @@ CellularRadioFactory::CellularRadioFactory() { m_mCreationMap[CE910Radio::MODEL_NAME] = &CellularRadioFactory::createCE910; m_mCreationMap[LE866A1JSRadio::MODEL_NAME] = &CellularRadioFactory::createLE866A1JS; m_mCreationMap[EG95Radio::MODEL_NAME] = &CellularRadioFactory::createEG95Radio; + m_mCreationMap[EG25Radio::MODEL_NAME] = &CellularRadioFactory::createEG25Radio; } ICellularRadio* CellularRadioFactory::create(const std::string& sModel, const std::string& sPort) { @@ -191,7 +193,10 @@ ICellularRadio* CellularRadioFactory::createLE866A1JS(const std::string &sPort) return new LE866A1JSRadio(sPort); } -ICellularRadio* CellularRadioFactory::createEG95Radio(const std::string& sPort) const -{ +ICellularRadio* CellularRadioFactory::createEG95Radio(const std::string& sPort) const { return new EG95Radio(sPort); } + +ICellularRadio* CellularRadioFactory::createEG25Radio(const std::string& sPort) const { + return new EG25Radio(sPort); +} |