1360243beSMatthias Ringwald /* 2360243beSMatthias Ringwald * Copyright (C) 2017 BlueKitchen GmbH 3360243beSMatthias Ringwald * 4360243beSMatthias Ringwald * Redistribution and use in source and binary forms, with or without 5360243beSMatthias Ringwald * modification, are permitted provided that the following conditions 6360243beSMatthias Ringwald * are met: 7360243beSMatthias Ringwald * 8360243beSMatthias Ringwald * 1. Redistributions of source code must retain the above copyright 9360243beSMatthias Ringwald * notice, this list of conditions and the following disclaimer. 10360243beSMatthias Ringwald * 2. Redistributions in binary form must reproduce the above copyright 11360243beSMatthias Ringwald * notice, this list of conditions and the following disclaimer in the 12360243beSMatthias Ringwald * documentation and/or other materials provided with the distribution. 13360243beSMatthias Ringwald * 3. Neither the name of the copyright holders nor the names of 14360243beSMatthias Ringwald * contributors may be used to endorse or promote products derived 15360243beSMatthias Ringwald * from this software without specific prior written permission. 16360243beSMatthias Ringwald * 4. Any redistribution, use, or modification is done solely for 17360243beSMatthias Ringwald * personal benefit and not for any commercial purpose or for 18360243beSMatthias Ringwald * monetary gain. 19360243beSMatthias Ringwald * 20360243beSMatthias Ringwald * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS 21360243beSMatthias Ringwald * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22360243beSMatthias 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, 25360243beSMatthias Ringwald * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 26360243beSMatthias Ringwald * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 27360243beSMatthias Ringwald * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 28360243beSMatthias Ringwald * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 29360243beSMatthias Ringwald * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 30360243beSMatthias Ringwald * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31360243beSMatthias Ringwald * SUCH DAMAGE. 32360243beSMatthias Ringwald * 33360243beSMatthias Ringwald * Please inquire about commercial licensing options at 34360243beSMatthias Ringwald * [email protected] 35360243beSMatthias Ringwald * 36360243beSMatthias Ringwald */ 37360243beSMatthias Ringwald 38360243beSMatthias Ringwald /* 39360243beSMatthias Ringwald * btstack_chipset_zephyr.c 40360243beSMatthias Ringwald * 41360243beSMatthias Ringwald * Adapter to use Zephyr-based Bluetooth Controllers with BTstack 42360243beSMatthias Ringwald */ 43360243beSMatthias Ringwald 4480e33422SMatthias Ringwald #ifndef BTSTACK_CHIPSET_ZEPHYR_H 4580e33422SMatthias Ringwald #define BTSTACK_CHIPSET_ZEPHYR_H 46360243beSMatthias Ringwald 47360243beSMatthias Ringwald #if defined __cplusplus 48360243beSMatthias Ringwald extern "C" { 49360243beSMatthias Ringwald #endif 50360243beSMatthias Ringwald 51360243beSMatthias Ringwald #include <stdint.h> 52360243beSMatthias Ringwald #include "btstack_chipset.h" 53360243beSMatthias Ringwald #include "bluetooth.h" 54360243beSMatthias Ringwald 55360243beSMatthias Ringwald /** 56360243beSMatthias Ringwald * Get chipset instance for Zephyr Controllers 57360243beSMatthias Ringwald */ 58360243beSMatthias Ringwald const btstack_chipset_t * btstack_chipset_zephyr_instance(void); 59360243beSMatthias Ringwald 60360243beSMatthias Ringwald #if defined __cplusplus 61360243beSMatthias Ringwald } 62360243beSMatthias Ringwald #endif 63360243beSMatthias Ringwald 6480e33422SMatthias Ringwald #endif // BTSTACK_CHIPSET_ZEPHYR_H 65