Skip to main content
Open topic with navigation

SCC_LinkStatusChangeInd

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » Shared Callback Functions » SCC_LinkStatusChangeInd Valid for:  CANoe DE • CANoe4SW DE Note: The link status can also be changed manually using SCC_SLAC_SetLinkStatus.

Function Syntax

void SCC_LinkStatusChangeInd ( dword OldStatus, dword NewStatus )

Description

The callback is called each time the internally stored link status changes. To use this callback, the XML-parameter <SLAC_ChipMACAddress> must either be set to the correct value or removed. Otherwise, the polling message is ignored. Note: It is recommended to use VS_Host_Action.Ind as described in SCC_Generic_VS_HostMessage_Ind instead of link status polling.

Parameters

  • OldStatus: Previous link status (0 = no link, 1 = link, 2 = unknown).
  • NewStatus: New link status (0 = no link, 1 = link, 2 = unknown).

Return Values

Example