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

SCC_SLAC_GetCMSetKeyCnfData

Valid for: CANoe DE • CANoe4SW DE

Note

  • This function can be called only within the assigned callback. The function is used to query the details of a request.
  • <InvalidValueSigned> and/or <InvalidValueUnsigned> can be defined in the XML configuration.

Function Syntax

void SLAC_GetCMSetKeyCnfData ( dword& MyNonce, dword& YourNonce, dword& PID, dword& PRN, dword& PMN, dword& CCOCapability )

Description

Gets the additional parameters of a CM_Set_Key.Cnf message, all at once, via references.

Parameters

  • MyNonce: Gets the random number that will be used to verify next message (usually 0) (via reference).
  • YourNonce: Gets the last nonce received; used to verify this message (usually 0) (via reference).
  • PID: Gets the protocol (usually 0x04) (via reference).
  • PRN: Gets the protocol Run Number (usually 0) (via reference).
  • PMN: Gets the protocol Message Number (usually 0) (via reference).
  • CCOCapability: Gets the STA’s CCo capability (usually 0) (via reference).

Return Values

Example