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 mbed-os-example-ble-BatteryLevel by
Revision 76:9a6403ea5c9b, committed 2018-10-28
- Comitter:
- vazbyte
- Date:
- Sun Oct 28 12:06:45 2018 +0000
- Parent:
- 75:fc7f3b141378
- Commit message:
- n
Changed in this revision
source/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/main.cpp Wed Oct 24 13:40:20 2018 +0000 +++ b/source/main.cpp Sun Oct 28 12:06:45 2018 +0000 @@ -99,7 +99,7 @@ ble.gap().onDisconnection(disconnectionCallback); /* Setup primary service */ - hrService = new HeartRateService(ble, hrmCounter); + hrService = new HeartRateService(ble, hrmCounter, HeartRateService::LOCATION_FINGER); /* Setup advertising */ ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE);