Skip to main content
Open topic with navigation CAPL Functions » LIN » linGetOEMSleepInd

linGetOEMSleepInd

Valid for: CANoe DE • CANoe4SW DE Note
This function can be used for OEM specific variant of LIN protocol only.

Function Syntax

long linGetOEMSleepInd(); // form 1
long linGetOEMSleepInd(char slaveName[]); // form 2

Description

With this function it’s possible to query the sleep indication bit of a Slave node. Without parameter, the sleep indication bit of the calling slave is returned or zero if the caller is not a slave.

Parameters

  • slaveName: Name of the queried Slave node as specified in the database.

Return Values

  • -1: Function call not allowed, execution failed or invalid slave name given.
  • 0: Queried sleep indication bit is not set.
  • >0: Queried sleep indication bit is set.

Example

linCheckOEMSleepIndlinSetOEMSleepInd