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

frGwBypassStatic

Valid for: CANoe DE Note
The bypass should be deactivated within the on frPDU or on frFrame handler of the affected object (PDU, frame). The time to the next transmission is deterministic here. See example 2 below.

Function Syntax

long frGwBypassStatic (long bypass, long channel, long slotId, long baseCycle, long cycleRepetition); // form 1
long frGwBypassStatic (long bypass, long channel, long slotId, long baseCycle, long cycleRepetition, long channelMask); // form 2

Description

Activates/deactivates the automatic routing for the given slot. The function can be used during measurement. Form 2 can only be used FlexRay with dual channel gateway (AB-AB-Gateway) mode, see FlexRay gateway.

Parameters

  • bypass
    0 = Routing deactivated
    1 = Routing activated
  • channel
    Output channel of the gateway.
  • Slotid
    Slot number
  • baseCycle
    Base cycle
  • cycleRepetition
    Repetition factor
  • channelMask
    Channel mask
    Values:
    • 1: Channel A
    • 2: Channel B
    • 3: Channel A+B

Return Values

  • 0
    Error
  • 1
    OK

Example

FlexRay Gateway Mode