Skip to main content

coTfsSDOSegmentRequest (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 a SDO segmented download or SDO segmented upload request/response and awaits the corresponding response. The DS-301 describes the precise protocol and all parameters.

Parameters

  • ccs (client command specifier)
    • 0: download, other values can cause unexpected behavior
    • 3: upload
  • cont
    • 0: other segments will follow
    • 1: last segment
  • toggleBit
    • Value of the toggle bit (0 or 1, start with 0).
  • notUsed
    • Number of bytes that contain no reference data.
  • inValueBuf[]
    • Data field for the reference data.
  • valueBufSize
    • Buffer size in byte of inValueBuf.
  • inValue
    • Reference data

Return Values

Error code

Example

Used Constants