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

◆ bt_mesh_prop_srv_pub_list()

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.

Parameters
[in]srvServer that owns the property.
[in]ctxMessage context to publish with, or NULL to publish on the configured publish parameters.
Return values
0Successfully publish a Generic Level Status message.
-EMSGSIZEThe given property size is not supported.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.