File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
libraries/CurieBle/examples Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void setup() {
38
38
Serial.begin (9600 ); // initialize serial communication
39
39
pinMode (13 , OUTPUT); // initialize the LED on pin 13 to indicate when a central is connected
40
40
41
- /* Set a name for the BLE device
41
+ /* Set a local name for the BLE device
42
42
This name will appear in advertising packets
43
43
and can be used by remote devices to identify this BLE device
44
44
The name can be changed but must not exceed 20 characters in length */
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ void setup() {
37
37
pinMode (ledPin, OUTPUT); // use the LED on pin 13 as an output
38
38
pinMode (buttonPin, INPUT); // use button pin 4 as an input
39
39
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 " );
42
42
// set the UUID for the service this peripheral advertises:
43
43
blePeripheral.setAdvertisedServiceUuid (ledService.uuid ());
44
44
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ void setup() {
32
32
Serial.begin (9600 );
33
33
pinMode (ledPin, OUTPUT); // use the LED on pin 13 as an output
34
34
35
- // set a name for the local peripheral
35
+ // set the local name peripheral advertises
36
36
blePeripheral.setLocalName (" LEDCallback" );
37
37
// set the UUID for the service this peripheral advertises
38
38
blePeripheral.setAdvertisedServiceUuid (ledService.uuid ());
You can’t perform that action at this time.
0 commit comments