[][src]Function openthread_sys::otDatasetGetActive

pub unsafe extern "C" fn otDatasetGetActive(
    aInstance: *mut otInstance,
    aDataset: *mut otOperationalDataset
) -> otError

This function gets the Active Operational Dataset.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aDataset A pointer to where the Active Operational Dataset will be placed.

@retval OT_ERROR_NONE Successfully retrieved the Active Operational Dataset. @retval OT_ERROR_INVALID_ARGS @p aDataset was NULL.