OnMostEthPktFragment
Valid for: CANoe DEFunction Syntax
Description
The event procedureOnMostEthPktFragment is called when the spy detects an incomplete Ethernet packet transmission.
The following functions are available for evaluating the event:
-
long mostEventChannel()Returns the channel of the packet event. -
long mostEventTime()Returns the time stamp of the event (Units: 10 µs). -
float mostEventTimeNs()Returns the time stamp of the event (Units: 1 ns). -
long mostEventOrigTime()Returns the hardware generated time stamp of the event (Units: 10 µs). -
long mostEthPktFragmentDlc()Number of transported data bytes. -
long mostEthPktFragmentGetData(byte[] buffer, long cnt)Tries to copy cnt data bytes to a provided buffer. Returns the actual number of copied bytes.
-
int64 mostEthPktSrcMacAdr(), int64 mostEthPktDestMacAdr()Returns the 48 bit source or destination Ethernet address. -
long mostEthPktFragmentAck()Returns the acknowledge code. -
long mostEthPktFragmentPAck()Returns the preemptive acknowledge from the potential packet receiver(s) to the packet transmitter. -
dword mostEthPktFragmentCRC()Returns the CRC value. -
long mostEthPktFragmentCAck()Returns the CRC acknowledge code. -
long mostEthPktFragmentAnnouncedDlc()Returns the announced data length at start of transmission. In general, the announced length is not equal to the actual number of transmitted data bytes for fragments.