Skip to main content
Open topic with navigation

SCC_SLAC_GetReservedField

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » SLAC Data Queries » Shared Functions » SCC_SLAC_GetReservedField Valid for:  CANoe DE •  CANoe4SW DE Note

Function Syntax

long SCC_SLAC_GetReservedField ( dword Index, byte Data[], dword& DataSize )

Description

Gets one of the reserved fields of the message. For a valid message, these fields must contain only zeroes.

Parameters

  • Index: Number of the reserved field (0 or 1).
  • Data: Queries the field (to the given byte buffer).
  • DataSize: Gets the byte length of the returned data (via reference).

Return Values

  • 0: If the field could not be retrieved.
  • 1: otherwise

Example