ot::MeshCoP::DatasetManager::GetChannelMask() const method
Retrieves the channel mask from local dataset.
Arguments
aChannelMask
A reference to the channel mask.
Return value
kErrorNone Successfully retrieved the channel mask. kErrorNotFound There is no valid channel mask stored in local dataset.