Skip to content

Commit 44cd7e5

Browse files
committed
Update note on local name
1 parent b272315 commit 44cd7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/CurieBle/examples/BatteryMonitor/BatteryMonitor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void setup() {
4141
/* 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
44-
The name can be changed but must not exceed 20 characters in length */
44+
The name can be changed but maybe be truncated based on space left in advertisement packet */
4545
blePeripheral.setLocalName("BatteryMonitorSketch");
4646
blePeripheral.setAdvertisedServiceUuid(batteryService.uuid()); // add the service UUID
4747
blePeripheral.addAttribute(batteryService); // Add the BLE Battery service

0 commit comments

Comments
 (0)