Skip to main content
Open topic with navigation CAPL Functions » FlexRay » frGwBypassDynamic

frGwBypassDynamic

Valid for: CANoe DE

Function Syntax

long frGwBypassDynamic(long bypass, long channel);

Description

Activates/deactivates the automatic routing for the dynamic part. The function cannot be used during a measurement. Settings from the Network Hardware Configuration dialog are overwritten with this function.

Parameters

  • bypass:
    • 0 = Routing deactivated
    • 1 = Routing activated
  • channel: Output channel of the gateway.

Return Values

  • 0: Error
  • 1: OK

Example

...
frGwBypassDynamic(0,1)
// The gateway routing for the dynamic part will be deactivated 
// for the gateway that uses channel 1.
...
FlexRay Gateway Mode