Skip to main content

C2xProtocolAnalyzerGetRuleList

Valid for CANoe DE

Function Syntax

Description

This function copies the multiline text representation of the Car2x Protocol Analyzer rules to the variable specified by buffer function parameter. The [x] and [ ] symbols before each single rule or rule group name represent the active status. The [o] symbol before a rule group means partially active, at least one rule in this rule group was deactivated.

Parameters

  • bufferSize: Maximum number of bytes to be copied.
  • buffer: Buffer in which the multiline text representation of the Car2x Protocol Analyzer rules is copied.

Return Values

  • 0: Success
  • < 0: Error, target buffer too small or error occurred during copying the Protocol Analyzer rules.

Example