Skip to content

Commit bb96bb0

Browse files
committed
library: change license to MPL
1 parent 5567b6b commit bb96bb0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+977
-1724
lines changed

LICENSE

Lines changed: 373 additions & 674 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,3 @@ Boards can authenticate to the ArduinoIoTCloud servers using 3 methods:
9696
* `DEVICE_CERTIFICATE` and `PRIVATE_KEY`. This values are stored inside the board secure element during the device provisioning phase. Boards that are using this method are: [`MKR 1000`](https://store.arduino.cc/arduino-mkr1000-wifi), [`MKR WiFi 1010`](https://store.arduino.cc/arduino-mkr-wifi-1010), [`MKR GSM 1400`](https://store.arduino.cc/arduino-mkr-gsm-1400-1415), [`MKR NB 1500`](https://store.arduino.cc/arduino-mkr-nb-1500-1413), [`Nano 33 IoT`](https://store.arduino.cc/arduino-nano-33-iot), [`Portenta H7`](https://store.arduino.cc/portenta-h7), [`Nano RP2040 Connect`](https://store.arduino.cc/products/arduino-nano-rp2040-connect), [`Nicla Vision`](https://store.arduino.cc/products/nicla-vision), [`OPTA WiFi`](https://store.arduino.cc/products/opta-wifi), [`OPTA RS485`](https://store.arduino.cc/products/opta-rs485), [`OPTA Lite`](https://store.arduino.cc/products/opta-lite), [`GIGA R1 WiFi`](https://store.arduino.cc/products/giga-r1-wifi), [`Portenta C33`](https://store.arduino.cc/products/portenta-c33)
9797

9898
* `APP_EUI` and `APP_KEY`. This values are defined in the `thingProperties.h` file and included in the Sketch. Boards that are using this method are: [`MKR WAN 1300/1310`](https://store.arduino.cc/mkr-wan-1310)
99-
100-
### License
101-
102-
The ArduinoIoTCloud library is licensed under the GNU General Public License v3.0.
103-
104-
You can be released from the requirements of the above license by purchasing a commercial license. Buying such a license is mandatory if you want to modify or otherwise use the software for commercial activities involving the Arduino software without disclosing the source code of your own applications. To purchase a commercial license, send an email to [email protected]

src/AIoTC_Config.h

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
/*
2-
This file is part of ArduinoIoTCloud.
2+
This file is part of the ArduinoIoTCloud library.
33
4-
Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4+
Copyright (c) 2020 Arduino SA
55
6-
This software is released under the GNU General Public License version 3,
7-
which covers the main part of arduino-cli.
8-
The terms of this license can be found at:
9-
https://www.gnu.org/licenses/gpl-3.0.en.html
10-
11-
You can be released from the requirements of the above licenses by purchasing
12-
a commercial license. Buying such a license is mandatory if you want to modify or
13-
otherwise use the software for commercial activities involving the Arduino
14-
software without disclosing the source code of your own applications. To purchase
15-
a commercial license, send an email to [email protected].
6+
This Source Code Form is subject to the terms of the Mozilla Public
7+
License, v. 2.0. If a copy of the MPL was not distributed with this
8+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
169
*/
1710

1811
#ifndef ARDUINO_AIOTC_CONFIG_H_
@@ -27,7 +20,7 @@
2720
#include <ArduinoECCX08Config.h>
2821

2922
/******************************************************************************
30-
* USER CONFIGURABLE DEFINES
23+
USER CONFIGURABLE DEFINES
3124
******************************************************************************/
3225

3326
#ifndef NTP_USE_RANDOM_PORT
@@ -55,7 +48,7 @@
5548
#endif
5649

5750
/******************************************************************************
58-
* AUTOMATICALLY CONFIGURED DEFINES
51+
AUTOMATICALLY CONFIGURED DEFINES
5952
******************************************************************************/
6053

6154
#if !defined(HAS_NOTECARD)
@@ -162,7 +155,7 @@
162155
#endif
163156

164157
/******************************************************************************
165-
* CONSTANTS
158+
CONSTANTS
166159
******************************************************************************/
167160

168161
#if defined(HAS_LORA)

src/AIoTC_Const.h

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
/*
2-
This file is part of ArduinoIoTCloud.
2+
This file is part of the ArduinoIoTCloud library.
33
4-
Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4+
Copyright (c) 2020 Arduino SA
55
6-
This software is released under the GNU General Public License version 3,
7-
which covers the main part of arduino-cli.
8-
The terms of this license can be found at:
9-
https://www.gnu.org/licenses/gpl-3.0.en.html
10-
11-
You can be released from the requirements of the above licenses by purchasing
12-
a commercial license. Buying such a license is mandatory if you want to modify or
13-
otherwise use the software for commercial activities involving the Arduino
14-
software without disclosing the source code of your own applications. To purchase
15-
a commercial license, send an email to [email protected].
6+
This Source Code Form is subject to the terms of the Mozilla Public
7+
License, v. 2.0. If a copy of the MPL was not distributed with this
8+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
169
*/
1710

1811
#ifndef ARDUINO_AIOTC_CONST_H_
1912
#define ARDUINO_AIOTC_CONST_H_
2013

2114
/******************************************************************************
22-
CONSTANTS
15+
CONSTANTS
2316
******************************************************************************/
2417

2518
static bool const ON = true;

src/ArduinoBearSSLConfig.h

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
/*
2-
This file is part of ArduinoIoTCloud.
2+
This file is part of the ArduinoIoTCloud library.
33
4-
Copyright 2024 ARDUINO SA (http://www.arduino.cc/)
4+
Copyright (c) 2024 Arduino SA
55
6-
This software is released under the GNU General Public License version 3,
7-
which covers the main part of arduino-cli.
8-
The terms of this license can be found at:
9-
https://www.gnu.org/licenses/gpl-3.0.en.html
10-
11-
You can be released from the requirements of the above licenses by purchasing
12-
a commercial license. Buying such a license is mandatory if you want to modify or
13-
otherwise use the software for commercial activities involving the Arduino
14-
software without disclosing the source code of your own applications. To purchase
15-
a commercial license, send an email to [email protected].
6+
This Source Code Form is subject to the terms of the Mozilla Public
7+
License, v. 2.0. If a copy of the MPL was not distributed with this
8+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
169
*/
1710

1811
#ifndef ARDUINO_BEARSSL_CONFIG_H_

src/ArduinoECCX08Config.h

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
/*
2-
This file is part of ArduinoIoTCloud.
2+
This file is part of the ArduinoIoTCloud library.
33
4-
Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4+
Copyright (c) 2020 Arduino SA
55
6-
This software is released under the GNU General Public License version 3,
7-
which covers the main part of arduino-cli.
8-
The terms of this license can be found at:
9-
https://www.gnu.org/licenses/gpl-3.0.en.html
10-
11-
You can be released from the requirements of the above licenses by purchasing
12-
a commercial license. Buying such a license is mandatory if you want to modify or
13-
otherwise use the software for commercial activities involving the Arduino
14-
software without disclosing the source code of your own applications. To purchase
15-
a commercial license, send an email to [email protected].
6+
This Source Code Form is subject to the terms of the Mozilla Public
7+
License, v. 2.0. If a copy of the MPL was not distributed with this
8+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
169
*/
1710

1811
#ifndef ARDUINO_ECCX08_CONFIG_H

src/ArduinoIoTCloud.cpp

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
11
/*
2-
This file is part of ArduinoIoTCloud.
2+
This file is part of the ArduinoIoTCloud library.
33
4-
Copyright 2019 ARDUINO SA (http://www.arduino.cc/)
4+
Copyright (c) 2019 Arduino SA
55
6-
This software is released under the GNU General Public License version 3,
7-
which covers the main part of arduino-cli.
8-
The terms of this license can be found at:
9-
https://www.gnu.org/licenses/gpl-3.0.en.html
10-
11-
You can be released from the requirements of the above licenses by purchasing
12-
a commercial license. Buying such a license is mandatory if you want to modify or
13-
otherwise use the software for commercial activities involving the Arduino
14-
software without disclosing the source code of your own applications. To purchase
15-
a commercial license, send an email to [email protected].
6+
This Source Code Form is subject to the terms of the Mozilla Public
7+
License, v. 2.0. If a copy of the MPL was not distributed with this
8+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
169
*/
1710

1811
/******************************************************************************
19-
* INCLUDE
12+
INCLUDE
2013
******************************************************************************/
2114

2215
#include <ArduinoIoTCloud.h>
2316

2417
/******************************************************************************
25-
CTOR/DTOR
18+
CTOR/DTOR
2619
******************************************************************************/
2720

2821
ArduinoIoTCloudClass::ArduinoIoTCloudClass()
@@ -40,7 +33,7 @@ ArduinoIoTCloudClass::ArduinoIoTCloudClass()
4033
}
4134

4235
/******************************************************************************
43-
* PUBLIC MEMBER FUNCTIONS
36+
PUBLIC MEMBER FUNCTIONS
4437
******************************************************************************/
4538

4639
void ArduinoIoTCloudClass::push()
@@ -203,7 +196,7 @@ void ArduinoIoTCloudClass::addPropertyRealInternal(Property& property, String na
203196
}
204197

205198
/******************************************************************************
206-
* PROTECTED MEMBER FUNCTIONS
199+
PROTECTED MEMBER FUNCTIONS
207200
******************************************************************************/
208201

209202
void ArduinoIoTCloudClass::execCloudEventCallback(ArduinoIoTCloudEvent const event)
@@ -218,4 +211,3 @@ __attribute__((weak)) void setDebugMessageLevel(int const /* level */)
218211
{
219212
/* do nothing */
220213
}
221-

src/ArduinoIoTCloud.h

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
/*
2-
This file is part of ArduinoIoTCloud.
2+
This file is part of the ArduinoIoTCloud library.
33
4-
Copyright 2019 ARDUINO SA (http://www.arduino.cc/)
4+
Copyright (c) 2019 Arduino SA
55
6-
This software is released under the GNU General Public License version 3,
7-
which covers the main part of arduino-cli.
8-
The terms of this license can be found at:
9-
https://www.gnu.org/licenses/gpl-3.0.en.html
10-
11-
You can be released from the requirements of the above licenses by purchasing
12-
a commercial license. Buying such a license is mandatory if you want to modify or
13-
otherwise use the software for commercial activities involving the Arduino
14-
software without disclosing the source code of your own applications. To purchase
15-
a commercial license, send an email to [email protected].
6+
This Source Code Form is subject to the terms of the Mozilla Public
7+
License, v. 2.0. If a copy of the MPL was not distributed with this
8+
file, You can obtain one at http://mozilla.org/MPL/2.0/.
169
*/
1710

1811
#ifndef ARDUINO_IOT_CLOUD_H
1912
#define ARDUINO_IOT_CLOUD_H
2013

2114
/******************************************************************************
22-
* INCLUDE
15+
INCLUDE
2316
******************************************************************************/
2417

2518
#include <AIoTC_Config.h>
@@ -48,7 +41,7 @@
4841
#include "utility/time/TimeService.h"
4942

5043
/******************************************************************************
51-
TYPEDEF
44+
TYPEDEF
5245
******************************************************************************/
5346

5447
typedef enum
@@ -76,7 +69,7 @@ enum class ArduinoIoTCloudEvent : size_t
7669
typedef void (*OnCloudEventCallback)(void);
7770

7871
/******************************************************************************
79-
* CLASS DECLARATION
72+
CLASS DECLARATION
8073
******************************************************************************/
8174

8275
class ArduinoIoTCloudClass

src/ArduinoIoTCloudDevice.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
/******************************************************************************
12-
* INCLUDE
12+
INCLUDE
1313
******************************************************************************/
1414

1515
#include <AIoTC_Config.h>
@@ -20,7 +20,7 @@
2020
#include "interfaces/CloudProcess.h"
2121

2222
/******************************************************************************
23-
CTOR/DTOR
23+
CTOR/DTOR
2424
******************************************************************************/
2525
ArduinoCloudDevice::ArduinoCloudDevice(MessageStream *ms)
2626
: CloudProcess(ms),

src/ArduinoIoTCloudDevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define ARDUINO_IOT_CLOUD_DEVICE_H
1313

1414
/******************************************************************************
15-
* INCLUDE
15+
INCLUDE
1616
******************************************************************************/
1717

1818
#include <Arduino_TimedAttempt.h>
@@ -22,7 +22,7 @@
2222
#include <connectionHandlerModels/settings.h>
2323

2424
/******************************************************************************
25-
* CLASS DECLARATION
25+
CLASS DECLARATION
2626
******************************************************************************/
2727

2828
class ArduinoCloudDevice : public CloudProcess {

0 commit comments

Comments
 (0)