xref: /btstack/src/btstack_tlv_none.h (revision 454952e5888e78d09bbe223c79034b390221d52d)
1*454952e5SMatthias Ringwald /*
2*454952e5SMatthias Ringwald  * Copyright (C) 2017 BlueKitchen GmbH
3*454952e5SMatthias Ringwald  *
4*454952e5SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5*454952e5SMatthias Ringwald  * modification, are permitted provided that the following conditions
6*454952e5SMatthias Ringwald  * are met:
7*454952e5SMatthias Ringwald  *
8*454952e5SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9*454952e5SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10*454952e5SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11*454952e5SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12*454952e5SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13*454952e5SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14*454952e5SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15*454952e5SMatthias Ringwald  *    from this software without specific prior written permission.
16*454952e5SMatthias Ringwald  *
17*454952e5SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY MATTHIAS RINGWALD AND CONTRIBUTORS
18*454952e5SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19*454952e5SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20*454952e5SMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS
21*454952e5SMatthias Ringwald  * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22*454952e5SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23*454952e5SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
24*454952e5SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25*454952e5SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26*454952e5SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27*454952e5SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28*454952e5SMatthias Ringwald  * SUCH DAMAGE.
29*454952e5SMatthias Ringwald  *
30*454952e5SMatthias Ringwald  */
31*454952e5SMatthias Ringwald 
32*454952e5SMatthias Ringwald /*
33*454952e5SMatthias Ringwald  *  btstack_tlv_none.h
34*454952e5SMatthias Ringwald  *
35*454952e5SMatthias Ringwald  *  Empty implementation for BTstack's Tag Value Length Persistent Storage implementations
36*454952e5SMatthias Ringwald  *  No keys are stored. Can be used as placeholder during porting to new platform.
37*454952e5SMatthias Ringwald  */
38*454952e5SMatthias Ringwald 
39*454952e5SMatthias Ringwald #ifndef BTSTACK_TLV_NONE_H
40*454952e5SMatthias Ringwald #define BTSTACK_TLV_NONE_H
41*454952e5SMatthias Ringwald 
42*454952e5SMatthias Ringwald #include <stdint.h>
43*454952e5SMatthias Ringwald #include "btstack_tlv.h"
44*454952e5SMatthias Ringwald 
45*454952e5SMatthias Ringwald #if defined __cplusplus
46*454952e5SMatthias Ringwald extern "C" {
47*454952e5SMatthias Ringwald #endif
48*454952e5SMatthias Ringwald 
49*454952e5SMatthias Ringwald /**
50*454952e5SMatthias Ringwald  * Init Tag Length Value Store
51*454952e5SMatthias Ringwald  * @param context btstack_tlv_none_t
52*454952e5SMatthias Ringwald  * @param hal_flash_bank_impl    of hal_flash_bank interface
53*454952e5SMatthias Ringwald  * @Param hal_flash_bank_context of hal_flash_bank_interface
54*454952e5SMatthias Ringwald  */
55*454952e5SMatthias Ringwald const btstack_tlv_t * btstack_tlv_none_init_instance(void);
56*454952e5SMatthias Ringwald 
57*454952e5SMatthias Ringwald #if defined __cplusplus
58*454952e5SMatthias Ringwald }
59*454952e5SMatthias Ringwald #endif
60*454952e5SMatthias Ringwald #endif // BTSTACK_TLV_NONE_H
61