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

◆ BT_MESH_MODEL_SILVAIR_ENOCEAN_BUTTON

#define BT_MESH_MODEL_SILVAIR_ENOCEAN_BUTTON ( _srv,
_idx )

#include <include/bluetooth/mesh/vnd/silvair_enocean_srv.h>

Value:
BT_MESH_MODEL_LVL_CLI(&(_srv)->buttons[_idx].lvl), \
BT_MESH_MODEL_ONOFF_CLI(&(_srv)->buttons[_idx].onoff)
#define BT_MESH_MODEL_LVL_CLI(_cli)
Generic Level Client model composition data entry.
Definition gen_lvl_cli.h:42

Model entries for a button for a Silvair Enocean Proxy Server model.

One of these should be added for each rocker switch handled by the Silvair Enocean Proxy Server instance, each on its own element. This macro includes the Generic Level Client and Generic OnOff Client.

Parameters
[in]_srvPointer to a Light Lightness Server model instance.
[in]_idxButton index for the model entries. Must be in the range 0 to BT_MESH_SILVAIR_ENOCEAN_PROXY_BUTTONS.