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

SCC_CreateCM_Start_Atten_Char_Ind

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void SCC_CreateCM_Start_Atten_Char_Ind 
( byte RunId[], byte SourceMac[], 
byte TargetMac[], dword NumSounds, 
dword TimeOut, byte ForwardingSTA[] )

Description

Creates a CM_Start_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.
  • NumSounds: Number of M-Sounds transmitted during the SLAC process.
  • TimeOut: Timeout for transmission of M-Sounds in multiples of 100ms.
  • ForwardingSTA: MAC address where the measurement results shall be sent to.

Additional Parameters

  1. ApplicationType (dword)
    • 0x00 = PEV-EVSE Association
    • 0x01-0xFF = Reserved
  2. SecurityType (dword)
    • 0x00 = No Security
    • 0x01 = Public Key Signature
    • 0x02-0xFF = Reserved
  3. RespType (dword)
    • 0x00 = HLE of the STA
    • 0x01 = Another GP STA
    • 0x02-0xFF = Reserved

Return Values

Example