Skip to main content
Open topic with navigation CAPL Functions » J1939 » GB/T 27930 IL » GBT27930IL_OnRxMessage

GBT27930IL_OnRxMessage (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long GBT27930IL_OnRxMessage( pg * rxPG )

Description

This callback function is called from the GBT27930 IL if the GBT27930 IL receives the parameter group, namely before the parameter group is processed by the GBT27930 IL. The message data can be manipulated in the callback method or handling of the message by the IL can be suppressed. Usage
  • To ignore some incoming messages.
  • To simulate faulty behavior of the node that communicates with simulated node (by manipulating of incoming messages).

Parameters

  • rxPG: message which is received

Return Values

  • 0: Received parameter group will be ignored by the J1939 Interaction Layer.
  • 1: Received parameter group will be processed by the J1939 Interaction Layer.

Example