Skip to content

Commit bc723ee

Browse files
committed
Update license
1 parent 8ba9e12 commit bc723ee

Some content is hidden

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

53 files changed

+616
-364
lines changed

LICENSE

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright {2020} {Ryan Powell}
189+
Copyright {yyyy} {name of copyright owner}
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.
@@ -199,21 +199,3 @@
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201201
limitations under the License.
202-
203-
This product bundles queue.h 8.5, which is available under the "3-clause BSD"
204-
license. For details, see porting/nimble/include/os/queue.h
205-
206-
This product partly derives from FreeBSD, which is available under the
207-
"3-clause BSD" license. For details, see:
208-
* porting/nimble/src/os_mbuf.c
209-
210-
This product bundles Gary S. Brown's CRC32 implementation, which is available
211-
under the following license:
212-
COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
213-
code or tables extracted from it, as desired without restriction.
214-
215-
This product bundles tinycrypt, which is available under the "3-clause BSD"
216-
license. For details, and bundled files see:
217-
* ext/tinycrypt/LICENSE
218-
219-
This product partly derives from esp32-snippets; Copyright 2017 Neil Kolban.

NOTICE

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
esp-nimble-cpp
2+
NimBLE-Arduino
3+
Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
4+
esp-nimble-cpp, NimBLE-Arduino contributors.
5+
6+
The Initial Developer of some parts of this library, which are copied from,
7+
derived from, or inspired by is, esp32-snippets, Copyright 2017 Neil Kolban.
8+
9+
If this library is used for commercial purposes, it is requested that the user consider
10+
making a donation and/or sponsoring this project to support it's ongoing development.

src/NimBLE2904.cpp

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
/*
2-
* NimBLE2904.cpp
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on March 13, 2020
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
7-
* Originally:
9+
* http://www.apache.org/licenses/LICENSE-2.0
810
*
9-
* BLE2904.cpp
10-
*
11-
* Created on: Dec 23, 2017
12-
* Author: kolban
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
1316
*/
1417

1518
#include "nimconfig.h"

src/NimBLE2904.h

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
/*
2-
* NimBLE2904.h
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on March 13, 2020
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
7-
* Originally:
9+
* http://www.apache.org/licenses/LICENSE-2.0
810
*
9-
* BLE2904.h
10-
*
11-
* Created on: Dec 23, 2017
12-
* Author: kolban
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
1316
*/
1417

1518
#ifndef NIMBLE_CPP_2904_H_
@@ -23,8 +26,8 @@
2326
struct NimBLE2904Data {
2427
uint8_t m_format{0};
2528
int8_t m_exponent{0};
26-
uint16_t m_unit{0x2700}; // Unitless; See https://www.bluetooth.com/specifications/assigned-numbers/units
27-
uint8_t m_namespace{1}; // 1 = Bluetooth SIG Assigned Numbers
29+
uint16_t m_unit{0x2700}; // Unitless; See https://www.bluetooth.com/specifications/assigned-numbers/units
30+
uint8_t m_namespace{1}; // 1 = Bluetooth SIG Assigned Numbers
2831
uint16_t m_description{0}; // unknown description
2932
} __attribute__((packed));
3033

src/NimBLEAddress.cpp

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
/*
2-
* NimBLEAddress.cpp
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on Jan 24 2020
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
7-
* Originally:
9+
* http://www.apache.org/licenses/LICENSE-2.0
810
*
9-
* BLEAddress.cpp
10-
*
11-
* Created on: Jul 2, 2017
12-
* Author: kolban
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
1316
*/
17+
1418
#include "nimconfig.h"
1519
#if defined(CONFIG_BT_ENABLED)
1620

src/NimBLEAddress.h

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
/*
2-
* NimBLEAddress.h
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on Jan 24 2020
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
7-
* Originally:
9+
* http://www.apache.org/licenses/LICENSE-2.0
810
*
9-
* BLEAddress.h
10-
*
11-
* Created on: Jul 2, 2017
12-
* Author: kolban
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
1316
*/
1417

1518
#ifndef NIMBLE_CPP_ADDRESS_H_
@@ -59,8 +62,8 @@ class NimBLEAddress : private ble_addr_t {
5962
const NimBLEAddress& reverseByteOrder();
6063
bool operator==(const NimBLEAddress& rhs) const;
6164
bool operator!=(const NimBLEAddress& rhs) const;
62-
operator std::string() const;
63-
operator uint64_t() const;
65+
operator std::string() const;
66+
operator uint64_t() const;
6467
};
6568

6669
#endif /* CONFIG_BT_ENABLED */

src/NimBLEAdvertisedDevice.cpp

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
/*
2-
* NimBLEAdvertisedDevice.cpp
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on Jan 24 2020
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
7-
* Originally:
9+
* http://www.apache.org/licenses/LICENSE-2.0
810
*
9-
* BLEAdvertisedDevice.cpp
10-
*
11-
* Created on: Jul 3, 2017
12-
* Author: kolban
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
1316
*/
1417

1518
#include "nimconfig.h"

src/NimBLEAdvertisedDevice.h

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
/*
2-
* NimBLEAdvertisedDevice.h
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on Jan 24 2020
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
7-
* Originally:
9+
* http://www.apache.org/licenses/LICENSE-2.0
810
*
9-
* BLEAdvertisedDevice.h
10-
*
11-
* Created on: Jul 3, 2017
12-
* Author: kolban
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
1316
*/
1417

1518
#ifndef NIMBLE_CPP_ADVERTISED_DEVICE_H_

src/NimBLEAdvertisementData.cpp

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
/*
2-
* NimBLEAdvertisementData.cpp
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on November 24, 2024
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
716
*/
817

918
#include "nimconfig.h"

src/NimBLEAdvertisementData.h

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
/*
2-
* NimBLEAdvertisementData.h
2+
* Copyright 2020-2024 Ryan Powell <ryan@nable-embedded.io> and
3+
* esp-nimble-cpp, NimBLE-Arduino contributors.
34
*
4-
* Created: on November 24, 2024
5-
* Author H2zero
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
68
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
716
*/
817

918
#ifndef NIMBLE_CPP_ADVERTISEMENT_DATA_H_
@@ -13,9 +22,9 @@
1322
#if (defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && !CONFIG_BT_NIMBLE_EXT_ADV) || \
1423
defined(_DOXYGEN_)
1524

16-
#include <cstdint>
17-
#include <string>
18-
#include <vector>
25+
# include <cstdint>
26+
# include <string>
27+
# include <vector>
1928

2029
class NimBLEUUID;
2130
/**

0 commit comments

Comments
 (0)