update central comments

This commit is contained in:
hathach committed 2017-12-21 00:36:27 +07:00
1 parent 857455d9e4
commit 444bf505b1
3 files changed
+8 -3

No files matched your search

@@ -28,8 +28,10 @@ void setup()
Serial.println("Bluefruit52 Central BLEUART Example");
Serial.println("-----------------------------------\n");
// Enable both peripheral and central
// Initialize Bluefruit with maximum connections as Peripheral = 0, Central = 1
// SRAM usage required by SoftDevice will increase dramatically with number of connections
Bluefruit.begin(0, 1);
Bluefruit.setName("Bluefruit52 Central");
// Configure DIS client
@@ -21,7 +21,8 @@ void setup()
Serial.println("Bluefruit52 Central Scan Example");
Serial.println("--------------------------------\n");
// Init Bluefruit with Number of Peripheral = 0, Central = 1
// Initialize Bluefruit with maximum connections as Peripheral = 0, Central = 1
// SRAM usage required by SoftDevice will increase dramatically with number of connections
Bluefruit.begin(0, 1);
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
@@ -25,8 +25,10 @@ void setup()
Serial.println("Bluefruit52 Central ADV Scan Example");
Serial.println("------------------------------------\n");
/* Enable both peripheral and central modes */
// Initialize Bluefruit with maximum connections as Peripheral = 0, Central = 1
// SRAM usage required by SoftDevice will increase dramatically with number of connections
Bluefruit.begin(0, 1);
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
Bluefruit.setTxPower(4);