openthread_sys

Function otThreadGetNetworkKeyRef

Source
pub unsafe extern "C" fn otThreadGetNetworkKeyRef(
    aInstance: *mut otInstance,
) -> otNetworkKeyRef
Expand description

Get the otNetworkKeyRef for Thread Network Key.

Requires the build-time feature OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE to be enabled.

@param[in] aInstance A pointer to an OpenThread instance.

@returns Reference to the Thread Network Key stored in memory.

@sa otThreadSetNetworkKeyRef