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

◆ BT_MESH_PROP_SRV_INIT

#define BT_MESH_PROP_SRV_INIT (   _properties,
  _property_count,
  _get,
  _set 
)

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

Value:
{ \
.get = _get, .set = _set, .properties = _properties, \
.property_count = _property_count, \
}

Initialization parameters for a Generic Property server models instance.

Parameters
[in]_propertiesArray of properties supported by the server.
[in]_property_countNumber of properties supported by the server. Cannot be larger than
embed:rst:inline :kconfig:option:`CONFIG_BT_MESH_PROP_MAXCOUNT` 
.
[in]_getGetter handler for property values.
See also
bt_mesh_prop_srv::get.
Parameters
[in]_setSetter handler for property values.
See also
bt_mesh_prop_srv::set.