nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
dk_prov.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
13
14#ifndef BT_MESH_DK_PROV_H__
15#define BT_MESH_DK_PROV_H__
16
17#include <zephyr/bluetooth/mesh.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23
29const struct bt_mesh_prov *bt_mesh_dk_prov_init(void);
30
43const struct bt_mesh_prov *bt_mesh_dk_prov_init_with_static_oob(const uint8_t *oob_val,
44 uint8_t oob_len);
45
50void bt_mesh_dk_prov_node_reset_cb_set(void (*handler)(void));
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* BT_MESH_DK_PROV_H__ */
57
const struct bt_mesh_prov * bt_mesh_dk_prov_init_with_static_oob(const uint8_t *oob_val, uint8_t oob_len)
Initialize the provisioning handler with a static OOB value.
void bt_mesh_dk_prov_node_reset_cb_set(void(*handler)(void))
Register a handler for node reset.
const struct bt_mesh_prov * bt_mesh_dk_prov_init(void)
Initialize the provisioning handler.