nRF Connect SDK API 0.1.0
|
int bt_ddfs_azimuth_measurement_notify | ( | struct bt_conn * | conn, |
const struct bt_ddfs_azimuth_measurement * | measurement | ||
) |
#include <include/bluetooth/services/ddfs.h>
Function for sending Azimuth Measurement value.
The application calls this function after having performed an Azimuth Measurement. If notification has been enabled, the measurement data is encoded and sent to the client.
[in] | conn | Pointer to connection object, or NULL if sent to all connected peers. |
[in] | measurement | Pointer to new azimuth measurement. |
0 | If the operation was successful. Otherwise, a negative error code is returned. |