![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
1
Fork of nRF51822 by
Diff: nRF51822n.h
- Revision:
- 344:2a44e5fd26bc
- Parent:
- 342:dec88052ffee
- Child:
- 345:dfde56236c36
--- a/nRF51822n.h Fri Jun 19 15:55:34 2015 +0100 +++ b/nRF51822n.h Fri Jun 19 15:55:34 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 init(void); virtual ble_error_t shutdown(void);