Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » File Server Interaction Layer (FS IL) » FSIL_OnChangedState

FSIL_OnChangedState (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void FSIL_OnChangedState( long state );

Description

Is called from the FS IL if it has changed its state.

Parameters

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

Return Values

Example

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