We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ce746 commit d1e011aCopy full SHA for d1e011a
examples/NimBLE_iBeacon/NimBLE_iBeacon.ino
@@ -22,10 +22,9 @@ void setup() {
22
23
// Create beacon object
24
NimBLEBeacon beacon;
25
- beacon.setManufacturerId(0x4C00); // fake Apple 0x004C LSB (ENDIAN_CHANGE_U16!)
26
beacon.setMajor(1);
27
beacon.setMinor(1);
28
- beacon.setSignalPower(0xC5); // Not required
+ beacon.setSignalPower(0xC5); // Optional
29
beacon.setProximityUUID(BLEUUID(iBeaconUUID)); // Unlike Bluedroid, you do not need to reverse endianness here
30
31
// Extract beacon data
0 commit comments