ethernetPacket::IsAvailable
Valid for: CANoe DE • CANoe4SW DEMethod Syntax
byte ethernetPacket.IsAvailable(char protocol[], char field[]);Description
Checks whether the protocol and the protocol field are present in the Ethernet packet.Parameters
- protocol: Name of the protocol.
- field: Name of the field.
Return Values
- 1: Protocol and protocol field are available in the Ethernet packet
- 0: Protocol and protocol field are not available in the Ethernet packet