I don't know why this is happening.

Fork of BLE_API by Bluetooth Low Energy

Revision:
283:bef53917ea82
Parent:
282:2c490f373b9b
Child:
284:82fefb5be8ed
--- a/services/URIBeaconConfigService.h	Fri Feb 13 13:00:41 2015 +0000
+++ b/services/URIBeaconConfigService.h	Fri Feb 13 13:00:41 2015 +0000
@@ -56,7 +56,7 @@
     typedef int8_t PowerLevels_t[NUM_POWER_MODES];
 
     static const int URI_DATA_MAX = 18;
-    typedef uint8_t UriData_t[URI_DATA_MAX];
+    typedef uint8_t  UriData_t[URI_DATA_MAX];
 
     struct Params_t {
         Lock_t              lock;
@@ -87,12 +87,12 @@
      *                 transmitted. A value of zero disables UriBeacon
      *                 transmissions.
      */
-    URIBeaconConfigService(BLEDevice      &bleIn,
-                           Params_t       &paramsIn,
-                           bool           resetToDefaultsFlag,
-                           UriData_t      &defaultUriDataIn,
-                           int            defaultUriDataLengthIn,
-                           PowerLevels_t  &defaultAdvPowerLevelsIn) :
+    URIBeaconConfigService(BLEDevice     &bleIn,
+                           Params_t      &paramsIn,
+                           bool          resetToDefaultsFlag,
+                           UriData_t     &defaultUriDataIn,
+                           int           defaultUriDataLengthIn,
+                           PowerLevels_t &defaultAdvPowerLevelsIn) :
         ble(bleIn),
         params(paramsIn),
         defaultUriDataLength(defaultUriDataLengthIn),
@@ -255,27 +255,26 @@
         }
     }
 
-    BLEDevice          &ble;
-    Params_t           &params;
+    BLEDevice     &ble;
+    Params_t      &params;
     // Default value that is restored on reset
-    uint16_t            defaultUriDataLength;
-    UriData_t           &defaultUriData;
+    uint16_t      defaultUriDataLength;
+    UriData_t     &defaultUriData;
     // Default value that is restored on reset
-    PowerLevels_t       &defaultAdvPowerLevels;
-    uint8_t             lockedState;
-    bool                initSucceeded;
-    uint8_t             resetFlag;
+    PowerLevels_t &defaultAdvPowerLevels;
+    uint8_t       lockedState;
+    bool          initSucceeded;
+    uint8_t       resetFlag;
 
-
-    ReadOnlyGattCharacteristic<uint8_t> lockedStateChar;
-    WriteOnlyGattCharacteristic<Lock_t> lockChar;
-    GattCharacteristic uriDataChar;
-    WriteOnlyGattCharacteristic<Lock_t> unlockChar;
-    ReadWriteGattCharacteristic<uint8_t>  flagsChar;
+    ReadOnlyGattCharacteristic<uint8_t>        lockedStateChar;
+    WriteOnlyGattCharacteristic<Lock_t>        lockChar;
+    GattCharacteristic                         uriDataChar;
+    WriteOnlyGattCharacteristic<Lock_t>        unlockChar;
+    ReadWriteGattCharacteristic<uint8_t>       flagsChar;
     ReadWriteGattCharacteristic<PowerLevels_t> advPowerLevelsChar;
-    ReadWriteGattCharacteristic<uint8_t> txPowerModeChar;
-    ReadWriteGattCharacteristic<uint16_t> beaconPeriodChar;
-    WriteOnlyGattCharacteristic<uint8_t> resetChar;
+    ReadWriteGattCharacteristic<uint8_t>       txPowerModeChar;
+    ReadWriteGattCharacteristic<uint16_t>      beaconPeriodChar;
+    WriteOnlyGattCharacteristic<uint8_t>       resetChar;
 };
 
 #endif  // SERVICES_URIBEACONCONFIGSERVICE_H_
\ No newline at end of file