Skip to main content

coTfsSDOBlockInit (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 starts a SDO block download or SDO block upload and waits for the corresponding response.

Parameters

  • index: Object index
  • subIndex: Object subindex
  • ccs (client command specifier):
    • 6 = download
    • 5 = upload, other values can cause unexpected behavior
  • cs:
    • 0 = upload/download request
    • 3 = start upload
  • crcSupported:
    • 0 = client supports no CRC check
    • 1 = client supports CRC check
  • sizeIndicated:
    • 0 = size unknown
    • 1 = size known (recommended value)
  • blkSize: Number of segments per block (0 < blkSize < 128).
  • size: Size of the data transmission in bytes.
  • threshold:
    • 0 - blocksize is static during the data transfer (recommended)
    • 1 - blocksize can be changed

Return Values

Error code

Example

Used Constants