1 /*
2  * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef __BTC_MANAGE_H__
8 #define __BTC_MANAGE_H__
9 
10 #include "btc/btc_task.h"
11 
12 #if BTC_DYNAMIC_MEMORY == FALSE
13 extern void *btc_profile_cb_tab[BTC_PID_NUM];
14 #else
15 extern void **btc_profile_cb_tab;
16 #endif
17 /* reset gatt callback table */
18 void esp_profile_cb_reset(void);
19 
20 int btc_profile_cb_set(btc_pid_t profile_id, void *cb);
21 void *btc_profile_cb_get(btc_pid_t profile_id);
22 
23 #endif /* __BTC_MANAGE_H__ */
24