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