Bluetooth: Mesh: Restore default device configuration on reset
This commit fixes an issue where bt_mesh_reset() call just erases all mesh flags set at the initialization instead of restoring them and thus disabling some features until the board reboot. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
6688f70996
commit
6c9411656c
5 changed files with 7 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
void bt_mesh_cfg_init(void);
|
||||
void bt_mesh_cfg_default_set(void);
|
||||
void bt_mesh_cfg_pending_store(void);
|
||||
|
||||
bool bt_mesh_fixed_group_match(uint16_t addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue