summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Marcaccini <david.marcaccini@multitech.com>2019-03-08 13:19:52 -0600
committerDavid Marcaccini <david.marcaccini@multitech.com>2019-03-08 13:19:52 -0600
commit36d1c638d115caefc042fe7a172cc531bb9e1436 (patch)
treea79037887a483039e9c347d213c519dc52706465 /include
parent4df85d1a64ded69f1ddd6c4c26e4f52773605c4a (diff)
downloadlibmts-io-36d1c638d115caefc042fe7a172cc531bb9e1436.tar.gz
libmts-io-36d1c638d115caefc042fe7a172cc531bb9e1436.tar.bz2
libmts-io-36d1c638d115caefc042fe7a172cc531bb9e1436.zip
Add support for the ME910C1-WW Radio1.0.15
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_CellularRadioFactory.h1
-rw-r--r--include/mts/MTS_IO_ME910C1WWRadio.h46
-rw-r--r--include/mts/MTS_IO_ME910Radio.h10
3 files changed, 48 insertions, 9 deletions
diff --git a/include/mts/MTS_IO_CellularRadioFactory.h b/include/mts/MTS_IO_CellularRadioFactory.h
index b2db5aa..69cdd38 100644
--- a/include/mts/MTS_IO_CellularRadioFactory.h
+++ b/include/mts/MTS_IO_CellularRadioFactory.h
@@ -52,6 +52,7 @@ namespace MTS {
virtual CellularRadio* createLE910C1AP(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT);
virtual CellularRadio* createME910C1NA(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT);
virtual CellularRadio* createME910C1NV(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT);
+ virtual CellularRadio* createME910C1WW(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT);
virtual CellularRadio* createGE910(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT);
virtual CellularRadio* createDE910(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT);
virtual CellularRadio* createCE910(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT);
diff --git a/include/mts/MTS_IO_ME910C1WWRadio.h b/include/mts/MTS_IO_ME910C1WWRadio.h
new file mode 100644
index 0000000..a72160d
--- /dev/null
+++ b/include/mts/MTS_IO_ME910C1WWRadio.h
@@ -0,0 +1,46 @@
+/*
+ * 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_ME910C1WWRADIO_H_
+#define MTS_IO_ME910C1WWRADIO_H_
+
+#include <mts/MTS_IO_ME910Radio.h>
+
+namespace MTS {
+ namespace IO {
+
+ class ME910C1WWRadio : public ME910Radio {
+
+ public:
+ static const std::string MODEL_NAME;
+
+ ME910C1WWRadio(const std::string& sPort);
+ virtual ~ME910C1WWRadio(){};
+ virtual CODE getCarrier(std::string& sCarrier);
+
+ protected:
+
+ private:
+
+ };
+ }
+}
+
+#endif /* MTS_IO_ME910C1WWRADIO_H_ */
diff --git a/include/mts/MTS_IO_ME910Radio.h b/include/mts/MTS_IO_ME910Radio.h
index e665d19..91cdfc6 100644
--- a/include/mts/MTS_IO_ME910Radio.h
+++ b/include/mts/MTS_IO_ME910Radio.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 by Multi-Tech Systems
+ * Copyright (C) 2019 by Multi-Tech Systems
*
* This file is part of libmts-io.
*
@@ -18,14 +18,6 @@
*
*/
-/*!
- \file MTS_IO_ME910Radio.h
- \brief A brief description
- \date Nov 5, 2014
- \author sgodinez
-
- A more elaborate description
-*/
#ifndef MTS_IO_ME910RADIO_H_
#define MTS_IO_ME910RADIO_H_