Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: public/BLEDevice.h
- Revision:
- 661:f1c5136ca57c
- Parent:
- 659:5fc41956cbd0
- Child:
- 667:875aecb84719
diff -r 9d73254fd76b -r f1c5136ca57c public/BLEDevice.h --- 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