nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
gen_ponoff.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
14#ifndef BT_MESH_GEN_PONOFF_H__
15#define BT_MESH_GEN_PONOFF_H__
16
17#include <zephyr/bluetooth/mesh.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
33};
34
36#define BT_MESH_PONOFF_OP_GET BT_MESH_MODEL_OP_2(0x82, 0x11)
37#define BT_MESH_PONOFF_OP_STATUS BT_MESH_MODEL_OP_2(0x82, 0x12)
38#define BT_MESH_PONOFF_OP_SET BT_MESH_MODEL_OP_2(0x82, 0x13)
39#define BT_MESH_PONOFF_OP_SET_UNACK BT_MESH_MODEL_OP_2(0x82, 0x14)
40
41#define BT_MESH_PONOFF_MSG_LEN_GET 0
42#define BT_MESH_PONOFF_MSG_LEN_STATUS 1
43#define BT_MESH_PONOFF_MSG_LEN_SET 1
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* BT_MESH_GEN_PONOFF_H__ */
51
bt_mesh_on_power_up
Definition: gen_ponoff.h:24
@ BT_MESH_ON_POWER_UP_RESTORE
Definition: gen_ponoff.h:30
@ BT_MESH_ON_POWER_UP_OFF
Definition: gen_ponoff.h:26
@ BT_MESH_ON_POWER_UP_INVALID
Definition: gen_ponoff.h:32
@ BT_MESH_ON_POWER_UP_ON
Definition: gen_ponoff.h:28