nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
gen_plvl_srv.h File Reference
#include <zephyr/bluetooth/mesh.h>
#include <bluetooth/mesh/gen_plvl.h>
#include <bluetooth/mesh/gen_lvl_srv.h>
#include <bluetooth/mesh/gen_ponoff_srv.h>
#include <bluetooth/mesh/model_types.h>

Go to the source code of this file.

Data Structures

struct  bt_mesh_plvl_srv_handlers
 
struct  bt_mesh_plvl_srv
 

Macros

#define BT_MESH_PLVL_SRV_INIT(_handlers)
 Initialization parameters for Generic Power Level Server model.
 
#define BT_MESH_MODEL_PLVL_SRV(_srv)
 Generic Power Level model entry.
 

Functions

int bt_mesh_plvl_srv_pub (struct bt_mesh_plvl_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_plvl_status *status)
 Publish the current Power state.