xref: /btstack/src/btstack.h (revision 36cf8ec8a23f5e79b1f5809cb14d51e1791a97ea)
10b50beb5SMatthias Ringwald /*
20b50beb5SMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
30b50beb5SMatthias Ringwald  *
40b50beb5SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
50b50beb5SMatthias Ringwald  * modification, are permitted provided that the following conditions
60b50beb5SMatthias Ringwald  * are met:
70b50beb5SMatthias Ringwald  *
80b50beb5SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
90b50beb5SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
100b50beb5SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
110b50beb5SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
120b50beb5SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
130b50beb5SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
140b50beb5SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
150b50beb5SMatthias Ringwald  *    from this software without specific prior written permission.
160b50beb5SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
170b50beb5SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
180b50beb5SMatthias Ringwald  *    monetary gain.
190b50beb5SMatthias Ringwald  *
200b50beb5SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
210b50beb5SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
220b50beb5SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
230b50beb5SMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS
240b50beb5SMatthias Ringwald  * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
250b50beb5SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
260b50beb5SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
270b50beb5SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
280b50beb5SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
290b50beb5SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
300b50beb5SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
310b50beb5SMatthias Ringwald  * SUCH DAMAGE.
320b50beb5SMatthias Ringwald  *
330b50beb5SMatthias Ringwald  * Please inquire about commercial licensing options at
340b50beb5SMatthias Ringwald  * [email protected]
350b50beb5SMatthias Ringwald  *
360b50beb5SMatthias Ringwald  */
370b50beb5SMatthias Ringwald 
380b50beb5SMatthias Ringwald /*
390b50beb5SMatthias Ringwald  *  btstack.h
400b50beb5SMatthias Ringwald  *  Convenience header to include all public APIs
410b50beb5SMatthias Ringwald  */
420b50beb5SMatthias Ringwald 
430b50beb5SMatthias Ringwald 
440b50beb5SMatthias Ringwald #ifndef __BTSTACK_H
450b50beb5SMatthias Ringwald #define __BTSTACK_H
460b50beb5SMatthias Ringwald 
477907f069SMatthias Ringwald #include "btstack_config.h"
480b50beb5SMatthias Ringwald 
49*36cf8ec8SMilanka Ringwald #include "ad_parser.h"
500b50beb5SMatthias Ringwald #include "bluetooth.h"
51*36cf8ec8SMilanka Ringwald #include "bluetooth_company_id.h"
52c8771c20SMatthias Ringwald #include "bluetooth_data_types.h"
53c8771c20SMatthias Ringwald #include "bluetooth_gatt.h"
54779b256eSMatthias Ringwald #include "bluetooth_sdp.h"
55dc4b18a4SMatthias Ringwald #include "btstack_control.h"
5616ece135SMatthias Ringwald #include "btstack_debug.h"
57dc4b18a4SMatthias Ringwald #include "btstack_defines.h"
58*36cf8ec8SMilanka Ringwald #include "btstack_event.h"
59dc4b18a4SMatthias Ringwald #include "btstack_linked_list.h"
60dc4b18a4SMatthias Ringwald #include "btstack_memory.h"
61dc4b18a4SMatthias Ringwald #include "btstack_memory_pool.h"
62dc4b18a4SMatthias Ringwald #include "btstack_run_loop.h"
63*36cf8ec8SMilanka Ringwald #include "btstack_stdin.h"
64dc4b18a4SMatthias Ringwald #include "btstack_util.h"
650b50beb5SMatthias Ringwald #include "gap.h"
660b50beb5SMatthias Ringwald #include "hci.h"
6756042629SMatthias Ringwald #include "hci_cmd.h"
680b50beb5SMatthias Ringwald #include "hci_dump.h"
690b50beb5SMatthias Ringwald #include "hci_transport.h"
700b50beb5SMatthias Ringwald #include "l2cap.h"
710b50beb5SMatthias Ringwald #include "l2cap_signaling.h"
720b50beb5SMatthias Ringwald 
73a9a4c409SMatthias Ringwald #ifdef ENABLE_BLE
74c953b8ddSMatthias Ringwald #include "ble/ancs_client.h"
75591423b2SMatthias Ringwald #include "ble/att_db.h"
760b50beb5SMatthias Ringwald #include "ble/att_db_util.h"
770b50beb5SMatthias Ringwald #include "ble/att_dispatch.h"
780b50beb5SMatthias Ringwald #include "ble/att_server.h"
790b50beb5SMatthias Ringwald #include "ble/gatt_client.h"
800b50beb5SMatthias Ringwald #include "ble/le_device_db.h"
810b50beb5SMatthias Ringwald #include "ble/sm.h"
820b50beb5SMatthias Ringwald #endif
830b50beb5SMatthias Ringwald 
84d40c9ac6SMatthias Ringwald // #ifdef ENABLE_CLASSIC
85*36cf8ec8SMilanka Ringwald #include "classic/a2dp_sink.h"
86*36cf8ec8SMilanka Ringwald #include "classic/a2dp_source.h"
87*36cf8ec8SMilanka Ringwald #include "classic/avdtp.h"
88*36cf8ec8SMilanka Ringwald #include "classic/avdtp_acceptor.h"
89*36cf8ec8SMilanka Ringwald #include "classic/avdtp_initiator.h"
90*36cf8ec8SMilanka Ringwald #include "classic/avdtp_sink.h"
91*36cf8ec8SMilanka Ringwald #include "classic/avdtp_source.h"
92*36cf8ec8SMilanka Ringwald #include "classic/avrcp.h"
930b50beb5SMatthias Ringwald #include "classic/bnep.h"
94efda0b48SMatthias Ringwald #include "classic/btstack_link_key_db.h"
9559fb9ebdSMatthias Ringwald #include "classic/device_id_server.h"
960b50beb5SMatthias Ringwald #include "classic/hfp.h"
970b50beb5SMatthias Ringwald #include "classic/hfp_ag.h"
980b50beb5SMatthias Ringwald #include "classic/hfp_hf.h"
99d40c9ac6SMatthias Ringwald #include "classic/hid_device.h"
1000b50beb5SMatthias Ringwald #include "classic/hsp_ag.h"
1010b50beb5SMatthias Ringwald #include "classic/hsp_hs.h"
1020b50beb5SMatthias Ringwald #include "classic/pan.h"
1030b50beb5SMatthias Ringwald #include "classic/rfcomm.h"
1040b50beb5SMatthias Ringwald #include "classic/sdp_client.h"
105efda0b48SMatthias Ringwald #include "classic/sdp_client_rfcomm.h"
106efda0b48SMatthias Ringwald #include "classic/sdp_server.h"
1070b50beb5SMatthias Ringwald #include "classic/sdp_util.h"
108efda0b48SMatthias Ringwald #include "classic/spp_server.h"
1090b50beb5SMatthias Ringwald // #endif
1100b50beb5SMatthias Ringwald 
1110b50beb5SMatthias Ringwald #endif  // __BTSTACK_H
1120b50beb5SMatthias Ringwald