nRF Connect SDK API 2.8.99
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
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.