1 /** @file 2 * @brief Bluetooth Mesh Proxy APIs. 3 */ 4 5 /* 6 * Copyright (c) 2017 Intel Corporation 7 * 8 * SPDX-License-Identifier: Apache-2.0 9 */ 10 #ifndef __BT_MESH_PROXY_H 11 #define __BT_MESH_PROXY_H 12 13 /** 14 * @brief Bluetooth Mesh Proxy 15 * @defgroup bt_mesh_proxy Bluetooth Mesh Proxy 16 * @ingroup bt_mesh 17 * @{ 18 */ 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 /** 25 * @brief Enable advertising with Node Identity. 26 * 27 * This API requires that GATT Proxy support has been enabled. Once called 28 * each subnet will start advertising using Node Identity for the next 29 * 60 seconds. 30 * 31 * @return 0 on success, or (negative) error code on failure. 32 */ 33 int bt_mesh_proxy_identity_enable(void); 34 35 int bt_mesh_proxy_identity_disable(void); 36 37 #ifdef __cplusplus 38 } 39 #endif 40 41 /** 42 * @} 43 */ 44 45 #endif /* __BT_MESH_PROXY_H */ 46