Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » SLAC Simulation » EVSE Functions » SCC_SLAC_SetAttenuation

SCC_SLAC_SetAttenuation

Valid for: CANoe DE: CANoe DE • CANoe4SW DE

Function Syntax

long SCC_SLAC_SetAttenuation(float AttenuationMean, float AttenuationDev)

Description

Changes the probability distribution used to create attenuation characteristics when simulating a HomePlug Green PHY chip. The values apply to all SLAC sessions, yet may be set each time an M-Sound is received using the indication SCC_CM_MNBC_Sound_Ind.

Parameters

  • AttenuationMean: Attenuation Mean Value in dB.
  • AttenuationDev: Standard deviation of the distribution in dB.

Return Values

  • 0: Not successful
  • 1: Successful

Example