1 /* 2 * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 8 9 10 11 #ifndef _BT_COMMON_TYPES_H_ 12 #define _BT_COMMON_TYPES_H_ 13 14 #include "common/bt_defs.h" 15 #include "osi/thread.h" 16 17 typedef void (* bluedroid_init_done_cb_t)(void); 18 19 typedef struct { 20 uint8_t client_if; 21 uint8_t filt_index; 22 uint8_t advertiser_state; 23 uint8_t advertiser_info_present; 24 uint8_t addr_type; 25 uint8_t tx_power; 26 int8_t rssi_value; 27 uint16_t time_stamp; 28 bt_bdaddr_t bd_addr; 29 uint8_t adv_pkt_len; 30 uint8_t *p_adv_pkt_data; 31 uint8_t scan_rsp_len; 32 uint8_t *p_scan_rsp_data; 33 } btgatt_track_adv_info_t; 34 35 #endif 36