openthread_sys

Function otIp6SetMeshLocalIid

Source
pub unsafe extern "C" fn otIp6SetMeshLocalIid(
    aInstance: *mut otInstance,
    aIid: *const otIp6InterfaceIdentifier,
) -> otError
Expand description

Sets the Mesh Local IID (for test purpose).

Requires OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aIid A pointer to the Mesh Local IID to set.

@retval OT_ERROR_NONE Successfully set the Mesh Local IID. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.