I don't know why this is happening.

Fork of BLE_API by Bluetooth Low Energy

Revision:
279:00649389c020
Parent:
278:8a935a2d4a16
Child:
280:68c8a5e55c96
--- a/services/URIBeaconConfigService.h	Fri Feb 13 13:00:40 2015 +0000
+++ b/services/URIBeaconConfigService.h	Fri Feb 13 13:00:40 2015 +0000
@@ -145,7 +145,7 @@
 
         GattService configService(UUID_URI_BEACON_SERVICE, charTable, sizeof(charTable) / sizeof(GattCharacteristic *));
 
-	ble.addService(configService);
+        ble.addService(configService);
         ble.onDataWritten(this, &URIBeaconConfigService::onDataWrittenCallback);
 
         initSucceeded = true;
@@ -217,12 +217,12 @@
     void updateCharacteristicValues(void) {
         ble.updateCharacteristicValue(lockedStateChar.getValueHandle(), &lockedState, 1);
         ble.updateCharacteristicValue(uriDataChar.getValueHandle(), params.uriData, params.uriDataLength);
-	ble.updateCharacteristicValue(flagsChar.getValueHandle(), &params.flags, 1);
+        ble.updateCharacteristicValue(flagsChar.getValueHandle(), &params.flags, 1);
         ble.updateCharacteristicValue(beaconPeriodChar.getValueHandle(),
-				      reinterpret_cast<uint8_t *>(&params.beaconPeriod), sizeof(uint16_t));
+                                      reinterpret_cast<uint8_t *>(&params.beaconPeriod), sizeof(uint16_t));
         ble.updateCharacteristicValue(txPowerModeChar.getValueHandle(), &params.txPowerMode, 1);
         ble.updateCharacteristicValue(advPowerLevelsChar.getValueHandle(),
-				      reinterpret_cast<uint8_t *>(params.advPowerLevels), sizeof(PowerLevels_t));
+                                      reinterpret_cast<uint8_t *>(params.advPowerLevels), sizeof(PowerLevels_t));
     }
 
   private: