pub unsafe extern "C" fn otDatasetCreateNewNetwork(
aInstance: *mut otInstance,
aDataset: *mut otOperationalDataset,
) -> otError
Expand description
For FTD only, creates a new Operational Dataset to use when forming a new network.
@param[in] aInstance A pointer to an OpenThread instance. @param[out] aDataset The Operational Dataset.
@retval OT_ERROR_NONE Successfully created a new Operational Dataset. @retval OT_ERROR_FAILED Failed to generate random values for new parameters.