![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mesh_light_temp_srv_pub | ( | struct bt_mesh_light_temp_srv * | srv, |
| struct bt_mesh_msg_ctx * | ctx, | ||
| const struct bt_mesh_light_temp_status * | status ) |
#include <include/bluetooth/mesh/light_temp_srv.h>
Publish the current CTL Temperature status.
Asynchronously publishes a CTL Temperature status message with the configured publish parameters.
| [in] | srv | Server instance to publish on. |
| [in] | ctx | Message context to send with, or NULL to send with the default publish parameters. |
| [in] | status | Current status. |
| 0 | Successfully sent the message. |
| -EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
| -EAGAIN | The device has not been provisioned. |