nRF Connect SDK API 0.1.0
|
API for the Generic Default Transition Time (DTT) Server model. More...
Data Structures | |
struct | bt_mesh_dtt_srv |
Macros | |
#define | BT_MESH_DTT_SRV_INIT(_update) |
Initialization parameters for Generic Default Transition Time Server. | |
#define | BT_MESH_MODEL_DTT_SRV(_srv) |
Generic Default Transition Time Server model composition data entry. | |
Functions | |
void | bt_mesh_dtt_srv_set (struct bt_mesh_dtt_srv *srv, uint32_t transition_time) |
Set the Default Transition Time of the DTT server. | |
int | bt_mesh_dtt_srv_pub (struct bt_mesh_dtt_srv *srv, struct bt_mesh_msg_ctx *ctx) |
Publish the current transition time. | |
struct bt_mesh_dtt_srv * | bt_mesh_dtt_srv_get (const struct bt_mesh_elem *elem) |
Find the Generic DTT server over multiple elements. | |
static bool | bt_mesh_dtt_srv_transition_get (const struct bt_mesh_model *model, struct bt_mesh_model_transition *transition) |
Get the default transition parameters for the given model. | |
API for the Generic Default Transition Time (DTT) Server model.
model