Skip to content

Commit de30a61

Browse files
committed
ATLEDGE-553 Modify library examples header info
1 parent a694d09 commit de30a61

File tree

16 files changed

+342
-231
lines changed

16 files changed

+342
-231
lines changed

libraries/CurieBLE/examples/BatteryMonitor/BatteryMonitor.ino

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
/*
2-
Copyright (c) 2015 Intel Corporation. All rights reserved.
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
* See the bottom of this file for the license terms.
4+
*/
35

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-
*/
186
#include <CurieBLE.h>
197

208
/*
@@ -98,3 +86,21 @@ void updateBatteryLevel() {
9886
oldBatteryLevel = batteryLevel; // save the level for next comparison
9987
}
10088
}
89+
90+
/*
91+
Copyright (c) 2016 Intel Corporation. All rights reserved.
92+
93+
This library is free software; you can redistribute it and/or
94+
modify it under the terms of the GNU Lesser General Public
95+
License as published by the Free Software Foundation; either
96+
version 2.1 of the License, or (at your option) any later version.
97+
98+
This library is distributed in the hope that it will be useful,
99+
but WITHOUT ANY WARRANTY; without even the implied warranty of
100+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
101+
Lesser General Public License for more details.
102+
103+
You should have received a copy of the GNU Lesser General Public
104+
License along with this library; if not, write to the Free Software
105+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
106+
*/

libraries/CurieBLE/examples/ButtonLED/ButtonLED.ino

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
/*
2-
Copyright (c) 2015 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-
17-
1301 USA
18-
*/
19-
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
* See the bottom of this file for the license terms.
4+
*/
205

216
#include <CurieBLE.h>
227

@@ -83,3 +68,22 @@ void loop() {
8368
}
8469
}
8570
}
71+
72+
/*
73+
Copyright (c) 2016 Intel Corporation. All rights reserved.
74+
75+
This library is free software; you can redistribute it and/or
76+
modify it under the terms of the GNU Lesser General Public
77+
License as published by the Free Software Foundation; either
78+
version 2.1 of the License, or (at your option) any later version.
79+
80+
This library is distributed in the hope that it will be useful,
81+
but WITHOUT ANY WARRANTY; without even the implied warranty of
82+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
83+
Lesser General Public License for more details.
84+
85+
You should have received a copy of the GNU Lesser General Public
86+
License along with this library; if not, write to the Free Software
87+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-
88+
1301 USA
89+
*/

libraries/CurieBLE/examples/CallbackLED/CallbackLED.ino

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
/*
2-
Copyright (c) 2015 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-
17-
1301 USA
18-
*/
19-
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
* See the bottom of this file for the license terms.
4+
*/
205

216
#include <CurieBLE.h>
227

@@ -84,3 +69,22 @@ void switchCharacteristicWritten(BLECentral& central, BLECharacteristic& charact
8469
digitalWrite(ledPin, LOW);
8570
}
8671
}
72+
73+
/*
74+
Copyright (c) 2016 Intel Corporation. All rights reserved.
75+
76+
This library is free software; you can redistribute it and/or
77+
modify it under the terms of the GNU Lesser General Public
78+
License as published by the Free Software Foundation; either
79+
version 2.1 of the License, or (at your option) any later version.
80+
81+
This library is distributed in the hope that it will be useful,
82+
but WITHOUT ANY WARRANTY; without even the implied warranty of
83+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
84+
Lesser General Public License for more details.
85+
86+
You should have received a copy of the GNU Lesser General Public
87+
License along with this library; if not, write to the Free Software
88+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-
89+
1301 USA
90+
*/

libraries/CurieBLE/examples/LED/LED.ino

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
/*
2-
Copyright (c) 2015 Intel Corporation. All rights reserved.
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
* See the bottom of this file for the license terms.
4+
*/
35

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-
*/
186
#include <CurieBLE.h>
197

208
BLEPeripheral blePeripheral; // BLE Peripheral Device (the board you're programming)
@@ -79,3 +67,20 @@ void loop() {
7967
}
8068
}
8169

70+
/*
71+
Copyright (c) 2016 Intel Corporation. All rights reserved.
72+
73+
This library is free software; you can redistribute it and/or
74+
modify it under the terms of the GNU Lesser General Public
75+
License as published by the Free Software Foundation; either
76+
version 2.1 of the License, or (at your option) any later version.
77+
78+
This library is distributed in the hope that it will be useful,
79+
but WITHOUT ANY WARRANTY; without even the implied warranty of
80+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
81+
Lesser General Public License for more details.
82+
83+
You should have received a copy of the GNU Lesser General Public
84+
License along with this library; if not, write to the Free Software
85+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
86+
*/

libraries/CurieIMU/examples/Accelerometer/Accelerometer.ino

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
Copyright (c) 2015 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-
*/
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
* See the bottom of this file for the license terms.
4+
*/
195

206
/*
217
This sketch example demonstrates how the BMI160 on the
@@ -68,3 +54,22 @@ float convertRawAcceleration(int aRaw) {
6854
return a;
6955
}
7056

57+
/*
58+
Copyright (c) 2016 Intel Corporation. All rights reserved.
59+
60+
This library is free software; you can redistribute it and/or
61+
modify it under the terms of the GNU Lesser General Public
62+
License as published by the Free Software Foundation; either
63+
version 2.1 of the License, or (at your option) any later version.
64+
65+
This library is distributed in the hope that it will be useful,
66+
but WITHOUT ANY WARRANTY; without even the implied warranty of
67+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
68+
Lesser General Public License for more details.
69+
70+
You should have received a copy of the GNU Lesser General Public
71+
License along with this library; if not, write to the Free Software
72+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
73+
74+
*/
75+

libraries/CurieIMU/examples/AccelerometerOrientation/AccelerometerOrientation.ino

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
Copyright (c) 2015 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-
*/
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
* See the bottom of this file for the license terms.
4+
*/
195

206
/*
217
This sketch example demonstrates how the BMI160 on the
@@ -97,4 +83,21 @@ int orientation = - 1; // the board's orientation
9783
}
9884
}
9985

86+
/*
87+
Copyright (c) 2016 Intel Corporation. All rights reserved.
88+
89+
This library is free software; you can redistribute it and/or
90+
modify it under the terms of the GNU Lesser General Public
91+
License as published by the Free Software Foundation; either
92+
version 2.1 of the License, or (at your option) any later version.
93+
94+
This library is distributed in the hope that it will be useful,
95+
but WITHOUT ANY WARRANTY; without even the implied warranty of
96+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
97+
Lesser General Public License for more details.
98+
99+
You should have received a copy of the GNU Lesser General Public
100+
License along with this library; if not, write to the Free Software
101+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
100102
103+
*/

libraries/CurieIMU/examples/FreeFallDetect/FreeFallDetect.ino

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
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-
3+
See the bottom of this file for license terms.
184
*/
195

206
/*
@@ -61,3 +47,22 @@ static void eventCallback(){
6147
interruptsTime = millis();
6248
}
6349
}
50+
51+
/*
52+
Copyright (c) 2016 Intel Corporation. All rights reserved.
53+
54+
This library is free software; you can redistribute it and/or
55+
modify it under the terms of the GNU Lesser General Public
56+
License as published by the Free Software Foundation; either
57+
version 2.1 of the License, or (at your option) any later version.
58+
59+
This library is distributed in the hope that it will be useful,
60+
but WITHOUT ANY WARRANTY; without even the implied warranty of
61+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
62+
Lesser General Public License for more details.
63+
64+
You should have received a copy of the GNU Lesser General Public
65+
License along with this library; if not, write to the Free Software
66+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
67+
68+
*/

libraries/CurieIMU/examples/Gyro/Gyro.ino

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
Copyright (c) 2015 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-
*/
2+
* Copyright (c) 2016 Intel Corporation. All rights reserved.
3+
* See the bottom of this file for the license terms.
4+
*/
195

206
/*
217
This sketch example demonstrates how the BMI160 on the
@@ -68,3 +54,21 @@ float convertRawGyro(int gRaw) {
6854
return g;
6955
}
7056

57+
/*
58+
Copyright (c) 2016 Intel Corporation. All rights reserved.
59+
60+
This library is free software; you can redistribute it and/or
61+
modify it under the terms of the GNU Lesser General Public
62+
License as published by the Free Software Foundation; either
63+
version 2.1 of the License, or (at your option) any later version.
64+
65+
This library is distributed in the hope that it will be useful,
66+
but WITHOUT ANY WARRANTY; without even the implied warranty of
67+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
68+
Lesser General Public License for more details.
69+
70+
You should have received a copy of the GNU Lesser General Public
71+
License along with this library; if not, write to the Free Software
72+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
73+
74+
*/

0 commit comments

Comments
 (0)