![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| void ble_hrs_on_db_disc_evt | ( | struct ble_hrs_client * | hrs_client, |
| const struct ble_db_discovery_evt * | evt ) |
#include <ble_hrs_client.h>
Handle events from the Database Discovery module.
Call this function when you get a callback event from the Database Discovery module. This function handles an event from the Database Discovery module and determines whether it relates to the discovery of Heart Rate Service at the peer. If it does, the function calls the application's event handler to indicate that the Heart Rate Service was discovered at the peer. The function also populates the event with service-related information before providing it to the application.
| [in,out] | hrs_client | Heart Rate Client structure instance for associating the link. |
| [in] | evt | Event received from the Database Discovery module. |