High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
661:f1c5136ca57c
Parent:
659:5fc41956cbd0
Child:
667:875aecb84719
--- a/public/BLEDevice.h	Fri Jun 19 15:53:00 2015 +0100
+++ b/public/BLEDevice.h	Fri Jun 19 15:53:00 2015 +0100
@@ -1027,13 +1027,13 @@
 inline ble_error_t
 BLEDevice::setTxPower(int8_t txPower)
 {
-    return transport->setTxPower(txPower);
+    return transport->getGap().setTxPower(txPower);
 }
 
 inline void
 BLEDevice::getPermittedTxPowerValues(const int8_t **valueArrayPP, size_t *countP)
 {
-    transport->getPermittedTxPowerValues(valueArrayPP, countP);
+    transport->getGap().getPermittedTxPowerValues(valueArrayPP, countP);
 }
 
 inline ble_error_t