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: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Diff: nRF51822n.h
- Revision:
- 346:14b090482fd2
- Parent:
- 345:dfde56236c36
- Child:
- 350:09912ea7cedd
--- a/nRF51822n.h Fri Jun 19 15:55:35 2015 +0100
+++ b/nRF51822n.h Fri Jun 19 15:55:35 2015 +0100
@@ -19,14 +19,14 @@
#include "mbed.h"
#include "blecommon.h"
-#include "BLEDevice.h"
+#include "BLE.h"
#include "nRF51Gap.h"
#include "nRF51GattServer.h"
#include "nRF51GattClient.h"
#include "btle.h"
#include "btle_security.h"
-class nRF51822n : public BLEDeviceInstanceBase
+class nRF51822n : public BLEInstanceBase
{
public:
nRF51822n(void);
@@ -44,9 +44,6 @@
return nRF51GattClient::getInstance();
}
- virtual ble_error_t setTxPower(int8_t txPower);
- virtual void getPermittedTxPowerValues(const int8_t **valueArrayPP, size_t *countP);
-
virtual ble_error_t init(void);
virtual ble_error_t shutdown(void);
virtual ble_error_t reset(void);

