Skip to main content
Open topic with navigation

EthernetMacsecSecureEntity::DeleteTxSA

CAPL Functions » Ethernet » Function Overview » EthernetMacsecSecureEntity::DeleteTxSA Valid for: CANoe DE

Method Syntax

byte EthernetMacsecSecureEntity.DeleteTxSA(EthernetMacsecSCI sci, byte AN);

Description

Deletes a secure association for transmitting.

Parameters

  • sci: The secure channel id of the secure channel where this SA is part of.
  • AN: The secure association number for the SA to be queried.

Return Values

  • byte:
    • 1 if the call succeeded, 0 otherwise.
    • The call will fail if:
      • The secure channel referred to by the sci does not exist.
      • The AN is not in range 0..3.
      • The SA referred to by the association number does not exist.

Example