![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mesh_dtt_get | ( | struct bt_mesh_dtt_cli * | cli, |
| struct bt_mesh_msg_ctx * | ctx, | ||
| int32_t * | rsp_transition_time ) |
#include <include/bluetooth/mesh/gen_dtt_cli.h>
Get the Default Transition Time of the server.
This call is blocking if the rsp_transition_time buffer is non-NULL. Otherwise, this function will return, and the response will be passed to the bt_mesh_dtt_cli::status_handler callback.
| [in] | cli | Client making the request. |
| [in] | ctx | Message context to use for sending, or NULL to publish with the configured parameters. |
| [out] | rsp_transition_time | Pointer to a response buffer, or NULL to keep from blocking. The response denotes the configured transition time in milliseconds. Can be SYS_FOREVER_MS if the current state is unknown or too large to represent. |
| 0 | Successfully retrieved the status of the bound srv. |
| -EALREADY | A blocking operation is already in progress in this model. |
| -EAGAIN | The device has not been provisioned. |
| -ETIMEDOUT | The request timed out without a response. |