159c6af15SMatthias Ringwald /* 259c6af15SMatthias Ringwald * Copyright (C) 2014 BlueKitchen GmbH 359c6af15SMatthias Ringwald * 459c6af15SMatthias Ringwald * Redistribution and use in source and binary forms, with or without 559c6af15SMatthias Ringwald * modification, are permitted provided that the following conditions 659c6af15SMatthias Ringwald * are met: 759c6af15SMatthias Ringwald * 859c6af15SMatthias Ringwald * 1. Redistributions of source code must retain the above copyright 959c6af15SMatthias Ringwald * notice, this list of conditions and the following disclaimer. 1059c6af15SMatthias Ringwald * 2. Redistributions in binary form must reproduce the above copyright 1159c6af15SMatthias Ringwald * notice, this list of conditions and the following disclaimer in the 1259c6af15SMatthias Ringwald * documentation and/or other materials provided with the distribution. 1359c6af15SMatthias Ringwald * 3. Neither the name of the copyright holders nor the names of 1459c6af15SMatthias Ringwald * contributors may be used to endorse or promote products derived 1559c6af15SMatthias Ringwald * from this software without specific prior written permission. 1659c6af15SMatthias Ringwald * 4. Any redistribution, use, or modification is done solely for 1759c6af15SMatthias Ringwald * personal benefit and not for any commercial purpose or for 1859c6af15SMatthias Ringwald * monetary gain. 1959c6af15SMatthias Ringwald * 2059c6af15SMatthias Ringwald * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS 2159c6af15SMatthias Ringwald * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2259c6af15SMatthias Ringwald * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 23*2fca4dadSMilanka Ringwald * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN 24*2fca4dadSMilanka Ringwald * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 2559c6af15SMatthias Ringwald * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 2659c6af15SMatthias Ringwald * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 2759c6af15SMatthias Ringwald * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 2859c6af15SMatthias Ringwald * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2959c6af15SMatthias Ringwald * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 3059c6af15SMatthias Ringwald * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3159c6af15SMatthias Ringwald * SUCH DAMAGE. 3259c6af15SMatthias Ringwald * 3359c6af15SMatthias Ringwald * Please inquire about commercial licensing options at 3459c6af15SMatthias Ringwald * [email protected] 3559c6af15SMatthias Ringwald * 3659c6af15SMatthias Ringwald */ 3759c6af15SMatthias Ringwald 3859c6af15SMatthias Ringwald // ***************************************************************************** 3959c6af15SMatthias Ringwald // Core header for all BLE protocols and profiles 4059c6af15SMatthias Ringwald // ***************************************************************************** 4159c6af15SMatthias Ringwald 42a28148f7SMatthias Ringwald #ifndef BLE_CORE_H 43a28148f7SMatthias Ringwald #define BLE_CORE_H 4459c6af15SMatthias Ringwald 4559c6af15SMatthias Ringwald #include "btstack_config.h" 4659c6af15SMatthias Ringwald 4759c6af15SMatthias Ringwald #ifndef ENABLE_BLE 4894d9af0cSMatthias Ringwald #error "ENABLE_BLE not defined but BLE protocol or profile include. Please add ENABLE_BLE in btstack_config.h, or remove all BLE protocols and profiles" 4959c6af15SMatthias Ringwald #endif 5059c6af15SMatthias Ringwald 5159c6af15SMatthias Ringwald #endif 52