summaryrefslogtreecommitdiff
path: root/src/MTS_IO_LE910C1APRadio.cpp
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-02-18 13:35:44 -0600
committerJeff Hatch <jhatch@multitech.com>2019-02-18 13:35:44 -0600
commit4df85d1a64ded69f1ddd6c4c26e4f52773605c4a (patch)
tree86f6c8e25045514697429d0f2ceb2a2c2f8c29c9 /src/MTS_IO_LE910C1APRadio.cpp
parentc6b2972d1102e7986c9d188119b06aef11caa41c (diff)
downloadlibmts-io-4df85d1a64ded69f1ddd6c4c26e4f52773605c4a.tar.gz
libmts-io-4df85d1a64ded69f1ddd6c4c26e4f52773605c4a.tar.bz2
libmts-io-4df85d1a64ded69f1ddd6c4c26e4f52773605c4a.zip
Add support for LE910C1-AP radio1.0.14
Diffstat (limited to 'src/MTS_IO_LE910C1APRadio.cpp')
-rw-r--r--src/MTS_IO_LE910C1APRadio.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/MTS_IO_LE910C1APRadio.cpp b/src/MTS_IO_LE910C1APRadio.cpp
new file mode 100644
index 0000000..3a560fa
--- /dev/null
+++ b/src/MTS_IO_LE910C1APRadio.cpp
@@ -0,0 +1,36 @@
+/*
+ * 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/>.
+ *
+ */
+
+#include <mts/MTS_IO_LE910C1APRadio.h>
+
+using namespace MTS::IO;
+
+const std::string LE910C1APRadio::MODEL_NAME("LE910C1-AP");
+
+LE910C1APRadio::LE910C1APRadio(const std::string& sPort)
+: LE910Radio(MODEL_NAME, sPort)
+{
+
+}
+
+CellularRadio::CODE LE910C1APRadio::getCarrier(std::string& sCarrier) {
+ sCarrier = "Sprint";
+ return SUCCESS;
+}