pub unsafe extern "C" fn otInstanceGetInstance(
aIdx: u8,
) -> *mut otInstanceExpand description
Gets the pointer to an OpenThread instance with the provided index when multiple instances are in use.
This function is available when both OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE and
OPENTHREAD_CONFIG_MULTIPLE_STATIC_INSTANCE_ENABLE are enabled.
@param[in] aIdx The index of the OpenThread instance.
@returns A pointer to the corresponding OpenThread instance, or NULL if @p aIdx is out of bounds.