1 /*
2  * Copyright (c) 2017 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #if defined(CONFIG_BT_MESH_DEBUG_USE_ID_ADDR)
8 #define ADV_OPT_USE_IDENTITY BT_LE_ADV_OPT_USE_IDENTITY
9 #else
10 #define ADV_OPT_USE_IDENTITY 0
11 #endif
12 
13 #define BT_MESH_ID_TYPE_NET	  0x00
14 #define BT_MESH_ID_TYPE_NODE	  0x01
15 #define BT_MESH_ID_TYPE_PRIV_NET  0x02
16 #define BT_MESH_ID_TYPE_PRIV_NODE 0x03
17 
18 int bt_mesh_proxy_gatt_enable(void);
19 int bt_mesh_proxy_gatt_disable(void);
20 void bt_mesh_proxy_gatt_disconnect(void);
21 
22 void bt_mesh_proxy_beacon_send(struct bt_mesh_subnet *sub);
23 
24 int bt_mesh_proxy_adv_start(void);
25 
26 void bt_mesh_proxy_identity_start(struct bt_mesh_subnet *sub, bool private);
27 void bt_mesh_proxy_identity_stop(struct bt_mesh_subnet *sub);
28 
29 bool bt_mesh_proxy_relay(struct bt_mesh_adv *adv, uint16_t dst);
30 void bt_mesh_proxy_addr_add(struct net_buf_simple *buf, uint16_t addr);
31 uint8_t bt_mesh_proxy_srv_connected_cnt(void);
32