From 520662b0e33b07d0a95ef3f1ffe5b85d1061dbdb Mon Sep 17 00:00:00 2001
From: Vivek Kumar Dutta <vivek.dutta@iopsys.eu>
Date: Thu, 30 May 2024 15:52:12 +0530
Subject: [PATCH] Added BSD-3 license

---
 LICENSE            | 29 +++++++++++++++++++++++++++++
 src/dataelements.c |  9 ++++-----
 src/dataelements.h |  9 ++++-----
 src/wifi.c         | 11 +++++------
 src/wifi.h         |  9 ++++-----
 5 files changed, 46 insertions(+), 21 deletions(-)
 create mode 100644 LICENSE

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..8c4663c
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,29 @@
+BSD 3-Clause License
+
+Copyright (c) 2023, IOPSYS
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+   contributors may be used to endorse or promote products derived from
+   this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/src/dataelements.c b/src/dataelements.c
index 3d7fe46..3b14f4a 100644
--- a/src/dataelements.c
+++ b/src/dataelements.c
@@ -1,11 +1,10 @@
 /*
- * Copyright (C) 2023 IOPSYS Software Solutions AB
+ * Copyright (C) 2023-2024 IOPSYS Software Solutions AB. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 2.1
- * as published by the Free Software Foundation
  *
- *	Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
+ * See LICENSE file for license related information.
+ *
+ * Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
  *
  */
 
diff --git a/src/dataelements.h b/src/dataelements.h
index c20015e..40de6f7 100644
--- a/src/dataelements.h
+++ b/src/dataelements.h
@@ -1,11 +1,10 @@
 /*
- * Copyright (C) 2023 IOPSYS Software Solutions AB
+ * Copyright (C) 2023-2024 IOPSYS Software Solutions AB. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 2.1
- * as published by the Free Software Foundation
  *
- *	Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
+ * See LICENSE file for license related information.
+ *
+ * Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
  *
  */
 
diff --git a/src/wifi.c b/src/wifi.c
index 4a27d0e..a9d74a7 100644
--- a/src/wifi.c
+++ b/src/wifi.c
@@ -1,12 +1,11 @@
 /*
- * Copyright (C) 2023 IOPSYS Software Solutions AB
+ * Copyright (C) 2023-2024 IOPSYS Software Solutions AB. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 2.1
- * as published by the Free Software Foundation
  *
- *	Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
- *	Author: Saurabh Verma <saurabh.verma@iopsys.eu>
+ * See LICENSE file for license related information.
+ *
+ * Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
+ * Author: Saurabh Verma <saurabh.verma@iopsys.eu>
  *
  */
 
diff --git a/src/wifi.h b/src/wifi.h
index a782b70..c2dcd09 100644
--- a/src/wifi.h
+++ b/src/wifi.h
@@ -1,11 +1,10 @@
 /*
- * Copyright (C) 2023 IOPSYS Software Solutions AB
+ * Copyright (C) 2023-2024 IOPSYS Software Solutions AB. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 2.1
- * as published by the Free Software Foundation
  *
- *	Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
+ * See LICENSE file for license related information.
+ *
+ * Author: Amin Ben Romdhane <amin.benromdhane@iopsys.eu>
  *
  */
 
-- 
GitLab