Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Node Layer » Iso11783PDDOnIdentifyWorkingSet

Iso11783PDDOnIdentifyWorkingSet (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783PDDOnIdentifyWorkingSet( dword handle );

Description

The function is called by the ISO11783 node layer to determine if the node layer is responsible for sending of the Working Set Master message after the Task Controller starts to send his status messages. If this callback function is not implemented or it returns the value 1, the Working Set Master message is sent by the ISO11783 node layer. The transmitted number of Working Set members is 1. If the return value of the function is 0, the ISO11783 node layer doesn’t send the Working Set Master message. Instead, the CAPL application sends the Working Set Master message.

Parameters

  • ecuHandle: Handle of the ECU

Return Values

  • 1: Working Set Master message is sent by the ISO11783 node layer with member count 1
  • 0: Working Set Master message is sent by the CAPL application

Example

LONG Iso11783PDDOnIdentifyWorkingSet( dword handle )
{
  return 1;
}