Previous version which works for my stm32f401 Nucleo board

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
110:1232b39de5cc
Parent:
105:332f93cd06b7
Child:
120:554a95afbd16
--- a/BlueNRGDevice.h	Mon Sep 07 10:35:29 2015 +0000
+++ b/BlueNRGDevice.h	Wed Sep 09 10:35:54 2015 +0000
@@ -61,11 +61,19 @@
     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 +90,11 @@
     DigitalOut  nCS_;
     DigitalOut  rst_;
     InterruptIn irq_;
+    
+    //FIXME: TBI (by now just placeholders to let build
+    /*** betzw: placeholders ***/
+    GattClient *gattClient;
+    SecurityManager *sm;
 };
 
 #endif