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
Revision 153:424ca18dd5f0, committed 2014-11-28
- Comitter:
- rgrover1
- Date:
- Fri Nov 28 14:11:20 2014 +0000
- Parent:
- 152:fc0bb2ba916b
- Child:
- 154:ab86251a3ffb
- Commit message:
- Synchronized with git rev 84c99e72
Author: Rohit Grover
remove un-necessary comment block.
Changed in this revision
| services/URIBeacon2Service.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/URIBeacon2Service.h Fri Nov 28 14:11:20 2014 +0000
+++ b/services/URIBeacon2Service.h Fri Nov 28 14:11:20 2014 +0000
@@ -130,25 +130,6 @@
return encodedBytes;
}
- // URIBeacon2Service(BLEDevice &_ble, uint8_t level = 100) :
- // ble(_ble),
- // batteryLevel(level),
- // batteryLevelCharacteristic(GattCharacteristic::UUID_BATTERY_LEVEL_CHAR, &batteryLevel, sizeof(batteryLevel), sizeof(batteryLevel),
- // GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY) {
-
- // static bool serviceAdded = false; /* We should only ever need to add the heart rate service once. */
- // if (serviceAdded) {
- // return;
- // }
-
- // GattCharacteristic *charTable[] = {&batteryLevelCharacteristic};
- // GattService batteryService(GattService::UUID_BATTERY_SERVICE, charTable, sizeof(charTable) / sizeof(GattCharacteristic *));
-
- // ble.addService(batteryService);
- // serviceAdded = true;
- // }
- //
-
private:
static const size_t MAX_SIZEOF_PAYLOAD = 32; /* TODO */
