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 "ad_parser.h" 51 #include "btstack_control.h" 52 #include "btstack_debug.h" 53 #include "btstack_event.h" 54 #include "btstack_defines.h" 55 #include "btstack_linked_list.h" 56 #include "btstack_memory.h" 57 #include "btstack_memory_pool.h" 58 #include "btstack_run_loop.h" 59 #include "btstack_util.h" 60 #include "gap.h" 61 #include "hci.h" 62 #include "hci_cmd.h" 63 #include "hci_dump.h" 64 #include "hci_transport.h" 65 #include "l2cap.h" 66 #include "l2cap_signaling.h" 67 68 #ifdef ENABLE_BLE 69 #include "ble/ancs_client.h" 70 #include "ble/att_db.h" 71 #include "ble/att_db_util.h" 72 #include "ble/att_dispatch.h" 73 #include "ble/att_server.h" 74 #include "ble/gatt_client.h" 75 #include "ble/le_device_db.h" 76 #include "ble/sm.h" 77 #endif 78 79 // #ifdef HAVE_CLASSIC 80 #include "classic/bnep.h" 81 #include "classic/btstack_link_key_db.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/rfcomm.h" 89 #include "classic/sdp_client.h" 90 #include "classic/sdp_client_rfcomm.h" 91 #include "classic/sdp_server.h" 92 #include "classic/sdp_util.h" 93 #include "classic/spp_server.h" 94 // #endif 95 96 #endif // __BTSTACK_H 97