Skip to main content

C2xTestJoinSignalMatch

Valid for: CANoe DE

Function Syntax

  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, int64 tokenValue) // form 1
  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, int64 tokenValue, char* stationName) // form 2
  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, long dataSize, byte* data) // form 3
  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, long dataSize, byte* data, char* stationName) // form 4
  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, char* namedBit, long tokenValue) // form 5
  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, char* namedBit, long tokenValue, char* stationName) // form 6
  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, long bitPosition, long tokenValue) // form 7
  • long C2xTestJoinSignalMatch (char* protocolDesignator, char* tokenDesignator, long bitPosition, long tokenValue, char* stationName) // form 8

Description

Completes the current set of joined events with the transmitted event. This function does not wait.

Parameters

  • protocolDesignator: Protocol designator of the Car2x message that should be awaited.
  • tokenDesignator: Token designator of the Car2x message that should be awaited.
  • tokenValue: Token value that should be awaited.
  • dataSize: Length of the token data that should be awaited in bytes.
  • data: Token data that should be awaited.
  • namedBit: Name of a bit in a bitstring that should be awaited.
  • bitPosition: Position of a bit in a bitstring that should be awaited. The first bit has the bit position 0.
  • stationName: Name of the sender station of the Car2x message that should be awaited.

Return Values

  • -1: General error, for example, functionality is not available.
  • >0: Number of the joined event.

Example

C2xTestWaitForSignalInRange | C2xTestWaitForSignalMatch | C2xTestJoinSignalInRange