diff options
author | Jeff Hatch <Jeff.Hatch@multitech.com> | 2018-05-25 14:52:15 -0500 |
---|---|---|
committer | Jeff Hatch <Jeff.Hatch@multitech.com> | 2018-05-25 14:52:15 -0500 |
commit | 4b1e0509379acf7773ffa6575825bffb4c068d13 (patch) | |
tree | 7cd1d4184684ba7542fc26e396c92b8c900c5ce6 /include/mts | |
parent | bfcef5e9d1e384cf34ebef0f7cc98858a8445827 (diff) | |
download | libmts-io-1.0.8.tar.gz libmts-io-1.0.8.tar.bz2 libmts-io-1.0.8.zip |
Add support for LE866A1-JS radio for Japan1.0.8
Diffstat (limited to 'include/mts')
-rw-r--r-- | include/mts/MTS_IO_CellularRadioFactory.h | 1 | ||||
-rw-r--r-- | include/mts/MTS_IO_LE866A1JSRadio.h | 52 | ||||
-rw-r--r-- | include/mts/MTS_IO_LE866Radio.h | 61 |
3 files changed, 114 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CellularRadioFactory.h b/include/mts/MTS_IO_CellularRadioFactory.h index 8a5aeb9..4eb53c6 100644 --- a/include/mts/MTS_IO_CellularRadioFactory.h +++ b/include/mts/MTS_IO_CellularRadioFactory.h @@ -60,6 +60,7 @@ namespace MTS { virtual CellularRadio* createGE910(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); virtual CellularRadio* createDE910(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); virtual CellularRadio* createCE910(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); + virtual CellularRadio* createLE866A1JS(const std::string& sPort = CellularRadio::DEFAULT_RADIO_PORT); protected: typedef MTS::IO::CellularRadio* (CellularRadioFactory::*CREATEFUNCPTR)(const std::string& sPort); diff --git a/include/mts/MTS_IO_LE866A1JSRadio.h b/include/mts/MTS_IO_LE866A1JSRadio.h new file mode 100644 index 0000000..eb7a8c7 --- /dev/null +++ b/include/mts/MTS_IO_LE866A1JSRadio.h @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2016 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/>. + * + */ + +/* + * MTS_IO_LE866A1JS.h + * + * Created on: May 24, 2018 + * Author: jeff + */ + +#ifndef INCLUDE_MTS_MTS_IO_LE866A1JSRADIO_H_ +#define INCLUDE_MTS_MTS_IO_LE866A1JSRADIO_H_ + +#include <mts/MTS_IO_LE910Radio.h> + +namespace MTS { + namespace IO { + + class LE866A1JSRadio : public LE910Radio { + + public: + static const std::string MODEL_NAME; + + LE866A1JSRadio(const std::string& sPort); + virtual ~LE866A1JSRadio(){}; + + protected: + + private: + + }; + } +} + +#endif /* INCLUDE_MTS_MTS_IO_LE866A1JSRADIO_H_ */ diff --git a/include/mts/MTS_IO_LE866Radio.h b/include/mts/MTS_IO_LE866Radio.h new file mode 100644 index 0000000..c11c5b4 --- /dev/null +++ b/include/mts/MTS_IO_LE866Radio.h @@ -0,0 +1,61 @@ +/* + * MTS_IO_LE866Radio.h + * + * Created on: May 24, 2018 + * Author: jeff + */ + +#ifndef INCLUDE_MTS_MTS_IO_LE866RADIO_H_ +#define INCLUDE_MTS_MTS_IO_LE866RADIO_H_ + +/* + * Copyright (C) 2017 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_ME910Radio.cpp + \brief A brief description + + A more elaborate description +*/ + +#include <mts/MTS_IO_CellularRadio.h> + +namespace MTS { + namespace IO { + + class LE866Radio : public CellularRadio { + + public: + static const std::string MODEL_NAME; + + LE866Radio(const std::string& sLE866Model, const std::string& sPort); + virtual ~LE866Radio(){}; + + protected: + + private: + + + }; + } +} + + +#endif /* INCLUDE_MTS_MTS_IO_LE866RADIO_H_ */ |