From 8dfb7d7bdcd06cd50e501d3e84d86de7cba2f2a5 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Fri, 22 Nov 2019 12:49:11 +0200 Subject: [GP-359][MTX-3072] mPower Edge: LVW3 radio support Added LVW3 radio support to the libmts-io. --- include/mts/MTS_IO_CellularRadioFactory.h | 1 + include/mts/MTS_IO_LE910SV1Radio.h | 48 +++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 include/mts/MTS_IO_LE910SV1Radio.h (limited to 'include/mts') diff --git a/include/mts/MTS_IO_CellularRadioFactory.h b/include/mts/MTS_IO_CellularRadioFactory.h index c9cb56f..9b36489 100644 --- a/include/mts/MTS_IO_CellularRadioFactory.h +++ b/include/mts/MTS_IO_CellularRadioFactory.h @@ -43,6 +43,7 @@ namespace MTS { ICellularRadio* createLE910C4NF(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const; ICellularRadio* createLE910NA1(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const; ICellularRadio* createLE910SVG(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const; + ICellularRadio* createLE910SV1(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const; ICellularRadio* createLE910EUG(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const; ICellularRadio* createLE910C4EU(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const; ICellularRadio* createLE910EU1(const std::string& sPort = ICellularRadio::DEFAULT_RADIO_PORT) const; diff --git a/include/mts/MTS_IO_LE910SV1Radio.h b/include/mts/MTS_IO_LE910SV1Radio.h new file mode 100644 index 0000000..80536c1 --- /dev/null +++ b/include/mts/MTS_IO_LE910SV1Radio.h @@ -0,0 +1,48 @@ +/* + * 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 . + * + */ + + +#ifndef MTS_IO_LE910SV1RADIO_H_ +#define MTS_IO_LE910SV1RADIO_H_ + +#include "mts/MTS_IO_LE910Radio.h" + +namespace MTS { + namespace IO { + + class LE910SV1Radio : public LE910Radio { + + public: + static const std::string MODEL_NAME; + + LE910SV1Radio(const std::string& sPort); + virtual ~LE910SV1Radio(){}; + + virtual CODE getCarrier(std::string& sCarrier); + + protected: + + private: + + }; + } +} + +#endif /* MTS_IO_LE910SV1RADIO_H_ */ -- cgit v1.2.3