diff options
author | Jeff Hatch <jhatch@multitech.com> | 2020-06-11 09:16:35 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2020-06-11 09:16:35 -0500 |
commit | adaca6b0fc6430f38ae3f0551f9a248563ad53b5 (patch) | |
tree | 81cbf2ef9a2378e3b9e50dbfbf68e5e91dd5c919 /src/MTS_IO_CellularRadioFactory.cpp | |
parent | 4b0d95808e5681c47a7dcbbff8109856e40bad60 (diff) | |
parent | 04b90430c91f4257ebeff3bcccbe8c5d7413e7ae (diff) | |
download | libmts-io-adaca6b0fc6430f38ae3f0551f9a248563ad53b5.tar.gz libmts-io-adaca6b0fc6430f38ae3f0551f9a248563ad53b5.tar.bz2 libmts-io-adaca6b0fc6430f38ae3f0551f9a248563ad53b5.zip |
Merge branch 'ms/MTX-3444_L4G1_support_implementation' into 'master'
[MTX-3444] mPower Oct20: L4G1 libmts-io support
See merge request !23
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); +} |