Open topic with navigation CAPL Functions » LIN » LINtp_InitAsMasterDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
LINtp_InitAsMaster
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Can only be called inon prestart.
Normally the LINtp implementation will detect whether it runs in the LIN master node automatically. But if the LINtp.DLL shall be able to send diagnostics request from a node that is not the master, e.g. a test module, this is not the case. The automatic detection would assume the slave role.
Calling this function in the on prestart phase will initialize the transport protocol in master role, i.e. sending of diagnostics requests on TP level is possible.