jgh

Dependents:   Migration

Fork of BLE_API by Bluetooth Low Energy

Revision:
1028:9dc2ab644517
Parent:
1019:575852ad31a2
Child:
1029:a5d0fec3b17c
diff -r 49ec5900eab7 -r 9dc2ab644517 ble/services/iBeacon.h
--- a/ble/services/iBeacon.h	Thu Dec 10 09:15:03 2015 +0000
+++ b/ble/services/iBeacon.h	Thu Dec 10 09:15:03 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);
     }