diff options
author | Jeff Hatch <jhatch@multitech.com> | 2018-10-31 15:55:31 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2018-10-31 15:55:31 -0500 |
commit | 2140f3948e70254ed70b0d543cb03e18564ec4f3 (patch) | |
tree | 55f1c1724d619bc5b4dfa7805cc68f2f047714dc /include/mts | |
parent | 44a0b443fee1e43dc6e416b985a92e12cf89973a (diff) | |
download | libmts-io-2140f3948e70254ed70b0d543cb03e18564ec4f3.tar.gz libmts-io-2140f3948e70254ed70b0d543cb03e18564ec4f3.tar.bz2 libmts-io-2140f3948e70254ed70b0d543cb03e18564ec4f3.zip |
Add support for LE910C1-NS radio
Diffstat (limited to 'include/mts')
-rw-r--r-- | include/mts/MTS_IO_CellularRadioFactory.h | 1 | ||||
-rw-r--r-- | include/mts/MTS_IO_LE910C1NSRadio.h | 47 |
2 files changed, 48 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. + * + */ + +#ifndef MTS_IO_LE910C1NSRADIO_H_ +#define MTS_IO_LE910C1NSRADIO_H_ + +#include <mts/MTS_IO_LE910Radio.h> + +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_ */ |