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:
- 328:f3aa0fddaa79
- Parent:
- 151:e093294d98fb
- Child:
- 340:775dab2ff027
--- a/nRF51822n.h Fri Jun 19 15:55:32 2015 +0100
+++ b/nRF51822n.h Fri Jun 19 15:55:32 2015 +0100
@@ -22,6 +22,7 @@
#include "BLEDevice.h"
#include "nRF51Gap.h"
#include "nRF51GattServer.h"
+#include "nRF51GattClient.h"
#include "btle.h"
#include "btle_security.h"
@@ -39,6 +40,9 @@
virtual GattServer &getGattServer() {
return nRF51GattServer::getInstance();
};
+ virtual GattClient &getGattClient() {
+ return nRF51GattClient::getInstance();
+ }
virtual ble_error_t setTxPower(int8_t txPower);
virtual void getPermittedTxPowerValues(const int8_t **valueArrayPP, size_t *countP);