From 1fd6951128f87c71d5e87c4f9aaeea6781fac901 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 21 Jan 2021 16:26:28 +0100 Subject: [PATCH] Added url and license to files --- library.properties | 2 +- src/YoulessMonitor.cpp | 24 ++++++++++++++++++++++++ src/YoulessMonitor.h | 24 ++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 11d9d99..1ce1686 100644 --- a/library.properties +++ b/library.properties @@ -5,7 +5,7 @@ maintainer=Nick van Tholen sentence=A library for use with Youless Energy Monitor. paragraph=This library provides an usefull connection between a development-board and the Youless Energy Monitor. It uses a direct TCP link to the Youless monitor to get the measured data, the library also handles the formating of this data. For more information about this library and documentation check out the github repository. category=Communication -url= +url=https://github.com/NickvanTholen/Youless-Arduino-lib architectures=* includes=YoulessMonitor.h depends=ArduinoJson \ No newline at end of file diff --git a/src/YoulessMonitor.cpp b/src/YoulessMonitor.cpp index 4f7d655..18e7255 100644 --- a/src/YoulessMonitor.cpp +++ b/src/YoulessMonitor.cpp @@ -1,4 +1,28 @@ // MY OWN LICENSE // +/* +MIT License + +Copyright (c) 2021 Nick van Tholen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ // INCLUDED LICENSES // /* diff --git a/src/YoulessMonitor.h b/src/YoulessMonitor.h index 17b3c1b..2ad6a95 100644 --- a/src/YoulessMonitor.h +++ b/src/YoulessMonitor.h @@ -1,4 +1,28 @@ // MY OWN LICENSE // +/* +MIT License + +Copyright (c) 2021 Nick van Tholen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +*/ // INCLUDED LICENSES // /*