From 2140f3948e70254ed70b0d543cb03e18564ec4f3 Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Wed, 31 Oct 2018 15:55:31 -0500 Subject: Add support for LE910C1-NS radio --- include/mts/MTS_IO_CellularRadioFactory.h | 1 + include/mts/MTS_IO_LE910C1NSRadio.h | 47 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 include/mts/MTS_IO_LE910C1NSRadio.h (limited to 'include') diff --git a/include/mts/MTS_IO_CellularRadioFactory.h b/include/mts/MTS_IO_CellularRadioFactory.h index f42cc91..6beec43 100644 --- a/include/mts/MTS_IO_CellularRadioFactory.h +++ b/include/mts/MTS_IO_CellularRadioFactory.h @@ -56,6 +56,7 @@ namespace MTS { virtual CellularRadio* createLE910SVG(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); virtual CellularRadio* createLE910EUG(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); virtual CellularRadio* createLE910EU1(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); + virtual CellularRadio* createLE910C1NS(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* createGE910(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); diff --git a/include/mts/MTS_IO_LE910C1NSRadio.h b/include/mts/MTS_IO_LE910C1NSRadio.h new file mode 100644 index 0000000..840a36c --- /dev/null +++ b/include/mts/MTS_IO_LE910C1NSRadio.h @@ -0,0 +1,47 @@ +/* + * 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 . + * + */ + +#ifndef MTS_IO_LE910C1NSRADIO_H_ +#define MTS_IO_LE910C1NSRADIO_H_ + +#include + +namespace MTS { + namespace IO { + + class LE910C1NSRadio : public LE910Radio { + + public: + static const std::string MODEL_NAME; + + LE910C1NSRadio(const std::string& sPort); + virtual ~LE910C1NSRadio(){}; + + virtual CODE getCarrier(std::string& sCarrier); + + protected: + + private: + + }; + } +} + +#endif /* MTS_IO_LE910SVGRADIO_H_ */ -- cgit v1.2.3