summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-11-22 12:49:11 +0200
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-11-22 15:16:30 +0200
commit8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5 (patch)
treed08672713f41ac9538e4b1085b9aa17f9d16a28b /include
parent7e44d14074eef23a8532f3e1070cdd51779428b1 (diff)
downloadlibmts-io-8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5.tar.gz
libmts-io-8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5.tar.bz2
libmts-io-8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5.zip
[GP-359][MTX-3072] mPower Edge: LVW3 radio support
Added LVW3 radio support to the libmts-io.
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_CellularRadioFactory.h1
-rw-r--r--include/mts/MTS_IO_LE910SV1Radio.h48
2 files changed, 49 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CellularRadioFactory.h b/include/mts/MTS_IO_CellularRadioFactory.h
index c9cb56f..9b36489 100644
--- a/include/mts/MTS_IO_CellularRadioFactory.h
+++ b/include/mts/MTS_IO_CellularRadioFactory.h
@@ -43,6 +43,7 @@ namespace MTS {
ICellularRadio* createLE910C4NF(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const;
ICellularRadio* createLE910NA1(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const;
ICellularRadio* createLE910SVG(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const;
+ ICellularRadio* createLE910SV1(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const;
ICellularRadio* createLE910EUG(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const;
ICellularRadio* createLE910C4EU(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const;
ICellularRadio* createLE910EU1(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const;
diff --git a/include/mts/MTS_IO_LE910SV1Radio.h b/include/mts/MTS_IO_LE910SV1Radio.h
new file mode 100644
index 0000000..80536c1
--- /dev/null
+++ b/include/mts/MTS_IO_LE910SV1Radio.h
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2019 by Multi-Tech Systems
+ *
+ * This file is part of libmts-io.
+ *
+ * libmts-io is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * libmts-io is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with libmts-io. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+
+#ifndef MTS_IO_LE910SV1RADIO_H_
+#define MTS_IO_LE910SV1RADIO_H_
+
+#include "mts/MTS_IO_LE910Radio.h"
+
+namespace MTS {
+ namespace IO {
+
+ class LE910SV1Radio : public LE910Radio {
+
+ public:
+ static const std::string MODEL_NAME;
+
+ LE910SV1Radio(const std::string& sPort);
+ virtual ~LE910SV1Radio(){};
+
+ virtual CODE getCarrier(std::string& sCarrier);
+
+ protected:
+
+ private:
+
+ };
+ }
+}
+
+#endif /* MTS_IO_LE910SV1RADIO_H_ */