Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_TIMRestartAuthentication

Iso11783IL_TIMRestartAuthentication

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_TIMRestartAuthentication(dbNode server); // form 1
  • long Iso11783IL_TIMRestartAuthentication(byte serverAddress); // form 2
  • long Iso11783IL_TIMRestartAuthentication(dbNode client, dbNode server); // form 3
  • long Iso11783IL_TIMRestartAuthentication(dbNode client, byte serverAddress); // form 4

Description

This function restarts the authentication process of a client/server communication. The client restarts the authentication by setting the (Re)Start authentication status bit of the Auth_ClientAuthenticationStatusClient message. This function only succeeds if the authentication process is currently active (especially if current state is Authentication error).

Parameters

  • server: The CAPL function restarts authentication for the connection to this server.
  • serverAddress: The CAPL function restarts authentication for the connection to the server with this address.
  • client: TIM client node.

Return Values

  • 0: Property has been set successfully
  • < 0: An error has occurred, see error codes

Example