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

SCC_StateTransitionInd

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

void SCC_StateTransitionInd ( byte SessionID[], dword OldState, dword NewState )

Description

The callback is called each time the internal state machine switches its state, i.e. usually when a new message is received. Use SCC_GetStateName for a string representation of the state IDs.

Parameters

  • SessionID: 8-byte long SessionID of SCC connection, range: 0 – 0xFF FF FF FF FF FF FF FF.
  • OldState: Enum value of previous state.
  • NewState: Enum value of new state.

Return Values

Example