nRF Connect SDK API
3.4.99
Loading...
Searching...
No Matches
◆
BT_MESH_TIME_SRV_INIT
#define BT_MESH_TIME_SRV_INIT
(
_time_update_cb
)
#include <
time_srv.h
>
Value:
{ \
.time_update_cb = _time_update_cb, \
.pub = { .update = _bt_mesh_time_srv_update_handler, \
.msg = NET_BUF_SIMPLE(BT_MESH_MODEL_BUF_LEN( \
BT_MESH_TIME_OP_TIME_SET, \
BT_MESH_TIME_MSG_LEN_TIME_SET)) }, \
}
Initialization parameters for a
Time Server model
instance.
Parameters
[in]
_time_update_cb
Time update callback (optional).
Time Server model
Generated on
for nRF Connect SDK API by
1.15.0