pub unsafe extern "C" fn otInstanceInitMultiple(
    aIdx: u8
) -> *mut otInstance
Expand description

Initializes the OpenThread instance.

This function initializes OpenThread and prepares it for subsequent OpenThread API calls. This function must be called before any other calls to OpenThread. This method utilizes static buffer to initialize the OpenThread instance.

This function is available and can only be used when support for multiple OpenThread static instances is enabled (OPENTHREAD_CONFIG_MULTIPLE_STATIC_INSTANCE_ENABLE)

@param[in] aIdx The index of the OpenThread instance to initialize.

@returns A pointer to the new OpenThread instance.