nRF Connect SDK API 0.1.0
|
int bt_nsms_set_status | ( | const struct bt_nsms * | nsms_obj, |
const char * | status | ||
) |
#include <include/bluetooth/services/nsms.h>
Set status.
This function sets status message and send notification to a connected peer, or all connected peers.
[in] | nsms_obj | Pointer to Nordic Status Message instance. |
[in] | status | Pointer to a status string. |
0 | If the data is sent. Otherwise, a negative value is returned. |