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.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51Gap.h
- Revision:
- 137:aafab7b0a8bd
- Parent:
- 111:be2a122ed2f7
- Child:
- 138:750eca573e18
--- a/nRF51Gap.h Fri May 08 15:33:56 2015 +0100
+++ b/nRF51Gap.h Fri May 08 15:33:56 2015 +0100
@@ -26,6 +26,7 @@
#include "nrf_soc.h"
#include "ble_radio_notification.h"
+#include "btle_security.h"
/**************************************************************************/
/*!
@@ -54,6 +55,8 @@
virtual ble_error_t stopAdvertising(void);
virtual ble_error_t disconnect(DisconnectionReason_t reason);
+ virtual ble_error_t deleteAllBondedDevices(void) {return btle_deleteAllStoredDevices();}
+
virtual ble_error_t setDeviceName(const uint8_t *deviceName);
virtual ble_error_t getDeviceName(uint8_t *deviceName, unsigned *lengthP);
virtual ble_error_t setAppearance(uint16_t appearance);
