Ethernet Apply Faulty Corrupt Alive Counter

Applies corruption to the alive counter of an Ethernet message.

This keyword aims to disable/enable the alive counter incrementation, so the tester can test sending ethernet payload (someip or npdu) with corrupted Alive counter.

Arguments Description

path (str): Path to the Ethernet message for which alive counter-corruption is applied.

Format: ECU_Name::ServiceId::InstanceId::MethodID (for Someip). ECU_Name::Npdu_Id::Signal_Name (for Npdu) ECU_Name::Npdu_Name::Signal_Name (for Npdu)

on_off (bool): Determines whether to enable (True) or disable (False) alive counter corruption.

Returns

bool: True if faulty applied else False

Examples

Ethernet Apply Faulty Corrupt Alive Counter ${path} ${on_off}
Ethernet Apply Faulty Corrupt Alive Counter ${EcuName}::${ServiceId}::${InstanceId}::${MethodID} True
Ethernet Apply Faulty Corrupt Alive Counter ${EcuName}::${ServiceId}::${InstanceId}::${MethodID} False