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

◆ bt_mesh_dtt_srv_get()

struct bt_mesh_dtt_srv * bt_mesh_dtt_srv_get ( const struct bt_mesh_elem *  elem)

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

Find the Generic DTT server over multiple elements.

If the DTT Server is not present on the given element of the model, then the try to find the DTT Server model instance that is present on the element with the largest address that is smaller than the address of the given element.

Parameters
[in]elemElement to start search of the DTT server in.
Returns
A pointer to the DTT server instance, or NULL if no instance is found.