nRF Connect SDK API 2.8.99
|
int bt_mesh_prop_srv_pub_list | ( | struct bt_mesh_prop_srv * | srv, |
struct bt_mesh_msg_ctx * | ctx ) |
#include <include/bluetooth/mesh/gen_prop_srv.h>
Publish a list of all properties on the server.
[in] | srv | Server that owns the property. |
[in] | ctx | Message context to publish with, or NULL to publish on the configured publish parameters. |
0 | Successfully publish a Generic Level Status message. |
-EMSGSIZE | The given property size is not supported. |
-EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
-EAGAIN | The device has not been provisioned. |