linSetMasterNode
CAPL Functions » LIN » linSetMasterNode Valid for: CANoe DEFunction Syntax
long linSetMasterNode(); // form 1long linSetMasterNode(long nodeId); // form 2long linSetMasterNode(char nodeNameOrTitle[]); // form 3
Description
Changes the LIN master node of the channel given by the current node’s bus context and restricts sending LIN headers solely to the assigned master node. See SetBusContext for how to change the current bus context. LIN Header’s can now be sent:- using the function linTransmitHeader,
- using output(linFrame) with linFrame.RTR=1 (legacy functions)
- using a node layer DLL
Parameters
- nodeId: This parameter specifies a node identifier, which has been returned by an earlier call to linSetMasterNode.
- nodeNameOrTitle: The database name (if assigned) or title string of a node.