EthernetMacsecSecureEntity::GetCapability
CAPL Functions » Ethernet » Function Overview » EthernetMacsecSecureEntity::GetCapability Valid for: CANoe DEMethod Syntax
byte EthernetMacsecSecureEntity.GetCapability(EthernetMacsecCapability& capability);
Description
Returns the MACsec capability of the secure entity. Usually, this will beMACSEC_CAP_INTEG_AND_CONF_0_30_50 (Integrity and Confidentiality with any offset). Future hardware PHY drivers may return one of the other values from EthernetMacsecCapability.
Parameters
- capability: The reference parameter where the queried value will be returned.
Return Values
- byte: 1 if the call succeeded, 0 otherwise.