13#ifndef BT_MESH_GEN_LVL_H__
14#define BT_MESH_GEN_LVL_H__
16#include <zephyr/bluetooth/mesh.h>
24#define BT_MESH_LVL_MIN INT16_MIN
26#define BT_MESH_LVL_MAX INT16_MAX
100#define BT_MESH_LVL_OP_GET BT_MESH_MODEL_OP_2(0x82, 0x05)
101#define BT_MESH_LVL_OP_SET BT_MESH_MODEL_OP_2(0x82, 0x06)
102#define BT_MESH_LVL_OP_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x07)
103#define BT_MESH_LVL_OP_STATUS BT_MESH_MODEL_OP_2(0x82, 0x08)
104#define BT_MESH_LVL_OP_DELTA_SET BT_MESH_MODEL_OP_2(0x82, 0x09)
105#define BT_MESH_LVL_OP_DELTA_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x0A)
106#define BT_MESH_LVL_OP_MOVE_SET BT_MESH_MODEL_OP_2(0x82, 0x0B)
107#define BT_MESH_LVL_OP_MOVE_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x0C)
109#define BT_MESH_LVL_MSG_LEN_GET 0
110#define BT_MESH_LVL_MSG_MINLEN_SET 3
111#define BT_MESH_LVL_MSG_MAXLEN_SET 5
112#define BT_MESH_LVL_MSG_MINLEN_STATUS 2
113#define BT_MESH_LVL_MSG_MAXLEN_STATUS 5
114#define BT_MESH_LVL_MSG_MINLEN_DELTA_SET 5
115#define BT_MESH_LVL_MSG_MAXLEN_DELTA_SET 7
116#define BT_MESH_LVL_MSG_MINLEN_MOVE_SET 3
117#define BT_MESH_LVL_MSG_MAXLEN_MOVE_SET 5
const struct bt_mesh_model_transition * transition
Definition: gen_lvl.h:61
int32_t delta
Definition: gen_lvl.h:47
bool new_transaction
Definition: gen_lvl.h:53
int16_t delta
Definition: gen_lvl.h:67
bool new_transaction
Definition: gen_lvl.h:69
const struct bt_mesh_model_transition * transition
Definition: gen_lvl.h:79
bool new_transaction
Definition: gen_lvl.h:33
int16_t lvl
Definition: gen_lvl.h:31
const struct bt_mesh_model_transition * transition
Definition: gen_lvl.h:41
int16_t current
Definition: gen_lvl.h:85
int32_t remaining_time
Definition: gen_lvl.h:96
int16_t target
Definition: gen_lvl.h:90
Definition: model_types.h:37