xref: /btstack/src/ble/le_device_db_tlv.h (revision 2fca4dad957cd7b88f4657ed51e89c12615dda72)
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
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,
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 
38fe5a6c4eSMilanka Ringwald /**
39fe5a6c4eSMilanka Ringwald  * @title Device Database TLV
40fe5a6c4eSMilanka Ringwald  *
41fe5a6c4eSMilanka Ringwald  */
42fe5a6c4eSMilanka Ringwald 
4380e33422SMatthias Ringwald #ifndef LE_DEVICE_DB_TLV_H
4480e33422SMatthias Ringwald #define LE_DEVICE_DB_TLV_H
451f5ff433SMatthias Ringwald 
461f5ff433SMatthias Ringwald #include "btstack_util.h"
471f5ff433SMatthias Ringwald #include "btstack_tlv.h"
481f5ff433SMatthias Ringwald 
491f5ff433SMatthias Ringwald #if defined __cplusplus
501f5ff433SMatthias Ringwald extern "C" {
511f5ff433SMatthias Ringwald #endif
521f5ff433SMatthias Ringwald 
531f5ff433SMatthias Ringwald /* API_START */
541f5ff433SMatthias Ringwald 
551f5ff433SMatthias Ringwald /**
561f5ff433SMatthias Ringwald  * @brief configure le device db for use with btstack tlv instance
571f5ff433SMatthias Ringwald  * @param btstack_tlv_impl to use
581f5ff433SMatthias Ringwald  * @param btstack_tlv_context
591f5ff433SMatthias Ringwald  */
601f5ff433SMatthias Ringwald 
611f5ff433SMatthias Ringwald void le_device_db_tlv_configure(const btstack_tlv_t * btstack_tlv_impl, void * btstack_tlv_context);
621f5ff433SMatthias Ringwald 
631f5ff433SMatthias Ringwald /* API_END */
641f5ff433SMatthias Ringwald 
651f5ff433SMatthias Ringwald #if defined __cplusplus
661f5ff433SMatthias Ringwald }
671f5ff433SMatthias Ringwald #endif
681f5ff433SMatthias Ringwald 
6980e33422SMatthias Ringwald #endif // LE_DEVICE_DB_TLV_H
70