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

Fork of BLE_API by Bluetooth Low Energy

Revision:
863:4f8e12333453
Parent:
861:2afa79e3ed0a
Child:
890:f3144091ae19
--- a/ble/services/LinkLossService.h	Mon Nov 02 09:09:07 2015 +0000
+++ b/ble/services/LinkLossService.h	Mon Nov 02 09:09:07 2015 +0000
@@ -52,11 +52,11 @@
         GattCharacteristic *charTable[] = {&alertLevelChar};
         GattService         linkLossService(GattService::UUID_LINK_LOSS_SERVICE, charTable, sizeof(charTable) / sizeof(GattCharacteristic *));
 
-        ble.addService(linkLossService);
+        ble.gattServer().addService(linkLossService);
         serviceAdded = true;
 
-        ble.onDisconnection(this, &LinkLossService::onDisconnectionFilter);
-        ble.onDataWritten(this, &LinkLossService::onDataWritten);
+        ble.gap().onDisconnection(this, &LinkLossService::onDisconnectionFilter);
+        ble.gattServer().onDataWritten(this, &LinkLossService::onDataWritten);
     }
 
     /**