xref: /btstack/src/ble/le_device_db_tlv.h (revision 1f5ff4332f4c310ad4e34047a8159cb271a6d064)
1*1f5ff433SMatthias Ringwald /*
2*1f5ff433SMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
3*1f5ff433SMatthias Ringwald  *
4*1f5ff433SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5*1f5ff433SMatthias Ringwald  * modification, are permitted provided that the following conditions
6*1f5ff433SMatthias Ringwald  * are met:
7*1f5ff433SMatthias Ringwald  *
8*1f5ff433SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9*1f5ff433SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10*1f5ff433SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11*1f5ff433SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12*1f5ff433SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13*1f5ff433SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14*1f5ff433SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15*1f5ff433SMatthias Ringwald  *    from this software without specific prior written permission.
16*1f5ff433SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
17*1f5ff433SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
18*1f5ff433SMatthias Ringwald  *    monetary gain.
19*1f5ff433SMatthias Ringwald  *
20*1f5ff433SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
21*1f5ff433SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*1f5ff433SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23*1f5ff433SMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS
24*1f5ff433SMatthias Ringwald  * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25*1f5ff433SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26*1f5ff433SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27*1f5ff433SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28*1f5ff433SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29*1f5ff433SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30*1f5ff433SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31*1f5ff433SMatthias Ringwald  * SUCH DAMAGE.
32*1f5ff433SMatthias Ringwald  *
33*1f5ff433SMatthias Ringwald  * Please inquire about commercial licensing options at
34*1f5ff433SMatthias Ringwald  * [email protected]
35*1f5ff433SMatthias Ringwald  *
36*1f5ff433SMatthias Ringwald  */
37*1f5ff433SMatthias Ringwald 
38*1f5ff433SMatthias Ringwald #ifndef __LE_DEVICE_DB_TLV_H
39*1f5ff433SMatthias Ringwald #define __LE_DEVICE_DB_TLV_H
40*1f5ff433SMatthias Ringwald 
41*1f5ff433SMatthias Ringwald #include "btstack_util.h"
42*1f5ff433SMatthias Ringwald #include "btstack_tlv.h"
43*1f5ff433SMatthias Ringwald 
44*1f5ff433SMatthias Ringwald #if defined __cplusplus
45*1f5ff433SMatthias Ringwald extern "C" {
46*1f5ff433SMatthias Ringwald #endif
47*1f5ff433SMatthias Ringwald 
48*1f5ff433SMatthias Ringwald /* API_START */
49*1f5ff433SMatthias Ringwald 
50*1f5ff433SMatthias Ringwald /**
51*1f5ff433SMatthias Ringwald  * @brief configure le device db for use with btstack tlv instance
52*1f5ff433SMatthias Ringwald  * @param btstack_tlv_impl to use
53*1f5ff433SMatthias Ringwald  * @param btstack_tlv_context
54*1f5ff433SMatthias Ringwald  */
55*1f5ff433SMatthias Ringwald 
56*1f5ff433SMatthias Ringwald void le_device_db_tlv_configure(const btstack_tlv_t * btstack_tlv_impl, void * btstack_tlv_context);
57*1f5ff433SMatthias Ringwald 
58*1f5ff433SMatthias Ringwald /* API_END */
59*1f5ff433SMatthias Ringwald 
60*1f5ff433SMatthias Ringwald #if defined __cplusplus
61*1f5ff433SMatthias Ringwald }
62*1f5ff433SMatthias Ringwald #endif
63*1f5ff433SMatthias Ringwald 
64*1f5ff433SMatthias Ringwald #endif // __LE_DEVICE_DB_TLV_H
65