xref: /btstack/src/btstack.h (revision af3c1ffe4cfe13a87f9b14ce6dfb14e882ab3b69)
1 /*
2  * Copyright (C) 2014 BlueKitchen GmbH
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright
9  *    notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in the
12  *    documentation and/or other materials provided with the distribution.
13  * 3. Neither the name of the copyright holders nor the names of
14  *    contributors may be used to endorse or promote products derived
15  *    from this software without specific prior written permission.
16  * 4. Any redistribution, use, or modification is done solely for
17  *    personal benefit and not for any commercial purpose or for
18  *    monetary gain.
19  *
20  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
21  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS
24  * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31  * SUCH DAMAGE.
32  *
33  * Please inquire about commercial licensing options at
34  * [email protected]
35  *
36  */
37 
38 /*
39  *  btstack.h
40  *  Convenience header to include all public APIs
41  */
42 
43 
44 #ifndef __BTSTACK_H
45 #define __BTSTACK_H
46 
47 #include "btstack-config.h"
48 
49 #include "bluetooth.h"
50 #include "btstack_control.h"
51 #include "btstack.h"
52 #include "btstack_defines.h"
53 #include "btstack_memory.h"
54 #include "btstack_debug.h"
55 #include "gap.h"
56 #include "hci.h"
57 #include "hci_cmds.h"
58 #include "hci_dump.h"
59 #include "hci_transport.h"
60 #include "l2cap.h"
61 #include "l2cap_signaling.h"
62 #include "btstack_linked_list.h"
63 #include "btstack_memory_pool.h"
64 #include "run_loop.h"
65 #include "utils.h"
66 #include "version.h"
67 
68 #ifdef HAVE_BLE
69 #include "ble/ad_parser.h"
70 #include "ble/ancs_client_lib.h"
71 #include "ble/att.h"
72 #include "ble/att_db_util.h"
73 #include "ble/att_dispatch.h"
74 #include "ble/att_server.h"
75 #include "ble/gatt_client.h"
76 #include "ble/le_device_db.h"
77 #include "ble/sm.h"
78 #endif
79 
80 // #ifdef HAVE_CLASSIC
81 #include "classic/bnep.h"
82 #include "classic/hfp.h"
83 #include "classic/hfp_ag.h"
84 #include "classic/hfp_hf.h"
85 #include "classic/hsp_ag.h"
86 #include "classic/hsp_hs.h"
87 #include "classic/pan.h"
88 #include "classic/remote_device_db.h"
89 #include "classic/rfcomm.h"
90 #include "classic/sdp.h"
91 #include "classic/sdp_client.h"
92 #include "classic/sdp_parser.h"
93 #include "classic/sdp_query_rfcomm.h"
94 #include "classic/sdp_query_util.h"
95 #include "classic/sdp_util.h"
96 // #endif
97 
98 #endif  // __BTSTACK_H
99