Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Open topic with navigation CAPL Functions » LIN » linIsMasterNode

linIsMasterNode

Valid for: CANoe DE

Function Syntax

long linIsMasterNode();

Description

This function returns 1 if the calling node is the current LIN master node of the network given by the current bus context. This will be the node assigned to the LIN master from the LDF if linSetMasterNode has not been called before, or the node referred to by the previous call of linSetMasterNode. See SetBusContext for how to change the current bus context.

Parameters

Return Values

1 if the calling node is the current LIN master node, 0 otherwise.

Example