Dependents:   BLE_MIDI

Fork of nRF51822 by Nordic Semiconductor

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);