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

◆ BT_MESH_MODEL_TIME_SRV

#define BT_MESH_MODEL_TIME_SRV ( _srv,
... )

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

Value:
BT_MESH_MODEL_METADATA_CB( \
BT_MESH_MODEL_ID_TIME_SRV, _bt_mesh_time_srv_op, &(_srv)->pub, \
&_bt_mesh_time_srv_cb, __VA_ARGS__), \
BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_TIME_SETUP_SRV, \
_bt_mesh_time_setup_srv_op, \
&(_srv)->setup_pub, \
struct bt_mesh_time_srv, _srv), \
&_bt_mesh_time_setup_srv_cb)
#define BT_MESH_MODEL_USER_DATA(_type, _user_data)
Utility macro for type checking of model user data.
Definition model_types.h:113
Definition time_srv.h:124

Time Server model composition data entry.

Parameters
[in]_srvPointer to a Time Server model instance.
...Optional Time Server metadata if application is compiled with Large Composition Data Server support, otherwise this parameter is ignored.