fdsf
Fork of nRF51822 by
Diff: source/nRF5xn.h
- Revision:
- 591:266079a50c20
- Parent:
- 590:3bdd5346ded1
- Child:
- 592:f9574772b816
diff -r 3bdd5346ded1 -r 266079a50c20 source/nRF5xn.h --- a/source/nRF5xn.h Mon Jan 11 10:19:31 2016 +0000 +++ b/source/nRF5xn.h Mon Jan 11 10:19:32 2016 +0000 @@ -77,7 +77,7 @@ * * @return A reference to GattClient. */ - virtual nRF5xGattClient &getGattClient() { + virtual GattClient &getGattClient() { if (gattClientInstance == NULL) { gattClientInstance = new nRF5xGattClient(); } @@ -91,7 +91,7 @@ * * @return A reference to GattServer. */ - virtual nRF5xSecurityManager &getSecurityManager() { + virtual SecurityManager &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 nRF5xGap &getGap() const { + virtual const Gap &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 nRF5xGattServer &getGattServer() const { + virtual const GattServer &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 nRF5xSecurityManager &getSecurityManager() const { + virtual const SecurityManager &getSecurityManager() const { if (securityManagerInstance == NULL) { securityManagerInstance = new nRF5xSecurityManager(); }