Skip to main content

coTfsODAddEntrySubIndexRange (Level 2)

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE Note: Before using this function you have to call coTfsSetNodeId to set the internal node ID.

Function Syntax

Description

The function adds several object entries to the internal list. The elements only differ in the given subindex. The default value can have a maximum size of 32 bit. The list is used by coTfsODChk and coTfsODChkNotExist.

Parameters

  • index: Index of object.
  • minSubIndex: Minimal subindex of object.
  • maxSubIndex: Maximal subindex of object.
  • accessType:
    • 1: readWrite
    • 2: readOnly
    • 3: writeOnly
    • 4: constant
  • entrySize: Data size of the object in byte.
  • inMaskBuf[]: Mask for data comparison, the size of the array must at least the same size of maskBufSize.
    • Bit=1: execute comparison
    • Bit=0: don’t care
  • maskBufSize: Size of buffer.
  • inValueBuf[]: Data for comparison, the size of the array must at least the same size of valueBufSize.
  • valueBufSize: Size of buffer.
  • mask: Mask for data comparison.
  • inValue: Data for comparison.

Return Values

Error code

Example

Used Constants