![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mesh_time_srv_time_status_send | ( | struct bt_mesh_time_srv * | srv, |
| struct bt_mesh_msg_ctx * | ctx ) |
#include <include/bluetooth/mesh/time_srv.h>
Publish an unsolicited Time Status message.
| [in] | srv | Time Server instance. |
| [in] | ctx | Message context, or NULL to publish with the configured parameters. |
| -EOPNOTSUPP | The server Time Role state does not support sending of unsolicited Time Status messages. |
| -EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
| -EAGAIN | The device has not been provisioned. |