Skip to main content
Open topic with navigation

Iso11783IL_OnChangedState (Callback)

CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_OnChangedState Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void Iso11783IL_OnChangedState( long state );

Description

This callback function is called from the ISO11783 IL if it has changed its state.

Parameters

  • state
    • 0: Initialized
    • 1: Claiming
    • 2: Active
    • 3: Stopped
    • 4: Suspended

Return Values

Example

void Iso11783IL_OnChangedState( LONG state )
{
  switch(state) {
    case 1: // Claiming
      break;
    case 2: // Active
      break;
    case 3: // Stopped
      break;
    case 4: // Suspended
      break;
  }
}