ot::MeshCoP::DatasetManager::Read() const method
Retrieves the dataset from non-volatile memory.
Arguments
aDataset
Where to place the dataset.
Return value
kErrorNone Successfully retrieved the dataset. kErrorNotFound There is no corresponding dataset stored in non-volatile memory.