Skip to main content

coTfsLssSendConfigureNodeIdResponse (Level 2)

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE

Function Syntax

long coTfsLssSendConfigureNodeIdResponse( dword errorCode, dword specificError );

Description

This function sends the LSS configure node-ID response.

Parameters

  • errorCode
    Error code.
    • 0 - protocol successfully completed
    • 1 - node-ID out of range
    • 255 - implementation specific error occurred
  • specificError
    Manufacturer specific error (used if error code = 255).

Return Values

Error code

Example

/* send LSS configure nodeID response */

if (coTfsLssSendConfigureNodeIdResponse( 0, 0 ) != 1) {
  /* message could not be sent */
}