add "LE Device Address" 0x1B to advertising data types

Fork of BLE_API by Bluetooth Low Energy

Revision:
722:eab9499e4250
Parent:
712:b04b5db36865
Child:
727:1a1f5c5aedfe
--- a/ble/services/BatteryService.h	Thu Jul 02 09:06:12 2015 +0100
+++ b/ble/services/BatteryService.h	Thu Jul 02 09:06:12 2015 +0100
@@ -53,7 +53,7 @@
      */
     void updateBatteryLevel(uint8_t newLevel) {
         batteryLevel = newLevel;
-        ble.updateCharacteristicValue(batteryLevelCharacteristic.getValueAttribute().getHandle(), &batteryLevel, 1);
+        ble.gattServer().write(batteryLevelCharacteristic.getValueHandle(), &batteryLevel, 1);
     }
 
 protected: