1. BLE Mesh Core * Provisioning: Node Role * PB-ADV and PB-GATT * Authentication OOB * Provisioning: Provisioner Role * PB-ADV and PB-GATT * Authentication OOB * Networking * Relay * Segmentation and Reassembly * Key Refresh * IV Update * Proxy Support * Multiple Client Models Run Simultaneously * Support multiple client models send packets to different nodes simultaneously * No blocking between client model and server * NVS Storage * Store BLE Mesh node related information in flash * Store BLE Mesh Provisioner related information in flash 2. BLE Mesh Models * Foundation Models * Configuration Server Model * Configuration Client Model * Health Server Model * Health Client Model * Generic * Generic OnOff Server * Generic OnOff Client * Generic Level Server * Generic Level Client * Generic Default Transition Time Server * Generic Default Transition Time Client * Generic Power OnOff Server * Generic Power OnOff Setup Server * Generic Power OnOff Client * Generic Power Level Server * Generic Power Level Setup Server * Generic Power Level Client * Generic Battery Server * Generic Battery Client * Generic Location Server * Generic Location Setup Server * Generic Location Client * Generic Admin Property Server * Generic Manufacturer Property Server * Generic User Property Server * Generic Client Property Server * Generic Property Client * Sensor Server Model * Sensor Server * Sensor Setup Server * Sensor Client * Time and Scenes * Time Server * Time Setup Server * Time Client * Scene Server * Scene Setup Server * Scene Client * Scheduler Server * Scheduler Setup Server * Scheduler Client * Lighting * Light Lightness Server * Light Lightness Setup Server * Light Lightness Client * Light CTL Server * Light CTL Setup Server * Light CTL Client * Light CTL Temperature Server * Light HSL Server * Light HSL Setup Server * Light HSL Client * Light HSL Hue Server * Light HSL Saturation Server * Light xyL Server * Light xyL Setup Server * Light xyL Client * Light LC Server * Light LC Setup Server * Light LC Client 3. BLE Mesh Applications * BLE Mesh Node * OnOff Client Example * OnOff Server Example * BLE Mesh Provisioner * Example * Fast Provisioning * Vendor Fast Prov Server Model * Vendor Fast Prov Client Model * Examples * Wi-Fi & BLE Mesh Coexistence * Example * BLE Mesh Console Commands * Examples
61 lines
2 KiB
C
61 lines
2 KiB
C
/*
|
|
* Copyright (c) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _SETTINGS_H_
|
|
#define _SETTINGS_H_
|
|
|
|
#include "net.h"
|
|
#include "provisioner_main.h"
|
|
|
|
int settings_core_init(void);
|
|
int settings_core_load(void);
|
|
int settings_core_commit(void);
|
|
int settings_core_deinit(void);
|
|
|
|
void bt_mesh_store_role(void);
|
|
void bt_mesh_store_net(void);
|
|
void bt_mesh_store_iv(bool only_duration);
|
|
void bt_mesh_clear_iv(void);
|
|
void bt_mesh_store_seq(void);
|
|
void bt_mesh_clear_seq(void);
|
|
void bt_mesh_store_rpl(struct bt_mesh_rpl *rpl);
|
|
void bt_mesh_store_subnet(struct bt_mesh_subnet *sub);
|
|
void bt_mesh_store_app_key(struct bt_mesh_app_key *key);
|
|
void bt_mesh_store_hb_pub(void);
|
|
void bt_mesh_store_cfg(void);
|
|
void bt_mesh_store_mod_bind(struct bt_mesh_model *mod);
|
|
void bt_mesh_store_mod_sub(struct bt_mesh_model *mod);
|
|
void bt_mesh_store_mod_pub(struct bt_mesh_model *mod);
|
|
void bt_mesh_store_label(void);
|
|
|
|
void bt_mesh_clear_role(void);
|
|
void bt_mesh_clear_net(void);
|
|
void bt_mesh_clear_subnet(struct bt_mesh_subnet *sub);
|
|
void bt_mesh_clear_app_key(struct bt_mesh_app_key *key);
|
|
void bt_mesh_clear_rpl(void);
|
|
|
|
#if CONFIG_BLE_MESH_PROVISIONER
|
|
void bt_mesh_store_prov_info(u16_t primary_addr, u16_t alloc_addr);
|
|
void bt_mesh_clear_prov_info(void);
|
|
void bt_mesh_store_p_net_idx(void);
|
|
void bt_mesh_clear_p_net_idx(void);
|
|
void bt_mesh_store_p_app_idx(void);
|
|
void bt_mesh_clear_p_app_idx(void);
|
|
void bt_mesh_store_p_subnet(struct bt_mesh_subnet *sub);
|
|
void bt_mesh_store_p_app_key(struct bt_mesh_app_key *key);
|
|
void bt_mesh_clear_p_subnet(struct bt_mesh_subnet *sub);
|
|
void bt_mesh_clear_p_app_key(struct bt_mesh_app_key *key);
|
|
void bt_mesh_clear_rpl_single(u16_t src);
|
|
void bt_mesh_store_node_info(struct bt_mesh_node *node, bool prov);
|
|
void bt_mesh_clear_node_info(u16_t unicast_addr, bool prov);
|
|
void bt_mesh_store_node_name(struct bt_mesh_node *node, bool prov);
|
|
void bt_mesh_store_node_comp_data(struct bt_mesh_node *node, bool prov);
|
|
#endif
|
|
|
|
int bt_mesh_settings_init(void);
|
|
int bt_mesh_settings_deinit(void);
|
|
|
|
#endif /* _SETTINGS_H_ */
|