113e71c7bSMatthias Ringwald /* 213e71c7bSMatthias Ringwald * Copyright (C) 2014 BlueKitchen GmbH 313e71c7bSMatthias Ringwald * 413e71c7bSMatthias Ringwald * Redistribution and use in source and binary forms, with or without 513e71c7bSMatthias Ringwald * modification, are permitted provided that the following conditions 613e71c7bSMatthias Ringwald * are met: 713e71c7bSMatthias Ringwald * 813e71c7bSMatthias Ringwald * 1. Redistributions of source code must retain the above copyright 913e71c7bSMatthias Ringwald * notice, this list of conditions and the following disclaimer. 1013e71c7bSMatthias Ringwald * 2. Redistributions in binary form must reproduce the above copyright 1113e71c7bSMatthias Ringwald * notice, this list of conditions and the following disclaimer in the 1213e71c7bSMatthias Ringwald * documentation and/or other materials provided with the distribution. 1313e71c7bSMatthias Ringwald * 3. Neither the name of the copyright holders nor the names of 1413e71c7bSMatthias Ringwald * contributors may be used to endorse or promote products derived 1513e71c7bSMatthias Ringwald * from this software without specific prior written permission. 1613e71c7bSMatthias Ringwald * 4. Any redistribution, use, or modification is done solely for 1713e71c7bSMatthias Ringwald * personal benefit and not for any commercial purpose or for 1813e71c7bSMatthias Ringwald * monetary gain. 1913e71c7bSMatthias Ringwald * 2013e71c7bSMatthias Ringwald * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS 2113e71c7bSMatthias Ringwald * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2213e71c7bSMatthias 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, 2513e71c7bSMatthias Ringwald * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 2613e71c7bSMatthias Ringwald * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 2713e71c7bSMatthias Ringwald * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 2813e71c7bSMatthias Ringwald * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2913e71c7bSMatthias Ringwald * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 3013e71c7bSMatthias Ringwald * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3113e71c7bSMatthias Ringwald * SUCH DAMAGE. 3213e71c7bSMatthias Ringwald * 3313e71c7bSMatthias Ringwald * Please inquire about commercial licensing options at 3413e71c7bSMatthias Ringwald * [email protected] 3513e71c7bSMatthias Ringwald * 3613e71c7bSMatthias Ringwald */ 3713e71c7bSMatthias Ringwald 3813e71c7bSMatthias Ringwald /* 3913e71c7bSMatthias Ringwald * le_device_db_wiced_dct.c 4013e71c7bSMatthias Ringwald * 4113e71c7bSMatthias Ringwald * Persistent Link Key implemenetation for WICED using DCT mechanism 4213e71c7bSMatthias Ringwald */ 4313e71c7bSMatthias Ringwald 4480e33422SMatthias Ringwald #ifndef LE_DEVICE_DB_WICED_DCT_H 4580e33422SMatthias Ringwald #define LE_DEVICE_DB_WICED_DCT_H 4613e71c7bSMatthias Ringwald 4713e71c7bSMatthias Ringwald #if defined __cplusplus 4813e71c7bSMatthias Ringwald extern "C" { 4913e71c7bSMatthias Ringwald #endif 5013e71c7bSMatthias Ringwald 51ad1a357bSMatthias Ringwald #include <stdint.h> 52ad1a357bSMatthias Ringwald 5313e71c7bSMatthias Ringwald /* API_START */ 5413e71c7bSMatthias Ringwald 5513e71c7bSMatthias Ringwald /** 5613e71c7bSMatthias Ringwald * @brief Set start address for DCT storage 5713e71c7bSMatthias Ringwald */ 5813e71c7bSMatthias Ringwald void le_device_db_wiced_dct_set_start_address(uint32_t start_address); 5913e71c7bSMatthias Ringwald 6013e71c7bSMatthias Ringwald /* 61ad1a357bSMatthias Ringwald * @brief Get Size of LE Device DB DCT part 62ad1a357bSMatthias Ringwald */ 63ad1a357bSMatthias Ringwald int le_device_db_wiced_dct_get_storage_size(void); 64ad1a357bSMatthias Ringwald 65ad1a357bSMatthias Ringwald /* 6613e71c7bSMatthias Ringwald * @brief Delete all le device entries 6713e71c7bSMatthias Ringwald */ 6813e71c7bSMatthias Ringwald void le_device_db_wiced_dct_delete_all(void); 6913e71c7bSMatthias Ringwald 7013e71c7bSMatthias Ringwald /* API_END */ 7113e71c7bSMatthias Ringwald 7213e71c7bSMatthias Ringwald #if defined __cplusplus 7313e71c7bSMatthias Ringwald } 7413e71c7bSMatthias Ringwald #endif 7513e71c7bSMatthias Ringwald 7680e33422SMatthias Ringwald #endif // LE_DEVICE_DB_WICED_DCT_H 77