Skip to main content
Open topic with navigation

ethernetPacket Selectors: <protocol>.<field>.byteLength

CAPL Functions » Ethernet » Function Overview » ethernetPacket » Selector <protocol>.<field>.byteLength Valid for: CANoe DE • CANoe4SW DE

Selectors

Syntax: dword ethernetPacket.<protocol>.<field>.byteLength;

Description

Byte length of a protocol field. The selector is read only. If <protocol> or <field> is not contained in the packet, the selector returns 0. ethernetPacket::protocol::field::IsAvailable can be used to find out if the field is available.

Parameters

Return Values

Byte length of a protocol field.

Example