Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

Revision:
998:18188b7e2aec
Parent:
997:2f4b7424b7ad
Child:
1003:4e74b08398f5
diff -r 2f4b7424b7ad -r 18188b7e2aec ble/services/iBeacon.h
--- a/ble/services/iBeacon.h	Wed Dec 02 10:29:45 2015 +0000
+++ b/ble/services/iBeacon.h	Wed Dec 02 10:29:45 2015 +0000
@@ -21,7 +21,7 @@
 
 /**
 * @class iBeacon
-* @brief iBeacon Service. This sets up a device to broadcast advertising packets to mimic an iBeacon.
+* @brief iBeacon Service. This sets up a device to broadcast advertising packets to mimic an iBeacon<br>
 */
 class iBeacon
 {
@@ -56,12 +56,12 @@
             uint16_t        compID = 0x004C) :
         ble(_ble), data(uuid, majNum, minNum, txP, compID)
     {
-        // Generate the 0x020106 part of the iBeacon Prefix.
+        // Generate the 0x020106 part of the iBeacon Prefix
         ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE );
-        // Generate the 0x1AFF part of the iBeacon Prefix.
+        // Generate the 0x1AFF part of the iBeacon Prefix
         ble.accumulateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, data.raw, sizeof(data.raw));
 
-        // Set advertising type.
+        // Set advertising type
         ble.setAdvertisingType(GapAdvertisingParams::ADV_NON_CONNECTABLE_UNDIRECTED);
     }