nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
models.h File Reference
#include <zephyr/bluetooth/mesh.h>
#include <bluetooth/mesh/model_types.h>
#include <zephyr/bluetooth/mesh/cfg_cli.h>
#include <zephyr/bluetooth/mesh/cfg_srv.h>
#include <zephyr/bluetooth/mesh/health_cli.h>
#include <zephyr/bluetooth/mesh/health_srv.h>
#include <bluetooth/mesh/gen_onoff_srv.h>
#include <bluetooth/mesh/gen_onoff_cli.h>
#include <bluetooth/mesh/gen_lvl_srv.h>
#include <bluetooth/mesh/gen_lvl_cli.h>
#include <bluetooth/mesh/gen_dtt_srv.h>
#include <bluetooth/mesh/gen_dtt_cli.h>
#include <bluetooth/mesh/gen_ponoff_srv.h>
#include <bluetooth/mesh/gen_ponoff_cli.h>
#include <bluetooth/mesh/gen_plvl_srv.h>
#include <bluetooth/mesh/gen_plvl_cli.h>
#include <bluetooth/mesh/gen_battery_srv.h>
#include <bluetooth/mesh/gen_battery_cli.h>
#include <bluetooth/mesh/gen_loc_srv.h>
#include <bluetooth/mesh/gen_loc_cli.h>
#include <bluetooth/mesh/gen_prop_srv.h>
#include <bluetooth/mesh/gen_prop_cli.h>
#include <bluetooth/mesh/sensor_types.h>
#include <bluetooth/mesh/sensor_srv.h>
#include <bluetooth/mesh/sensor_cli.h>
#include <bluetooth/mesh/lightness_srv.h>
#include <bluetooth/mesh/lightness_cli.h>
#include <bluetooth/mesh/light_ctrl_srv.h>
#include <bluetooth/mesh/light_ctrl_cli.h>
#include <bluetooth/mesh/light_ctl_cli.h>
#include <bluetooth/mesh/light_temp_srv.h>
#include <bluetooth/mesh/light_ctl_srv.h>
#include <bluetooth/mesh/light_xyl_cli.h>
#include <bluetooth/mesh/light_xyl_srv.h>
#include <bluetooth/mesh/light_hsl_cli.h>
#include <bluetooth/mesh/light_hsl_srv.h>
#include <bluetooth/mesh/light_sat_srv.h>
#include <bluetooth/mesh/light_hue_srv.h>
#include <bluetooth/mesh/time_cli.h>
#include <bluetooth/mesh/time_srv.h>
#include <bluetooth/mesh/scene_cli.h>
#include <bluetooth/mesh/scene_srv.h>
#include <bluetooth/mesh/scheduler_cli.h>
#include <bluetooth/mesh/scheduler_srv.h>

Go to the source code of this file.

Macros

#define BT_MESH_MODEL_LIST(...)   ((struct bt_mesh_model[]){ __VA_ARGS__ })
 
Mesh Profiles from the NLC Profile Specifications
#define BT_MESH_NLC_PROFILE_ID_AMBIENT_LIGHT_SENSOR   0x1600
 
#define BT_MESH_NLC_PROFILE_ID_BASIC_LIGHTNESS_CONTROLLER   0x1601
 
#define BT_MESH_NLC_PROFILE_ID_BASIC_SCENE_SELECTOR   0x1602
 
#define BT_MESH_NLC_PROFILE_ID_DIMMING_CONTROL   0x1603
 
#define BT_MESH_NLC_PROFILE_ID_ENERGY_MONITOR   0x1604
 
#define BT_MESH_NLC_PROFILE_ID_OCCUPANCY_SENSOR   0x1605
 

Functions

bool bt_mesh_model_pub_is_unicast (const struct bt_mesh_model *model)
 Check whether the model publishes to a unicast address.