summaryrefslogtreecommitdiff
path: root/src/MTS_IO_LE910C1NSRadio.cpp
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2018-10-31 15:55:31 -0500
committerJeff Hatch <jhatch@multitech.com>2018-10-31 15:55:31 -0500
commit2140f3948e70254ed70b0d543cb03e18564ec4f3 (patch)
tree55f1c1724d619bc5b4dfa7805cc68f2f047714dc /src/MTS_IO_LE910C1NSRadio.cpp
parent44a0b443fee1e43dc6e416b985a92e12cf89973a (diff)
downloadlibmts-io-2140f3948e70254ed70b0d543cb03e18564ec4f3.tar.gz
libmts-io-2140f3948e70254ed70b0d543cb03e18564ec4f3.tar.bz2
libmts-io-2140f3948e70254ed70b0d543cb03e18564ec4f3.zip
Add support for LE910C1-NS radio
Diffstat (limited to 'src/MTS_IO_LE910C1NSRadio.cpp')
-rw-r--r--src/MTS_IO_LE910C1NSRadio.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/MTS_IO_LE910C1NSRadio.cpp b/src/MTS_IO_LE910C1NSRadio.cpp
new file mode 100644
index 0000000..6c403a0
--- /dev/null
+++ b/src/MTS_IO_LE910C1NSRadio.cpp
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2015 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/>.
+ *
+ */
+
+/*!
+ \file MTS_IO_LE910SVGRadio.cpp
+ \brief A brief description
+ \date Jan 19, 2015
+ \author sgodinez
+
+ A more elaborate description
+*/
+
+#include <mts/MTS_IO_LE910C1NSRadio.h>
+
+using namespace MTS::IO;
+
+const std::string LE910C1NSRadio::MODEL_NAME("LE910C1-NS");
+
+LE910C1NSRadio::LE910C1NSRadio(const std::string& sPort)
+: LE910Radio(MODEL_NAME, sPort)
+{
+
+}
+
+CellularRadio::CODE LE910C1NSRadio::getCarrier(std::string& sCarrier) {
+ sCarrier = "Sprint";
+ return SUCCESS;
+}