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() {
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 */
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ());
You can’t perform that action at this time.
0 commit comments