Skip to content
Commit 51a9e6f5 authored by Robert Lubos's avatar Robert Lubos Committed by Jukka Rissanen
Browse files

net: openthread: Do not overwrite stored dataset with defaults



This commit prevents a situation when stored and possibly modified
commissioner dataset is overwritten with default configuration during
OpenThread initialization.

It introduces a new function, openthread_start, which verifies if the
dataset is already stored, and if not, depending on configuration,
preloads the default configuration or initiates the join procedure.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent ee442c2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment