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

◆ BT_MESH_MODEL_DM_SRV_INIT

#define BT_MESH_MODEL_DM_SRV_INIT ( _mem,
_cnt )

#include <include/bluetooth/mesh/vnd/dm_srv.h>

Value:
{ \
.results.res = _mem, \
.results.entry_cnt = _cnt, \
.cfg.ttl = CONFIG_BT_MESH_DEFAULT_TTL, \
.cfg.timeout = CONFIG_BT_MESH_DM_SRV_DEFAULT_TIMEOUT, \
.cfg.delay = CONFIG_BT_MESH_DM_SRV_REFLECTOR_DELAY, \
.results.last_entry_idx = 0, \
.results.available_entries = 0, \
}

Initialization parameters for a Distance Measurement Server model instance.

Parameters
[in]_memPointer to a bt_mesh_dm_res_entry memory object.
[in]_cntArray size of bt_mesh_dm_res_entry memory object.