Open topic with navigationDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
ethernetPacket Selectors: <protocol>.byte/word/dword/qword/char/int/long/int64
CAPL Functions » Ethernet » Function Overview » ethernetPacket » Selector byte/word/dword/qword/char/int/long/int64
Valid for: CANoe DE • CANoe4SW DE
Selectors
byte ethernetPacket.<protocol>.Byte(index);word ethernetPacket.<protocol>.Word(index);dword ethernetPacket.<protocol>.DWord(index);qword ethernetPacket.<protocol>.QWord(index);char ethernetPacket.<protocol>.Char(index);int ethernetPacket.<protocol>.Int(index);long ethernetPacket.<protocol>.Long(index);int64 ethernetPacket.<protocol>.Int64(index);
Description
Access to the payload of a protocol. If index is greater than available data or<protocol> is not contained in the packet, the measurement is stopped with a runtime error. ethernetPacket::protocol::IsAvailable and ethernetPacket::protocol::byteLength can be used to find out if the data is available.
Parameters
- Index: Byte offset. Index 0 is the first byte within the payload of the protocol. If index is greater than
ethernetPacket.<protocol>.byteLengtha runtime error occurs.