Skip to content

Commit 444bf50

Browse files
committed
update central comments
1 parent 857455d commit 444bf50

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

libraries/Bluefruit52Lib/examples/Central/central_bleuart/central_bleuart.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ void setup()
2828
Serial.println("Bluefruit52 Central BLEUART Example");
2929
Serial.println("-----------------------------------\n");
3030

31-
// Enable both peripheral and central
31+
// Initialize Bluefruit with maximum connections as Peripheral = 0, Central = 1
32+
// SRAM usage required by SoftDevice will increase dramatically with number of connections
3233
Bluefruit.begin(0, 1);
34+
3335
Bluefruit.setName("Bluefruit52 Central");
3436

3537
// Configure DIS client

libraries/Bluefruit52Lib/examples/Central/central_scan/central_scan.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ void setup()
2121
Serial.println("Bluefruit52 Central Scan Example");
2222
Serial.println("--------------------------------\n");
2323

24-
// Init Bluefruit with Number of Peripheral = 0, Central = 1
24+
// Initialize Bluefruit with maximum connections as Peripheral = 0, Central = 1
25+
// SRAM usage required by SoftDevice will increase dramatically with number of connections
2526
Bluefruit.begin(0, 1);
2627

2728
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4

libraries/Bluefruit52Lib/examples/Central/central_scan_advanced/central_scan_advanced.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ void setup()
2525
Serial.println("Bluefruit52 Central ADV Scan Example");
2626
Serial.println("------------------------------------\n");
2727

28-
/* Enable both peripheral and central modes */
28+
// Initialize Bluefruit with maximum connections as Peripheral = 0, Central = 1
29+
// SRAM usage required by SoftDevice will increase dramatically with number of connections
2930
Bluefruit.begin(0, 1);
31+
3032
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
3133
Bluefruit.setTxPower(4);
3234

0 commit comments

Comments
 (0)