Skip to content

Commit b272315

Browse files
committed
Misc example updates
1 parent 93ce2bb commit b272315

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

libraries/CurieBle/examples/BatteryMonitor/BatteryMonitor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void setup() {
3838
Serial.begin(9600); // initialize serial communication
3939
pinMode(13, OUTPUT); // initialize the LED on pin 13 to indicate when a central is connected
4040

41-
/* Set a name for the BLE device
41+
/* Set a local name for the BLE device
4242
This name will appear in advertising packets
4343
and can be used by remote devices to identify this BLE device
4444
The name can be changed but must not exceed 20 characters in length */

libraries/CurieBle/examples/ButtonLED/ButtonLED.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ void setup() {
3737
pinMode(ledPin, OUTPUT); // use the LED on pin 13 as an output
3838
pinMode(buttonPin, INPUT); // use button pin 4 as an input
3939

40-
// set a name for the BLE peripheral. Max length is 20 characters:
41-
blePeripheral.setLocalName("Curie ButtonLed Sketch");
40+
// set the local name peripheral advertises
41+
blePeripheral.setLocalName("ButtonLED");
4242
// set the UUID for the service this peripheral advertises:
4343
blePeripheral.setAdvertisedServiceUuid(ledService.uuid());
4444

libraries/CurieBle/examples/CallbackLED/CallbackLED.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void setup() {
3232
Serial.begin(9600);
3333
pinMode(ledPin, OUTPUT); // use the LED on pin 13 as an output
3434

35-
// set a name for the local peripheral
35+
// set the local name peripheral advertises
3636
blePeripheral.setLocalName("LEDCallback");
3737
// set the UUID for the service this peripheral advertises
3838
blePeripheral.setAdvertisedServiceUuid(ledService.uuid());

0 commit comments

Comments
 (0)