Skip to content

Commit 1e1ed49

Browse files
committed
Update the copyrights
1 parent 1dcaebf commit 1e1ed49

File tree

14 files changed

+310
-163
lines changed

14 files changed

+310
-163
lines changed

libraries/CurieBLE/examples/central/IMUBleCentral/IMUBleCentral.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright (c) 2016 Arduino LLC. All right reserved.
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
*/
118
#include <CurieBLE.h>
219

320
/*

libraries/CurieBLE/examples/peripheral/IMUBleNotification/IMUBleNotification.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright (c) 2016 Arduino LLC. All right reserved.
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
*/
118
#include <CurieBLE.h>
219
#include <CurieIMU.h>
320

libraries/CurieBLE/src/BLECharacteristic.cpp

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
*
4+
* This library is free software; you can redistribute it and/or
5+
* modify it under the terms of the GNU Lesser General Public
6+
* License as published by the Free Software Foundation; either
7+
* version 2.1 of the License, or (at your option) any later version.
8+
9+
* This library is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
* Lesser General Public License for more details.
13+
14+
* You should have received a copy of the GNU Lesser General Public
15+
* License along with this library; if not, write to the Free Software
16+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
*
18+
*/
19+
120
#include <errno.h>
221

322
#include "CurieBLE.h"

libraries/CurieBLE/src/internal/BLECallbacks.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
*
4+
* This library is free software; you can redistribute it and/or
5+
* modify it under the terms of the GNU Lesser General Public
6+
* License as published by the Free Software Foundation; either
7+
* version 2.1 of the License, or (at your option) any later version.
8+
9+
* This library is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
* Lesser General Public License for more details.
13+
14+
* You should have received a copy of the GNU Lesser General Public
15+
* License along with this library; if not, write to the Free Software
16+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
*
18+
*/
119

220

321
#include <errno.h>
Lines changed: 78 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,78 @@
1-
2-
#ifndef __BLECALLBACKS_H__
3-
#define __BLECALLBACKS_H__
4-
5-
uint8_t profile_notify_process (bt_conn_t *conn,
6-
bt_gatt_subscribe_params_t *params,
7-
const void *data, uint16_t length);
8-
uint8_t profile_read_rsp_process(bt_conn_t *conn, int err,
9-
bt_gatt_read_params_t *params,
10-
const void *data,
11-
uint16_t length);
12-
int profile_longflush_process(struct bt_conn *conn,
13-
const struct bt_gatt_attr *attr,
14-
uint8_t flags);
15-
ssize_t profile_longwrite_process(struct bt_conn *conn,
16-
const struct bt_gatt_attr *attr,
17-
const void *buf, uint16_t len,
18-
uint16_t offset);
19-
ssize_t profile_write_process(bt_conn_t *conn,
20-
const bt_gatt_attr_t *attr,
21-
const void *buf, uint16_t len,
22-
uint16_t offset);
23-
ssize_t profile_read_process(bt_conn_t *conn,
24-
const bt_gatt_attr_t *attr,
25-
void *buf, uint16_t len,
26-
uint16_t offset);
27-
28-
uint8_t profile_discover_process(bt_conn_t *conn,
29-
const bt_gatt_attr_t *attr,
30-
bt_gatt_discover_params_t *params);
31-
32-
void bleConnectEventHandler(bt_conn_t *conn,
33-
uint8_t err,
34-
void *param);
35-
36-
void bleDisconnectEventHandler(bt_conn_t *conn,
37-
uint8_t reason,
38-
void *param);
39-
40-
void bleParamUpdatedEventHandler(bt_conn_t *conn,
41-
uint16_t interval,
42-
uint16_t latency,
43-
uint16_t timeout,
44-
void *param);
45-
46-
void ble_central_device_found(const bt_addr_le_t *addr,
47-
int8_t rssi,
48-
uint8_t type,
49-
const uint8_t *ad,
50-
uint8_t len);
51-
52-
uint8_t profile_service_read_rsp_process(bt_conn_t *conn,
53-
int err,
54-
bt_gatt_read_params_t *params,
55-
const void *data,
56-
uint16_t length);
57-
58-
#endif
59-
1+
/*
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
*
4+
* This library is free software; you can redistribute it and/or
5+
* modify it under the terms of the GNU Lesser General Public
6+
* License as published by the Free Software Foundation; either
7+
* version 2.1 of the License, or (at your option) any later version.
8+
9+
* This library is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
* Lesser General Public License for more details.
13+
14+
* You should have received a copy of the GNU Lesser General Public
15+
* License along with this library; if not, write to the Free Software
16+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
*
18+
*/
19+
20+
21+
#ifndef __BLECALLBACKS_H__
22+
#define __BLECALLBACKS_H__
23+
24+
uint8_t profile_notify_process (bt_conn_t *conn,
25+
bt_gatt_subscribe_params_t *params,
26+
const void *data, uint16_t length);
27+
uint8_t profile_read_rsp_process(bt_conn_t *conn, int err,
28+
bt_gatt_read_params_t *params,
29+
const void *data,
30+
uint16_t length);
31+
int profile_longflush_process(struct bt_conn *conn,
32+
const struct bt_gatt_attr *attr,
33+
uint8_t flags);
34+
ssize_t profile_longwrite_process(struct bt_conn *conn,
35+
const struct bt_gatt_attr *attr,
36+
const void *buf, uint16_t len,
37+
uint16_t offset);
38+
ssize_t profile_write_process(bt_conn_t *conn,
39+
const bt_gatt_attr_t *attr,
40+
const void *buf, uint16_t len,
41+
uint16_t offset);
42+
ssize_t profile_read_process(bt_conn_t *conn,
43+
const bt_gatt_attr_t *attr,
44+
void *buf, uint16_t len,
45+
uint16_t offset);
46+
47+
uint8_t profile_discover_process(bt_conn_t *conn,
48+
const bt_gatt_attr_t *attr,
49+
bt_gatt_discover_params_t *params);
50+
51+
void bleConnectEventHandler(bt_conn_t *conn,
52+
uint8_t err,
53+
void *param);
54+
55+
void bleDisconnectEventHandler(bt_conn_t *conn,
56+
uint8_t reason,
57+
void *param);
58+
59+
void bleParamUpdatedEventHandler(bt_conn_t *conn,
60+
uint16_t interval,
61+
uint16_t latency,
62+
uint16_t timeout,
63+
void *param);
64+
65+
void ble_central_device_found(const bt_addr_le_t *addr,
66+
int8_t rssi,
67+
uint8_t type,
68+
const uint8_t *ad,
69+
uint8_t len);
70+
71+
uint8_t profile_service_read_rsp_process(bt_conn_t *conn,
72+
int err,
73+
bt_gatt_read_params_t *params,
74+
const void *data,
75+
uint16_t length);
76+
77+
#endif
78+

libraries/CurieBLE/src/internal/BLECharacteristicImp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015 Intel Corporation. All rights reserved.
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

libraries/CurieBLE/src/internal/BLECharacteristicImp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015 Intel Corporation. All rights reserved.
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

libraries/CurieBLE/src/internal/BLEDescriptorImp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015 Intel Corporation. All rights reserved.
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

libraries/CurieBLE/src/internal/BLEDescriptorImp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015 Intel Corporation. All rights reserved.
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

libraries/CurieBLE/src/internal/BLEServiceImp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015 Intel Corporation. All rights reserved.
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

0 commit comments

Comments
 (0)