No changes
Fork of nRF51822 by
Diff: source/nRF5xn.h
- Revision:
- 590:3bdd5346ded1
- Parent:
- 588:65d256258533
- Child:
- 591:266079a50c20
--- a/source/nRF5xn.h Mon Jan 11 10:19:30 2016 +0000 +++ b/source/nRF5xn.h Mon Jan 11 10:19:31 2016 +0000 @@ -77,7 +77,7 @@ * * @return A reference to GattClient. */ - virtual GattClient &getGattClient() { + virtual nRF5xGattClient &getGattClient() { if (gattClientInstance == NULL) { gattClientInstance = new nRF5xGattClient(); } @@ -91,7 +91,7 @@ * * @return A reference to GattServer. */ - virtual SecurityManager &getSecurityManager() { + virtual nRF5xSecurityManager &getSecurityManager() { if (securityManagerInstance == NULL) { securityManagerInstance = new nRF5xSecurityManager(); } @@ -112,7 +112,7 @@ * @note The accessor is able to modify the object's state because the * internal pointer has been declared mutable. */ - virtual const Gap &getGap() const { + virtual const nRF5xGap &getGap() const { return gapInstance; }; @@ -126,7 +126,7 @@ * @note The accessor is able to modify the object's state because the * internal pointer has been declared mutable. */ - virtual const GattServer &getGattServer() const { + virtual const nRF5xGattServer &getGattServer() const { if (gattServerInstance == NULL) { gattServerInstance = new nRF5xGattServer(); } @@ -143,7 +143,7 @@ * @note The accessor is able to modify the object's state because the * internal pointer has been declared mutable. */ - virtual const SecurityManager &getSecurityManager() const { + virtual const nRF5xSecurityManager &getSecurityManager() const { if (securityManagerInstance == NULL) { securityManagerInstance = new nRF5xSecurityManager(); }