xref: /btstack/src/btstack.h (revision 7dc86dfd3569d69491d87d64749fd45afb46c67a)
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 "ad_parser.h"
50 #include "bluetooth.h"
51 #include "bluetooth_company_id.h"
52 #include "bluetooth_data_types.h"
53 #include "bluetooth_gatt.h"
54 #include "bluetooth_sdp.h"
55 #include "btstack_control.h"
56 #include "btstack_debug.h"
57 #include "btstack_defines.h"
58 #include "btstack_event.h"
59 #include "btstack_hid_parser.h"
60 #include "btstack_linked_list.h"
61 #include "btstack_memory.h"
62 #include "btstack_memory_pool.h"
63 #include "btstack_network.h"
64 #include "btstack_run_loop.h"
65 #include "btstack_stdin.h"
66 #include "btstack_util.h"
67 #include "gap.h"
68 #include "hci.h"
69 #include "hci_cmd.h"
70 #include "hci_dump.h"
71 #include "hci_transport.h"
72 #include "l2cap.h"
73 #include "l2cap_signaling.h"
74 
75 #ifdef ENABLE_BLE
76 #include "ble/ancs_client.h"
77 #include "ble/att_db.h"
78 #include "ble/att_db_util.h"
79 #include "ble/att_dispatch.h"
80 #include "ble/att_server.h"
81 #include "ble/gatt_client.h"
82 #include "ble/le_device_db.h"
83 #include "ble/sm.h"
84 #endif
85 
86 // #ifdef ENABLE_CLASSIC
87 #include "classic/a2dp_sink.h"
88 #include "classic/a2dp_source.h"
89 #include "classic/avdtp.h"
90 #include "classic/avdtp_acceptor.h"
91 #include "classic/avdtp_initiator.h"
92 #include "classic/avdtp_sink.h"
93 #include "classic/avdtp_source.h"
94 #include "classic/avdtp_util.h"
95 #include "classic/avrcp.h"
96 #include "classic/avrcp_browsing_controller.h"
97 #include "classic/avrcp_controller.h"
98 #include "classic/avrcp_media_item_iterator.h"
99 #include "classic/avrcp_target.h"
100 #include "classic/bnep.h"
101 #include "classic/btstack_link_key_db.h"
102 #include "classic/btstack_sbc.h"
103 #include "classic/device_id_server.h"
104 #include "classic/hfp.h"
105 #include "classic/hfp_ag.h"
106 #include "classic/hfp_hf.h"
107 #include "classic/hid_device.h"
108 #include "classic/hsp_ag.h"
109 #include "classic/hsp_hs.h"
110 #include "classic/pan.h"
111 #include "classic/rfcomm.h"
112 #include "classic/sdp_client.h"
113 #include "classic/sdp_client_rfcomm.h"
114 #include "classic/sdp_server.h"
115 #include "classic/sdp_util.h"
116 #include "classic/spp_server.h"
117 // #endif
118 
119 #endif  // __BTSTACK_H
120 
121