Skip to main content

otThreadSetVendorOuiInfo

Function otThreadSetVendorOuiInfo 

Source
pub unsafe extern "C" fn otThreadSetVendorOuiInfo(
    aInstance: *mut otInstance,
    aOui: *const otThreadVendorOui,
) -> otError
Expand description

Sets the vendor OUI.

Requires OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aOui A pointer to the otThreadVendorOui to set.

@retval OT_ERROR_NONE Successfully set the vendor OUI. @retval OT_ERROR_INVALID_ARGS @p aOui has an invalid length.