[][src]Function openthread_sys::otInstanceInitSingle

pub unsafe extern "C" fn otInstanceInitSingle() -> *mut otInstance

This function initializes the static single instance of the OpenThread library.

This function initializes OpenThread and prepares it for subsequent OpenThread API calls. This function must be called before any other calls to OpenThread.

This function is available and can only be used when support for multiple OpenThread instances is disabled.

@returns A pointer to the single OpenThread instance.