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

SCC_CreateCM_Atten_Char_Ind

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

void SCC_CreateCM_Atten_Char_Ind ( byte RunId[], 
byte SourceMac[], byte TargetMac[], 
byte SourceAddress[], dword NumSounds, 
dword NumGroups, byte AAG[] )

Description

Creates a CM_Atten_Char.Ind message for sending.

Parameters

  • RunId: Random Run Identifier of sender (8 byte).
  • SourceMac: Source address of the Ethernet packet.
  • TargetMac: Destination address of the Ethernet packet.
  • SourceAddress: MAC Address of the PEV which initiates the SLAC process.
  • NumSounds: Number of M-Sounds used to generate the ATTEN_PROFILE.
  • NumGroups: Number of attenuation groups.
  • AAG: Average Attenuation Group (array length is indicated by the parameter NumGroups).

Additional Parameters

IndexNameTypeDescription
0ApplicationTypedword0x00 = PEV-EVSE Association, 0x01-0xFF = Reserved
1SecurityTypedword0x00 = No Security, 0x01 = Public Key Signature, 0x02-0xFF = Reserved
2SourceIdbyte[]17 byte ID
3RespIdbyte[]17 byte ID

Return Values

Example