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

linGetOEMWakeupInd

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

Function Syntax

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

Description

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

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 wake-up indication bit is not set.
  • >0
    Queried wake-up indication bit is set.

Example

linCheckOEMWakeupIndlinSetOEMWakeupInd