High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
546:9fdf3d960d12
Parent:
538:fff02872b62f
--- a/common/BLEInstanceBase.h	Fri Jun 19 15:52:09 2015 +0100
+++ b/common/BLEInstanceBase.h	Fri Jun 19 15:52:09 2015 +0100
@@ -38,10 +38,8 @@
     virtual GattServer& getGattServer()             = 0;
     virtual const GattServer& getGattServer() const = 0;
     virtual GattClient& getGattClient()             = 0;
-    virtual ble_error_t initializeSecurity(bool                          enableBonding = true,
-                                           bool                          requireMITM   = true,
-                                           Gap::SecurityIOCapabilities_t iocaps        = Gap::IO_CAPS_NONE,
-                                           const Gap::Passkey_t          passkey       = NULL) = 0;
+    virtual SecurityManager& getSecurityManager()   = 0;
+    virtual const SecurityManager& getSecurityManager() const = 0;
     virtual void        waitForEvent(void)         = 0;
 };