nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ bt_mesh_dtt_srv_pub()

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.

Parameters
[in]srvServer instance to publish with.
[in]ctxMessage context to publish with, or NULL to publish with the configured parameters.
Return values
0Successfully published the current transition time.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.