Skip to main content
Open topic with navigation

SCC_CreateGenericVS_VersionQuery_Req

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » SLAC Test Functions » Shared Functions » SCC_CreateGenericVS_VersionQuery_Req

Tool Availability

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

long SCC_CreateGenericVS_VersionQuery_Req(byte SourceMac[], byte TargetMac[], byte OUI[]);

Description

Creates a VS_Get_Version.Req or equivalent message depending on the provided vendor OUI. The vendor OUI can be queried with the function SCC_SLAC_GetOUI. The respective confirmation message will trigger the SCC_Generic_VS_VersionQuery_Cnf callback. Currently supported OUIs:
  • Qualcomm (0x00B052)
  • MStar, MediaTek and Vertexcom (0x0013D7)
  • Lumissil (0x0016E8)

Parameters

  • SourceMac: MAC address of the sender.
  • TargetMac: MAC address of the receiver.
  • OUI: Vendor OUI of the chip, used to create the correct message for this type of chip.

Return Values

  • 1: If successful.
  • 0: Else (message cannot be sent).

Example