xref: /btstack/src/ble/le_device_db_tlv.h (revision 80e33422a96c028b3a9c308fc4b9b874712dafb4)
11f5ff433SMatthias Ringwald /*
21f5ff433SMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
31f5ff433SMatthias Ringwald  *
41f5ff433SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
51f5ff433SMatthias Ringwald  * modification, are permitted provided that the following conditions
61f5ff433SMatthias Ringwald  * are met:
71f5ff433SMatthias Ringwald  *
81f5ff433SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
91f5ff433SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
101f5ff433SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
111f5ff433SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
121f5ff433SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
131f5ff433SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
141f5ff433SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
151f5ff433SMatthias Ringwald  *    from this software without specific prior written permission.
161f5ff433SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
171f5ff433SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
181f5ff433SMatthias Ringwald  *    monetary gain.
191f5ff433SMatthias Ringwald  *
201f5ff433SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
211f5ff433SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
221f5ff433SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
231f5ff433SMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS
241f5ff433SMatthias Ringwald  * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
251f5ff433SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
261f5ff433SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
271f5ff433SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
281f5ff433SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
291f5ff433SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
301f5ff433SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
311f5ff433SMatthias Ringwald  * SUCH DAMAGE.
321f5ff433SMatthias Ringwald  *
331f5ff433SMatthias Ringwald  * Please inquire about commercial licensing options at
341f5ff433SMatthias Ringwald  * [email protected]
351f5ff433SMatthias Ringwald  *
361f5ff433SMatthias Ringwald  */
371f5ff433SMatthias Ringwald 
38*80e33422SMatthias Ringwald #ifndef LE_DEVICE_DB_TLV_H
39*80e33422SMatthias Ringwald #define LE_DEVICE_DB_TLV_H
401f5ff433SMatthias Ringwald 
411f5ff433SMatthias Ringwald #include "btstack_util.h"
421f5ff433SMatthias Ringwald #include "btstack_tlv.h"
431f5ff433SMatthias Ringwald 
441f5ff433SMatthias Ringwald #if defined __cplusplus
451f5ff433SMatthias Ringwald extern "C" {
461f5ff433SMatthias Ringwald #endif
471f5ff433SMatthias Ringwald 
481f5ff433SMatthias Ringwald /* API_START */
491f5ff433SMatthias Ringwald 
501f5ff433SMatthias Ringwald /**
511f5ff433SMatthias Ringwald  * @brief configure le device db for use with btstack tlv instance
521f5ff433SMatthias Ringwald  * @param btstack_tlv_impl to use
531f5ff433SMatthias Ringwald  * @param btstack_tlv_context
541f5ff433SMatthias Ringwald  */
551f5ff433SMatthias Ringwald 
561f5ff433SMatthias Ringwald void le_device_db_tlv_configure(const btstack_tlv_t * btstack_tlv_impl, void * btstack_tlv_context);
571f5ff433SMatthias Ringwald 
581f5ff433SMatthias Ringwald /* API_END */
591f5ff433SMatthias Ringwald 
601f5ff433SMatthias Ringwald #if defined __cplusplus
611f5ff433SMatthias Ringwald }
621f5ff433SMatthias Ringwald #endif
631f5ff433SMatthias Ringwald 
64*80e33422SMatthias Ringwald #endif // LE_DEVICE_DB_TLV_H
65