HW layer for the Nucleo board, it only work with old BLE_API

Dependents:   Hello_BLE F446RE-BLE

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
103:12684d94c3a6
Parent:
102:a6f233cb1fed
Child:
105:332f93cd06b7
Child:
119:19128d9d254f
--- a/BlueNRGDevice.h	Mon Jul 27 11:16:16 2015 +0200
+++ b/BlueNRGDevice.h	Mon Jul 27 11:39:32 2015 +0200
@@ -61,11 +61,20 @@
     virtual const Gap&  getGap() const;
     virtual GattServer& getGattServer();
     virtual const GattServer& getGattServer() const;
-    virtual GattClient& getGattClient();
-    virtual SecurityManager& getSecurityManager();
-    virtual const SecurityManager& getSecurityManager() const;
     virtual void        waitForEvent(void);
     
+    virtual GattClient& getGattClient() {
+        return *gattClient;
+    }
+
+    virtual SecurityManager& getSecurityManager() {
+        return *sm;
+    }
+
+    virtual const SecurityManager& getSecurityManager() const {
+        return *sm;
+    }
+
     ble_error_t reset(void);
     bool getIsInitialized(void);
 
@@ -82,6 +91,11 @@
     DigitalOut  nCS_;
     DigitalOut  rst_;
     InterruptIn irq_;
+
+    //FIXME: TBI (by now just placeholders to let build
+    /*** betzw: placeholders ***/
+    GattClient *gattClient;
+    SecurityManager *sm;
 };
 
 #endif