pub unsafe extern "C" fn otThreadSetPskc(
aInstance: *mut otInstance,
aPskc: *const otPskc,
) -> otError
Expand description
Set the Thread PSKc
Will only succeed when Thread protocols are disabled. A successful call to this function will also invalidate the Active and Pending Operational Datasets in non-volatile memory.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aPskc A pointer to the new Thread PSKc.
@retval OT_ERROR_NONE Successfully set the Thread PSKc. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.
@sa otThreadGetPskc