nRF Connect SDK API 2.8.99
|
int bt_mesh_scene_srv_pub | ( | struct bt_mesh_scene_srv * | srv, |
struct bt_mesh_msg_ctx * | ctx ) |
#include <include/bluetooth/mesh/scene_srv.h>
Publish the current Scene status.
[in] | srv | Scene Server model. |
[in] | ctx | Message context, or NULL to publish with the configured parameters. |
-EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
-EAGAIN | The device has not been provisioned. |