Access Restricted
This page contains internal documentation that is not publicly available.
DHWCtrl.EthSendFrame
Transmit one Ethernet frame on Index. The MAC
hardware appends the CRC; no firmware-side padding.
Total wire length must be in [14, 1518] bytes (excl.
CRC).
Properties
- Command code: 0xE102
- Command timeout: 100 ms
- Possible status codes: General status codes, DHWCtrl.ErrInvalidIndex, DHWCtrl.ErrNotActive, DHWCtrl.ErrEthFrameTooBig, DHWCtrl.ErrHardware
Parameters (request frame)
| Name | Type/Size | Description | |
|---|---|---|---|
| Index | Integer (8 bits) | Zero-based instance index within this peripheral category. The valid range is firmware / hardware-variant specific; discoverable via ListPeripherals. | |
| DstMac | Raw data (length 6 Bytes) | Destination MAC address (6 bytes). | |
| SrcMac | Raw data (length 6 Bytes) | Source MAC address (6 bytes). Should match the value passed to EthActivate for spec-compliant frames, but may be set freely for bench tests (MAC-spoofing scenarios). | |
| EtherType | Enumeration (16 bits) |
Outer EtherType of the frame to send.
EtherType field of an Ethernet II frame header, identifying the upper-layer protocol carried in the payload. IEEE 802.3 distinguishes by value: <= 1500 (0x05DC) is interpreted as a legacy LLC frame length; >= 1536 (0x0600) is an EtherType per the IANA registry. The enum lists the common values seen on the bench; the field is extendable so any 16-bit value can be sent / received for bench tests (malformed-frame scenarios, experimental protocols). Values (12):
|
|
| Payload | Raw data (until end of frame) | Bytes following the EtherType. For VLAN-tagged frames the first 2 bytes are the TCI followed by the inner EtherType, then the actual payload. | |
Returned values (response frame)
None