coTfsODAddEntry (Level 2)
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE NoteBefore using this function you have to call coTfsSetNodeId to set the internal node ID.
Function Syntax
Description
This function adds one object to the internal list of test objects. The test module manages an internal list for all object dictionary tests. Although certain object dictionary tests do not make use of all information provided, the usage of valid data is recommended. Object entries with variable object length are supported too if the data length supplied equals 0. In this case value checks are not performed. The value mask is assumed to be open. This function does not provide a stand-alone test. Instead it shall be used as a preparation for the test sequence functions coTfsODChk and coTfsODChkNotExist. It may be possible, that the valid data range cannot be described using just one value. Therefore it is possible to add additional values using coTfsODAddOptEntryValue. coTfsODAddOptEntryValueRange allows the addition of complete value ranges. It is possible to combine both. Furthermore the valid range may overlap. The compare mask flags all bits, which shall be compared.Parameters
- index: Checked object index.
- subIndex: Checked object subindex.
- accessType:
- 1: readWrite
- 2: readOnly
- 3: writeOnly
- 4: constant
- entrySize: Data size of object in bytes.
- inMaskBuf[]: Mask for data comparison, the size must be at least same as
maskBufSize.- 0: don’t care
- 1: execute comparison
- maskBufSize: Size of buffer.
- inValueBuf[]: Data for comparison, the size must be at least same as size of
valueBufSize. - valueBufSize: Size of buffer.
- mask: Mask for data comparison.
- inValue: Data for comparison.