Zephyr API 3.6.99
Loading...
Searching...
No Matches
hrs.h File Reference
#include <stdint.h>
#include <zephyr/sys/slist.h>

Go to the source code of this file.

Data Structures

struct  bt_hrs_cb
 Heart rate service callback structure. More...
 

Macros

#define BT_HRS_CONTROL_POINT_RESET_ENERGY_EXPANDED_REQ   0x01
 Server shall restart the accumulation of energy expended from zero.
 

Functions

int bt_hrs_cb_register (struct bt_hrs_cb *cb)
 Heart rate service callback register.
 
int bt_hrs_cb_unregister (struct bt_hrs_cb *cb)
 Heart rate service callback unregister.
 
int bt_hrs_notify (uint16_t heartrate)
 Notify heart rate measurement.