For scoop

Dependents:   GonioTrainer

Fork of nRF51822 by Nordic Semiconductor

Revision:
127:bd1e1fe607e0
Parent:
103:138bdc859cc9
Child:
134:df7e7964a9c3
--- a/nRF51822n.h	Fri May 08 15:33:55 2015 +0100
+++ b/nRF51822n.h	Fri May 08 15:33:55 2015 +0100
@@ -22,6 +22,7 @@
 #include "BLEDevice.h"
 #include "nRF51Gap.h"
 #include "nRF51GattServer.h"
+#include "btle.h"
 
 class nRF51822n : public BLEDeviceInstanceBase
 {
@@ -44,6 +45,7 @@
     virtual ble_error_t init(void);
     virtual ble_error_t shutdown(void);
     virtual ble_error_t reset(void);
+    virtual ble_error_t initializeSecurity(void) {return btle_initializeSecurity();}
     virtual void        waitForEvent(void);
 };