xref: /btstack/src/btstack.h (revision f4854a5efbe174cdf16fcaf3de7491781eef80ab)
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 
4480e33422SMatthias Ringwald #ifndef BTSTACK_H
4580e33422SMatthias Ringwald #define BTSTACK_H
460b50beb5SMatthias Ringwald 
477907f069SMatthias Ringwald #include "btstack_config.h"
480b50beb5SMatthias Ringwald 
4936cf8ec8SMilanka Ringwald #include "ad_parser.h"
500b50beb5SMatthias Ringwald #include "bluetooth.h"
5136cf8ec8SMilanka 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"
552ab2c985SMatthias Ringwald #include "btstack_audio.h"
56dc4b18a4SMatthias Ringwald #include "btstack_control.h"
57b673498bSMatthias Ringwald #include "btstack_crypto.h"
5816ece135SMatthias Ringwald #include "btstack_debug.h"
59dc4b18a4SMatthias Ringwald #include "btstack_defines.h"
6036cf8ec8SMilanka Ringwald #include "btstack_event.h"
6112ccb71bSMatthias Ringwald #include "btstack_hid_parser.h"
62dc4b18a4SMatthias Ringwald #include "btstack_linked_list.h"
63dc4b18a4SMatthias Ringwald #include "btstack_memory.h"
64dc4b18a4SMatthias Ringwald #include "btstack_memory_pool.h"
65a7473022SMatthias Ringwald #include "btstack_network.h"
66dc4b18a4SMatthias Ringwald #include "btstack_run_loop.h"
6736cf8ec8SMilanka Ringwald #include "btstack_stdin.h"
68dc4b18a4SMatthias Ringwald #include "btstack_util.h"
690b50beb5SMatthias Ringwald #include "gap.h"
700b50beb5SMatthias Ringwald #include "hci.h"
7156042629SMatthias Ringwald #include "hci_cmd.h"
720b50beb5SMatthias Ringwald #include "hci_dump.h"
730b50beb5SMatthias Ringwald #include "hci_transport.h"
740b50beb5SMatthias Ringwald #include "l2cap.h"
750b50beb5SMatthias Ringwald #include "l2cap_signaling.h"
760b50beb5SMatthias Ringwald 
77a9a4c409SMatthias Ringwald #ifdef ENABLE_BLE
78c953b8ddSMatthias Ringwald #include "ble/ancs_client.h"
79591423b2SMatthias Ringwald #include "ble/att_db.h"
800b50beb5SMatthias Ringwald #include "ble/att_db_util.h"
810b50beb5SMatthias Ringwald #include "ble/att_dispatch.h"
820b50beb5SMatthias Ringwald #include "ble/att_server.h"
830b8dd114SMilanka Ringwald #include "ble/gatt-service/battery_service_server.h"
840b8dd114SMilanka Ringwald #include "ble/gatt-service/cycling_power_service_server.h"
850b8dd114SMilanka Ringwald #include "ble/gatt-service/cycling_speed_and_cadence_service_server.h"
860b8dd114SMilanka Ringwald #include "ble/gatt-service/device_information_service_server.h"
870b8dd114SMilanka Ringwald #include "ble/gatt-service/heart_rate_service_server.h"
880b8dd114SMilanka Ringwald #include "ble/gatt-service/hids_device.h"
89d6915e6fSMatthias Ringwald #ifdef ENABLE_MESH
90d6915e6fSMatthias Ringwald #include "ble/gatt-service/mesh_provisioning_service_server.h"
91d6915e6fSMatthias Ringwald #include "ble/gatt-service/mesh_proxy_service_server.h"
92d6915e6fSMatthias Ringwald #endif
930b50beb5SMatthias Ringwald #include "ble/gatt_client.h"
940b50beb5SMatthias Ringwald #include "ble/le_device_db.h"
950b50beb5SMatthias Ringwald #include "ble/sm.h"
960b50beb5SMatthias Ringwald #endif
970b50beb5SMatthias Ringwald 
98f45d1a4eSMatthias Ringwald #ifdef ENABLE_CLASSIC
9936cf8ec8SMilanka Ringwald #include "classic/a2dp_sink.h"
10036cf8ec8SMilanka Ringwald #include "classic/a2dp_source.h"
10136cf8ec8SMilanka Ringwald #include "classic/avdtp.h"
10236cf8ec8SMilanka Ringwald #include "classic/avdtp_acceptor.h"
10336cf8ec8SMilanka Ringwald #include "classic/avdtp_initiator.h"
10436cf8ec8SMilanka Ringwald #include "classic/avdtp_sink.h"
10536cf8ec8SMilanka Ringwald #include "classic/avdtp_source.h"
106c4c891e9SMilanka Ringwald #include "classic/avdtp_util.h"
10736cf8ec8SMilanka Ringwald #include "classic/avrcp.h"
108954cc391SMilanka Ringwald #include "classic/avrcp_browsing_controller.h"
109654724deSMilanka Ringwald #include "classic/avrcp_browsing_target.h"
1106983e65eSMilanka Ringwald #include "classic/avrcp_controller.h"
111954cc391SMilanka Ringwald #include "classic/avrcp_media_item_iterator.h"
1126983e65eSMilanka Ringwald #include "classic/avrcp_target.h"
1130b50beb5SMatthias Ringwald #include "classic/bnep.h"
114efda0b48SMatthias Ringwald #include "classic/btstack_link_key_db.h"
1153dfd0eb6SMilanka Ringwald #include "classic/btstack_sbc.h"
11659fb9ebdSMatthias Ringwald #include "classic/device_id_server.h"
117e5836bafSMatthias Ringwald #include "classic/gatt_sdp.h"
1180b50beb5SMatthias Ringwald #include "classic/hfp.h"
1190b50beb5SMatthias Ringwald #include "classic/hfp_ag.h"
1200b50beb5SMatthias Ringwald #include "classic/hfp_hf.h"
121d40c9ac6SMatthias Ringwald #include "classic/hid_device.h"
1220b50beb5SMatthias Ringwald #include "classic/hsp_ag.h"
1230b50beb5SMatthias Ringwald #include "classic/hsp_hs.h"
1240b50beb5SMatthias Ringwald #include "classic/pan.h"
1250b50beb5SMatthias Ringwald #include "classic/rfcomm.h"
1260b50beb5SMatthias Ringwald #include "classic/sdp_client.h"
127efda0b48SMatthias Ringwald #include "classic/sdp_client_rfcomm.h"
128efda0b48SMatthias Ringwald #include "classic/sdp_server.h"
1290b50beb5SMatthias Ringwald #include "classic/sdp_util.h"
130efda0b48SMatthias Ringwald #include "classic/spp_server.h"
131f45d1a4eSMatthias Ringwald #endif
1320b50beb5SMatthias Ringwald 
133d6915e6fSMatthias Ringwald #ifdef ENABLE_MESH
134d6915e6fSMatthias Ringwald #include "mesh/adv_bearer.h"
135d6915e6fSMatthias Ringwald #include "mesh/beacon.h"
136d6915e6fSMatthias Ringwald #include "mesh/gatt_bearer.h"
137*f4854a5eSMatthias Ringwald #include "mesh/mesh.h"
138*f4854a5eSMatthias Ringwald #include "mesh/mesh_access.h"
139*f4854a5eSMatthias Ringwald #include "mesh/mesh_configuration_server.h"
140d6915e6fSMatthias Ringwald #include "mesh/mesh_crypto.h"
141*f4854a5eSMatthias Ringwald #include "mesh/mesh_foundation.h"
142*f4854a5eSMatthias Ringwald #include "mesh/mesh_generic_model.h"
143*f4854a5eSMatthias Ringwald #include "mesh/mesh_generic_server.h"
144*f4854a5eSMatthias Ringwald #include "mesh/mesh_iv_index_seq_number.h"
145d6915e6fSMatthias Ringwald #include "mesh/mesh_lower_transport.h"
146*f4854a5eSMatthias Ringwald #include "mesh/mesh_peer.h"
147*f4854a5eSMatthias Ringwald #include "mesh/mesh_proxy.h"
148d6915e6fSMatthias Ringwald #include "mesh/mesh_upper_transport.h"
149*f4854a5eSMatthias Ringwald #include "mesh/mesh_virtual_addresses.h"
150d6915e6fSMatthias Ringwald #include "mesh/pb_adv.h"
151d6915e6fSMatthias Ringwald #include "mesh/pb_gatt.h"
152*f4854a5eSMatthias Ringwald #include "mesh/provisioning.h"
153*f4854a5eSMatthias Ringwald #include "mesh/provisioning_device.h"
154d6915e6fSMatthias Ringwald #endif
1550b50beb5SMatthias Ringwald 
156d6915e6fSMatthias Ringwald #endif  // __BTSTACK_H
157