Skip to main content
Open topic with navigation

SCC_GetStateName

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » General Functions » Shared Functions » SCC_GetStateName Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void SCC_GetStateName ( dword State, char Buffer[], int BufferLength )

Description

Gets a string representation of a state enum value obtained with SCC_StateTransitionInd.

Parameters

  • State: State enum to be translated.
  • Buffer: Queries the string representation (to the given char buffer).
  • BufferLength: Size of the output buffer.

Return Values

Example