Heart rate samples logged as protobuf measurements.
More...
Heart rate samples logged as protobuf measurements.
◆ protobuf_log_hr_add_sample()
Log a heart rate sample.
- Parameters
-
| ref | Session created with protobuf_log_hr_create(). |
| sample_utc | Sample UTC time. |
| bpm | Heart rate in beats per minute. |
| quality | Signal quality. |
- Returns
- true on success.
◆ protobuf_log_hr_create()
Create a measurement session of BPM and heart rate quality.
- Parameters
-
| transport | Transport, or NULL to log to data logging. |
- Returns
- Session, or NULL on error.