Skip to content

Commit 9183ca1

Browse files
committed
Add double read/write example
1 parent ff32c97 commit 9183ca1

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

libraries/CurieBLE/examples/central/CentralDouble/CentralDouble.ino

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
<<<<<<< HEAD
23
* Copyright (c) 2016 Intel Corporation. All rights reserved.
34
* See the bottom of this file for the license terms.
45
*/
@@ -19,6 +20,25 @@
1920
* Expected Peripheral Characteristic: 19b20001e8f2537e4f6cd104768a1214
2021
* Expected Characteristic read value: double.
2122
*/
23+
=======
24+
Arduino BLE Peripheral Double read/write test example
25+
Copyright (c) 2016 Arduino LLC. All right reserved.
26+
27+
This library is free software; you can redistribute it and/or
28+
modify it under the terms of the GNU Lesser General Public
29+
License as published by the Free Software Foundation; either
30+
version 2.1 of the License, or (at your option) any later version.
31+
32+
This library is distributed in the hope that it will be useful,
33+
but WITHOUT ANY WARRANTY; without even the implied warranty of
34+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35+
Lesser General Public License for more details.
36+
37+
You should have received a copy of the GNU Lesser General Public
38+
License along with this library; if not, write to the Free Software
39+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
40+
*/
41+
>>>>>>> 767fe14... Add double read/write example
2242

2343
#include "CurieBLE.h"
2444

@@ -102,6 +122,7 @@ void controlLogic(BLEDevice &peripheral)
102122
Serial.println(peripheral.address());
103123
}
104124

125+
<<<<<<< HEAD
105126

106127

107128
/*
@@ -124,3 +145,5 @@ void controlLogic(BLEDevice &peripheral)
124145
*/
125146

126147

148+
=======
149+
>>>>>>> 767fe14... Add double read/write example

libraries/CurieBLE/examples/peripheral/PeripheralDouble/PeripheralDouble.ino

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
<<<<<<< HEAD
23
* Copyright (c) 2016 Intel Corporation. All rights reserved.
34
* See the bottom of this file for the license terms.
45
*/
@@ -14,6 +15,25 @@
1415
*
1516
* - Peripheral Characteristic: 19b20001e8f2537e4f6cd104768a1214
1617
*/
18+
=======
19+
Arduino BLE Peripheral Double read/write test example
20+
Copyright (c) 2016 Arduino LLC. All right reserved.
21+
22+
This library is free software; you can redistribute it and/or
23+
modify it under the terms of the GNU Lesser General Public
24+
License as published by the Free Software Foundation; either
25+
version 2.1 of the License, or (at your option) any later version.
26+
27+
This library is distributed in the hope that it will be useful,
28+
but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30+
Lesser General Public License for more details.
31+
32+
You should have received a copy of the GNU Lesser General Public
33+
License along with this library; if not, write to the Free Software
34+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
35+
*/
36+
>>>>>>> 767fe14... Add double read/write example
1737

1838
#include <CurieBLE.h>
1939

@@ -72,6 +92,7 @@ void loop() {
7292
}
7393
}
7494

95+
<<<<<<< HEAD
7596

7697
/*
7798
Arduino BLE Peripheral Double read/write test example
@@ -93,3 +114,5 @@ void loop() {
93114
*/
94115

95116

117+
=======
118+
>>>>>>> 767fe14... Add double read/write example

0 commit comments

Comments
 (0)