xref: /btstack/src/btstack_tlv_none.h (revision 2fca4dad957cd7b88f4657ed51e89c12615dda72)
1454952e5SMatthias Ringwald /*
2454952e5SMatthias Ringwald  * Copyright (C) 2017 BlueKitchen GmbH
3454952e5SMatthias Ringwald  *
4454952e5SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5454952e5SMatthias Ringwald  * modification, are permitted provided that the following conditions
6454952e5SMatthias Ringwald  * are met:
7454952e5SMatthias Ringwald  *
8454952e5SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9454952e5SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10454952e5SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11454952e5SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12454952e5SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13454952e5SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14454952e5SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15454952e5SMatthias Ringwald  *    from this software without specific prior written permission.
16454952e5SMatthias Ringwald  *
17*2fca4dadSMilanka Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
18454952e5SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19454952e5SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20*2fca4dadSMilanka Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN
21*2fca4dadSMilanka Ringwald  * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22454952e5SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23454952e5SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
24454952e5SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25454952e5SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26454952e5SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27454952e5SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28454952e5SMatthias Ringwald  * SUCH DAMAGE.
29454952e5SMatthias Ringwald  *
30454952e5SMatthias Ringwald  */
31454952e5SMatthias Ringwald 
32fe5a6c4eSMilanka Ringwald /**
33fe5a6c4eSMilanka Ringwald  * @title Empty TLV Instance
34454952e5SMatthias Ringwald  *
35454952e5SMatthias Ringwald  * Empty implementation for BTstack's Tag Value Length Persistent Storage implementations
36454952e5SMatthias Ringwald  * No keys are stored. Can be used as placeholder during porting to new platform.
37454952e5SMatthias Ringwald  */
38454952e5SMatthias Ringwald 
39454952e5SMatthias Ringwald #ifndef BTSTACK_TLV_NONE_H
40454952e5SMatthias Ringwald #define BTSTACK_TLV_NONE_H
41454952e5SMatthias Ringwald 
42454952e5SMatthias Ringwald #include <stdint.h>
43454952e5SMatthias Ringwald #include "btstack_tlv.h"
44454952e5SMatthias Ringwald 
45454952e5SMatthias Ringwald #if defined __cplusplus
46454952e5SMatthias Ringwald extern "C" {
47454952e5SMatthias Ringwald #endif
48454952e5SMatthias Ringwald 
49fe5a6c4eSMilanka Ringwald /* API_START */
50fe5a6c4eSMilanka Ringwald 
51454952e5SMatthias Ringwald /**
52454952e5SMatthias Ringwald  * Init Tag Length Value Store
53454952e5SMatthias Ringwald  * @param context btstack_tlv_none_t
54454952e5SMatthias Ringwald  * @param hal_flash_bank_impl    of hal_flash_bank interface
55454952e5SMatthias Ringwald  * @Param hal_flash_bank_context of hal_flash_bank_interface
56454952e5SMatthias Ringwald  */
57454952e5SMatthias Ringwald const btstack_tlv_t * btstack_tlv_none_init_instance(void);
58454952e5SMatthias Ringwald 
59fe5a6c4eSMilanka Ringwald /* API_END */
60fe5a6c4eSMilanka Ringwald 
61454952e5SMatthias Ringwald #if defined __cplusplus
62454952e5SMatthias Ringwald }
63454952e5SMatthias Ringwald #endif
64454952e5SMatthias Ringwald #endif // BTSTACK_TLV_NONE_H
65