Skip to content

Commit ae50215

Browse files
committed
Modify some comments based on code review
1 parent 3089dc8 commit ae50215

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

libraries/CurieBLE/examples/IMUBleCentral/IMUBleCentral.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
#include <CurieBLE.h>
2020

2121
/*
22-
This sketch example partially implements the standard Bluetooth Low-Energy Battery service.
23-
For more information: https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx
22+
This sketch example works with IMUBleNotification.ino
23+
IMUBleNotification.ino will send Notification to this sketch.
24+
This sketch will receive the Notifications and out put the received data.
2425
*/
2526

2627
#define MAX_IMU_RECORD 1

libraries/CurieBLE/examples/IMUBleNotification/IMUBleNotification.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
#include <CurieIMU.h>
2121

2222
/*
23-
This sketch example partially implements the standard Bluetooth Low-Energy Battery service.
24-
For more information: https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx
23+
This sketch example works with IMUBleCentral.ino
24+
This sketch will read IMU data from sensor and send Notification to IMUBleCentral.ino
25+
IMUBleCentral.ino will receive the Notifications and output the received data.
2526
*/
2627

2728
#define MAX_IMU_RECORD 1

libraries/CurieBLE/examples/LEDCentral/LEDCentral.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
1301 USA
1818
*/
1919

20-
// This example can work with CallbackLED to show the profile read/write operation in central
2120
#include <CurieBLE.h>
2221

22+
/*
23+
This example can work with CallbackLED
24+
to show the profile read/write operation in central
25+
*/
26+
2327
struct bt_le_conn_param conn_param = {0x18, 0x28, 0, 400};
2428

2529
const int ledPin = 13; // set ledPin to use on-board LED

libraries/CurieBLE/examples/Scanning/Scanning.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
*/
1818
#include <CurieBLE.h>
1919

20+
/*
21+
This sketch try to show the scan function
22+
The sketch will list the device's MAC address and device name to the console
23+
The list will refresh every 3s
24+
*/
25+
2026
#define BLE_SCANING_DEVICE_MAX_CNT 5
2127

2228
typedef struct{

0 commit comments

Comments
 (0)