BLE HearRate example
This example is a fork of the following mbed-os example:
https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-ble-HeartRate/
Please read the documentation in this page.
Diff: source/main.cpp
- Revision:
- 26:d7dd71a8aea1
- Parent:
- 10:ac3615194d04
--- a/source/main.cpp Tue May 09 14:45:47 2017 +0100 +++ b/source/main.cpp Wed May 10 10:17:02 2017 +0100 @@ -28,9 +28,7 @@ static uint8_t hrmCounter = 100; // init HRM to 100bps static HeartRateService *hrServicePtr; -static EventQueue eventQueue( - /* event count */ 16 * /* event size */ 32 -); +static EventQueue eventQueue(/* event count */ 16 * EVENTS_EVENT_SIZE); void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params) {