Skip to main content

coTfsLssWaitForStoreConfigurationRequest (Level 2)

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

Function Syntax

long coTfsLssWaitForStoreConfigurationRequest( dword errorCode, dword specificError );

Description

This function waits for the LSS store configuration request and sends the response.

Parameters

  • errorCode
    Error code.
    • 0 - protocol successfully completed
    • 1 - store configuration not supported
    • 2 - storage media access error
    • 255 - implementation specific error occurred
  • specificError
    Manufacturer specific error (used if error code = 255).

Return Values

Error code

Example

/* waits for LSS store configuration request */
if (coTfsLssWaitForStoreConfigurationRequest( 0, 0) == 1) {
  /* received LSS store configuration request, sent response with error code and specific error = 0 */
}