nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
gen_dtt_srv.h File Reference
#include <zephyr/bluetooth/mesh.h>
#include <bluetooth/mesh/model_types.h>
#include <bluetooth/mesh/gen_dtt.h>

Go to the source code of this file.

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_srvbt_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.