Skip to main content

otThreadSetVendorOui

Function otThreadSetVendorOui 

Source
pub unsafe extern "C" fn otThreadSetVendorOui(
    aInstance: *mut otInstance,
    aVendorOui: u32,
) -> otError
Expand description

Sets the vendor OUI-24.

@deprecated This function is deprecated. Use otThreadSetVendorOuiInfo() instead.

Requires OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aVendorOui The vendor OUI-24 value in Hexadecimal representation (e.g., OUI 64-16-66 is represented as 0x641666). Must be a 24-bit value.

@retval OT_ERROR_NONE Successfully set the vendor OUI. @retval OT_ERROR_INVALID_ARGS @p aVendorOui is not a valid 24-bit value.