nRF Connect SDK API 0.1.0
|
int bt_mesh_dtt_srv_pub | ( | struct bt_mesh_dtt_srv * | srv, |
struct bt_mesh_msg_ctx * | ctx | ||
) |
#include <include/bluetooth/mesh/gen_dtt_srv.h>
Publish the current transition time.
[in] | srv | Server instance to publish with. |
[in] | ctx | Message context to publish with, or NULL to publish with the configured parameters. |
0 | Successfully published the current transition time. |
-EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
-EAGAIN | The device has not been provisioned. |