Skip to main content
Open topic with navigation

SCC_LoadCommunicationConfig

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

Note

  • The charge point DLL uses the <EVSEConfiguration> XML elements, and the vehicle DLL the <PEVConfiguration> elements. The two configuration types can be numbered independently.
  • Using SCC_LoadV2GConfig(), the charge point may react on the requested schema, by supplying e.g. different types of tariff tables and service lists.

Function Syntax

long SCC_LoadCommunicationConfig ( long ConfigID )

Description

Loads the section within the XML configuration file designated with configID. If SCC_LoadCommunicationConfig has not yet been called when the simulation starts, section 0 is loaded automatically. The function SCC_LoadCommunicationConfig loads the configuration globally, i.e. for all connections to be created. This call is only possible when simulation is deactivated. The function SCC_LoadV2GConfig loads the configuration for an already active connection, applying only those parameters relevant to an individual connection. This function can only be used within a callback; the configuration is then applied to the connection that has triggered the callback.

Parameters

  • ConfigID: ID of desired configuration section.

Return Values

  • 0: Not successful
  • 1: Successful

Example