1 /*
2  * Copyright (c) 2018 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef __SETTINGS_H
8 #define __SETTINGS_H
9 
10 void bt_mesh_store_net(void);
11 void bt_mesh_store_iv(bool only_duration);
12 void bt_mesh_store_seq(void);
13 void bt_mesh_store_rpl(struct bt_mesh_rpl *rpl);
14 void bt_mesh_clear_node_rpl(uint16_t addr);
15 void bt_mesh_clear_all_node_rpl();
16 void bt_mesh_store_subnet(struct bt_mesh_subnet *sub, bool p_key);
17 void bt_mesh_store_app_key(struct bt_mesh_app_key *key, bool p_key);
18 void bt_mesh_store_hb_pub(void);
19 void bt_mesh_store_cfg(void);
20 void bt_mesh_store_mod_bind(struct bt_mesh_model *mod);
21 void bt_mesh_store_mod_sub(struct bt_mesh_model *mod);
22 void bt_mesh_store_mod_pub(struct bt_mesh_model *mod);
23 
24 void bt_mesh_clear_net(void);
25 void bt_mesh_clear_subnet(struct bt_mesh_subnet *sub, bool p_key);
26 void bt_mesh_clear_app_key(struct bt_mesh_app_key *key, bool p_key);
27 void bt_mesh_clear_rpl(void);
28 
29 void bt_mesh_settings_init(void);
30 void bt_mesh_clear_mesh_node(int node_index);
31 void bt_mesh_store_mesh_node(int node_index);
32 
33 #endif
34 
35