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

◆ BT_MESH_MODEL_BATTERY_SRV

#define BT_MESH_MODEL_BATTERY_SRV ( _srv)

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

Value:
BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_GEN_BATTERY_SRV, \
_bt_mesh_battery_srv_op, &(_srv)->pub, \
_srv), \
&_bt_mesh_battery_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 gen_battery_srv.h:54

Generic Battery Server model composition data entry.

Parameters
[in]_srvPointer to a Generic Battery Server model instance.