Skip to main content

coTfsSDOInit (Level 1)

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

This function sends an initialization message for The protocol is described in detail in DS-301.

Parameters

  • index: Object index
  • subIndex: Object subindex
  • ccs (client command specifier):
    • 1: download
    • 2: upload, other values can cause unexpected behavior
  • expedited:
    • 0: normal transfer
    • 1: expedited transfer
  • sizeIndicated:
    • 0: size unknown
    • 1: size known (recommended value)
  • notUsed: Number of data bytes that contain no reference data.
  • inValueBuf[]: Data field, at least 4 bytes large reference data assigned.
  • valueBufSize: Buffer size in byte of inValueBuf.

Return Values

Error code

Example

Used Constants