Nora Vazbyte
/
mbed-os-example-ble-BatteryLevel
changed name
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 |
diff -r fc7f3b141378 -r 9a6403ea5c9b source/main.cpp --- 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);