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

Initializes the static single instance of the OpenThread library.

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

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

@returns A pointer to the single OpenThread instance.