Skip to main content
J1939ILOnChangedState CAPL Functions » J1939 » J1939 IL » J1939ILOnChangedState

J1939ILOnChangedState (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void J1939ILOnChangedState( long state )

Description

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

Parameters

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

Return Values

Example

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