Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_GetNextTAN

VTIL_GetNextTAN

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long VTIL_GetNextTAN(byte workingSetMasterAddress, dword& tan); // form 1
long VTIL_GetNextTAN(dbNode vt, byte workingSetMasterAddress, dword& tan); // form 2

Description

Gets the TAN that will be used in the next activation message.

Parameters

  • vt: VT simulation node to apply the function.
  • workingSetMasterAddress: Address of the Working Set Master
  • tan: Returns the next TAN.

Return Values

  • 0: Function has been executed successfully
  • < 0: An error has occurred, see IL Error Code

Example