1 /* 2 * SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef _FAST_PROV_H_ 8 #define _FAST_PROV_H_ 9 10 #include "net.h" 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 const uint8_t *bt_mesh_fast_prov_dev_key_get(uint16_t dst); 17 18 struct bt_mesh_subnet *bt_mesh_fast_prov_subnet_get(uint16_t net_idx); 19 20 struct bt_mesh_app_key *bt_mesh_fast_prov_app_key_find(uint16_t app_idx); 21 22 uint8_t bt_mesh_set_fast_prov_net_idx(uint16_t net_idx); 23 24 uint8_t bt_mesh_fast_prov_net_key_add(const uint8_t net_key[16]); 25 26 const uint8_t *bt_mesh_fast_prov_net_key_get(uint16_t net_idx); 27 28 const uint8_t *bt_mesh_get_fast_prov_app_key(uint16_t net_idx, uint16_t app_idx); 29 30 uint8_t bt_mesh_set_fast_prov_action(uint8_t action); 31 32 #ifdef __cplusplus 33 } 34 #endif 35 36 #endif /* _FAST_PROV_H_ */ 37