14#ifndef BT_MESH_GEN_ONOFF_H__
15#define BT_MESH_GEN_ONOFF_H__
50#define BT_MESH_ONOFF_OP_GET BT_MESH_MODEL_OP_2(0x82, 0x01)
51#define BT_MESH_ONOFF_OP_SET BT_MESH_MODEL_OP_2(0x82, 0x02)
52#define BT_MESH_ONOFF_OP_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x03)
53#define BT_MESH_ONOFF_OP_STATUS BT_MESH_MODEL_OP_2(0x82, 0x04)
55#define BT_MESH_ONOFF_MSG_LEN_GET 0
56#define BT_MESH_ONOFF_MSG_MINLEN_SET 2
57#define BT_MESH_ONOFF_MSG_MAXLEN_SET 4
58#define BT_MESH_ONOFF_MSG_MINLEN_STATUS 1
59#define BT_MESH_ONOFF_MSG_MAXLEN_STATUS 3
Definition: model_types.h:37
bool on_off
Definition: gen_onoff.h:26
const struct bt_mesh_model_transition * transition
Definition: gen_onoff.h:36
bool reuse_transaction
Definition: gen_onoff.h:28
Definition: gen_onoff.h:24
int32_t remaining_time
Definition: gen_onoff.h:46
bool target_on_off
Definition: gen_onoff.h:44
bool present_on_off
Definition: gen_onoff.h:42
Definition: gen_onoff.h:40