Shuta Nakamae / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 15:55:36 2015 +0100
Parent:
352:bae965fb00f1
Child:
354:ed9e316324cd
Commit message:
Synchronized with git rev 35e13e54
Author: Rohit Grover
add implementation for BLEInstanceBase::getGattServer() const

Changed in this revision

nRF51822n.h Show annotated file Show diff for this revision Revisions of this file
--- a/nRF51822n.h	Fri Jun 19 15:55:36 2015 +0100
+++ b/nRF51822n.h	Fri Jun 19 15:55:36 2015 +0100
@@ -43,6 +43,9 @@
     virtual GattServer &getGattServer() {
         return nRF51GattServer::getInstance();
     };
+    virtual const GattServer &getGattServer() const {
+        return nRF51GattServer::getInstance();
+    };
     virtual GattClient &getGattClient() {
         return nRF51GattClient::getInstance();
     }