Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Data Queries » Shared Functions » SCC_GetFaultNotification

SCC_GetFaultNotification

Valid for:  CANoe DE •  CANoe4SW DE

Function Syntax

long SCC_GetFaultNotification ( char FaultCode[], char FaultMsg[] )

Description

Gets the fault code and fault message (optional) of the V2G message header.

Parameters

  • FaultCode: Queries the fault code according to the specification (to the given char buffer).
  • FaultMsg: Queries the fault message string.

Return Values

  • 0: If no fault code is contained in the V2G header.
  • 1: If a fault code is contained in the V2G header. In this case, fault code and optionally fault message are copied to the output buffers. Missing fault message results in an empty string.

Example