Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » Shared Callback Functions » SCC_InvalidMessageInd

SCC_InvalidMessageInd

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

void SCC_InvalidMessageInd ( long MessageType, long ErrorCode )

Description

The callback is called when a SDP or V2G message is received with an invalid content (i.e. it is rejected by the session layer).

Parameters

  • MessageType: Type of the invalid message:
    • 0: SDP (SECC Discovery Protocol)
    • 1: V2G (Vehicle2Grid)
  • ErrorCode: Type of error:
    • 0: Wrong version number, or version number format
    • 1: Unknown payload type
    • 2: Invalid payload length
    • 3: Error while decoding (EXI or XML parsing failed) – V2G only
    • 4: Invalid signature – V2G only

Return Values

Example