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: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 220:e75e8ba1ff80
- Parent:
- 219:5603d539120c
- Child:
- 221:f813cddc145b
--- a/services/URIBeaconConfigService.h Mon Dec 01 14:31:19 2014 +0000
+++ b/services/URIBeaconConfigService.h Mon Dec 01 14:31:19 2014 +0000
@@ -338,6 +338,8 @@
updateURIDataCharacteristic();
updateFlagsCharacteristic();
updateBeaconPeriodCharacteristic();
+ updateTxPowerLevelsCharacteristic();
+ updateTxPowerModeCharacteristic();
}
void updateLockedStateCharacteristic(void) {
@@ -357,7 +359,7 @@
}
void updateTxPowerModeCharacteristic(void) {
-
+ ble.updateCharacteristicValue(txPowerModeChar.getValueAttribute().getHandle(), reinterpret_cast<uint8_t *>(&txPowerMode), sizeof(uint8_t));
}
void updateTxPowerLevelsCharacteristic(void) {
