Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » EthernetMacsecSecureEntity::GetTxSAEnabled

EthernetMacsecSecureEntity::GetTxSAEnabled

Valid for: CANoe DE

Method Syntax

byte EthernetMacsecSecureEntity.GetTxSAEnabled(EthernetMacsecSCI sci, byte AN, uint8_t& enabled);

Description

Gets the enable state of the specified transmit secure association.

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.
  • enabled: Returns the enable state of this SA.

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.

Example