1 /*  Bluetooth Mesh */
2 
3 /*
4  * Copyright (c) 2017 Intel Corporation
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 #ifndef __PROV_H
9 #define __PROV_H
10 
11 void bt_mesh_pb_adv_recv(struct net_buf_simple *buf);
12 
13 bool bt_prov_active(void);
14 
15 int bt_mesh_pb_gatt_open(struct bt_conn *conn);
16 int bt_mesh_pb_gatt_close(struct bt_conn *conn);
17 int bt_mesh_pb_gatt_recv(struct bt_conn *conn, struct net_buf_simple *buf);
18 
19 const struct bt_mesh_prov *bt_mesh_prov_get(void);
20 
21 int bt_mesh_prov_init(const struct bt_mesh_prov *prov);
22 
23 void bt_mesh_prov_complete(u16_t net_idx, u16_t addr);
24 void bt_mesh_prov_reset(void);
25 
26 #endif
27