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

◆ bt_mesh_dtt_set_unack()

int bt_mesh_dtt_set_unack ( struct bt_mesh_dtt_cli * cli,
struct bt_mesh_msg_ctx * ctx,
uint32_t transition_time )

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

Set the Default Transition Time of the server without requesting a response.

Parameters
[in]cliClient model to send on.
[in]ctxMessage context to use for sending, or NULL to publish with the configured parameters.
[in]transition_timeTransition time to set (in milliseconds). Must be less than BT_MESH_MODEL_TRANSITION_TIME_MAX_MS.
Return values
0Successfully sent the message.
-EINVALThe given transition time is invalid.
-EADDRNOTAVAILA message context was not provided and publishing is not configured.
-EAGAINThe device has not been provisioned.