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

◆ bt_mesh_light_xyl_srv_default_pub()

int bt_mesh_light_xyl_srv_default_pub ( struct bt_mesh_light_xyl_srv * srv,
struct bt_mesh_msg_ctx * ctx )

#include <include/bluetooth/mesh/light_xyl_srv.h>

Publish the current xyL Default parameter status.

Asynchronously publishes a xyL Default parameter status message with the configured publish parameters.

Note
This API is only used publishing unprompted status messages. Response messages for get and set messages are handled internally.
Parameters
[in]srvServer instance to publish on.
[in]ctxMessage context to send with, or NULL to send with the default publish parameters.
Return values
0Successfully sent the message.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.