Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: nRF51822n.h
- 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);
};