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.
Fork of BLE_API by
Diff: services/URIBeacon2Service.h
- Revision:
- 191:6710298104b0
- Parent:
- 190:ad1ed2b5ea52
- Child:
- 192:3fd3dcf49005
diff -r ad1ed2b5ea52 -r 6710298104b0 services/URIBeacon2Service.h --- a/services/URIBeacon2Service.h Fri Nov 28 14:11:24 2014 +0000 +++ b/services/URIBeacon2Service.h Fri Nov 28 14:11:24 2014 +0000 @@ -109,7 +109,7 @@ /** * Set the effective power mode from one of the values in the powerLevels tables. */ - void setPowerMode(TXPowerModes_t mode) { + void useTxPowerMode(TXPowerModes_t mode) { effectivePower = powerLevels[mode]; configure(); }