Skip to main content

J1939GetWSMaster

CAPL Functions » J1939 » J1939 NL » J1939GetWSMaster Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword J1939GetWSMaster(char busName[], dword ecuAddress)

Description

This function returns the address of the Working Set Master, which is assigned to an ECU with the address ecuAddress.

Parameters

  • busName: name of the bus
  • ecuAddress: address of an ECU

Return Values

Address of the Working Set Master

Example

wsmAddr = J1939GetWSMaster("default", 10);