1 // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 
16 
17 
18 
19 #ifndef _BT_COMMON_TYPES_H_
20 #define _BT_COMMON_TYPES_H_
21 
22 #include "common/bt_defs.h"
23 #include "osi/thread.h"
24 
25 typedef void (* bluedroid_init_done_cb_t)(void);
26 
27 typedef struct {
28     uint8_t client_if;
29     uint8_t filt_index;
30     uint8_t advertiser_state;
31     uint8_t advertiser_info_present;
32     uint8_t addr_type;
33     uint8_t tx_power;
34     int8_t rssi_value;
35     uint16_t time_stamp;
36     bt_bdaddr_t bd_addr;
37     uint8_t adv_pkt_len;
38     uint8_t *p_adv_pkt_data;
39     uint8_t scan_rsp_len;
40     uint8_t *p_scan_rsp_data;
41 } btgatt_track_adv_info_t;
42 
43 #endif
44