![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_hrs_rr_interval_add | ( | struct ble_hrs * | hrs, |
| uint16_t | rr_interval ) |
#include <ble_hrs.h>
Function for adding a RR Interval measurement to the RR Interval buffer.
All buffered RR Interval measurements will be included in the next heart rate measurement message, up to the maximum number of measurements that will fit into the message. If the buffer is full, the oldest measurement in the buffer will be deleted.
| hrs | Heart rate service. |
| rr_interval | New RR interval measurement. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If hrs is NULL. |