1 /*  Bluetooth Mesh */
2 
3 /*
4  * Copyright (c) 2017 Intel Corporation
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 
9 #define BEACON_TYPE_UNPROVISIONED  0x00
10 #define BEACON_TYPE_SECURE         0x01
11 
12 void bt_mesh_beacon_enable(void);
13 void bt_mesh_beacon_disable(void);
14 
15 void bt_mesh_beacon_ivu_initiator(bool enable);
16 
17 void bt_mesh_beacon_recv(struct net_buf_simple *buf);
18 
19 void bt_mesh_beacon_create(struct bt_mesh_subnet *sub,
20 			   struct net_buf_simple *buf);
21 
22 void bt_mesh_beacon_init(void);
23 
24 bt_u32_t bt_mesh_get_beacon_interval(u8_t type);
25 
26 void bt_mesh_set_beacon_interval(u8_t type, bt_u32_t delay);
27 
28 void genie_set_silent_unprov_beacon_interval(bool is_silent);
29