pub unsafe extern "C" fn otThreadSetDomainName(
aInstance: *mut otInstance,
aDomainName: *const c_char,
) -> otError
Expand description
Sets the Thread Domain Name. Only succeeds when Thread protocols are disabled.
@note Available since Thread 1.2.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDomainName A pointer to the Thread Domain Name.
@retval OT_ERROR_NONE Successfully set the Thread Domain Name. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.
@sa otThreadGetDomainName