Skip to main content
Open topic with navigation

SCC_PreSendInd

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » EVSE Callback Functions » SCC_PreSendInd Valid for: CANoe DE • CANoe4SW DE

Note

  • Only the parameters listed below can be overwritten during a PreSend indication. If any other parameter is changed, it will not be applied until the next message is sent.

Function Syntax

void SCC_PreSendInd ( byte SessionID[], dword MessageID, char ResponseCode[] )

Description

The callback is called in active mode before a response message is sent. It enables checking the message’s response code and, if desired, overwriting it with another value. Additionally, overwriting the following parameters is supported:
  • EVSEStatusCode
  • EVSEIsolationStatus

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF.
  • MessageID: Type of message to be sent.
  • ResponseCode: Response code string of the message. The list of possible response codes you find on page SCC_SetResponseCode.

Return Values

Example