Skip to content

Commit d1e011a

Browse files
lazdh2zero
authored andcommitted
Remove unnecsesary setManufacturerId call, clarify comment
1 parent 58ce746 commit d1e011a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/NimBLE_iBeacon/NimBLE_iBeacon.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ void setup() {
2222

2323
// Create beacon object
2424
NimBLEBeacon beacon;
25-
beacon.setManufacturerId(0x4C00); // fake Apple 0x004C LSB (ENDIAN_CHANGE_U16!)
2625
beacon.setMajor(1);
2726
beacon.setMinor(1);
28-
beacon.setSignalPower(0xC5); // Not required
27+
beacon.setSignalPower(0xC5); // Optional
2928
beacon.setProximityUUID(BLEUUID(iBeaconUUID)); // Unlike Bluedroid, you do not need to reverse endianness here
3029

3130
// Extract beacon data

0 commit comments

Comments
 (0)