Skip to main content
Open topic with navigation

SCC_CreateChargeParameterDiscoveryReqAC_ISO

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Test Functions » Shared Functions » SCC_CreateChargeParameterDiscoveryReqAC_ISO Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long SCC_CreateChargeParameterDiscoveryReqAC_ISO 
( byte SessionID[], char EnergyTransferType[], 
float EAmount, float MaxVoltage, 
float MaxCurrent, float MinCurrent )

Description

Creates a Charge Parameter Discovery Request message for sending, using the AC syntax.

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
  • EnergyTransferType: Desired charging mode.
  • EAmount: Desired amount of energy in Wh.
  • MaxVoltage: EVMaxVoltage
  • MaxCurrent: EVMaxCurrent
  • MinCurrent: EVMinCurrent

Optional Parameters

IndexNameTypeDescription
0MaxEntriesSAScheduleTuplelongMaximal number of entries in the SAScheduleTuple.
1DepartureTimedwordIntended time to finish the charging process, in “seconds from now”.

Return Values

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

Example