8.2.4.3.7. Runt

8.2.4.3.7.1. RX Length

Enable RX runt length detection to flag if packets are seen with length not being I bytes.

Corresponding low-level API class: P_RXRUNTLENGTH

# Runt - RX Length
await port.runt.rx_length.set(runt_length=40)

resp = await port.runt.rx_length.get()
resp.runt_length

8.2.4.3.7.2. TX Length

Enable TX runt feature to cut all packets to a number of bytes.

Corresponding low-level API class: P_TXRUNTLENGTH

# Runt - TX Length
await port.runt.tx_length.set(runt_length=40)

resp = await port.runt.tx_length.get()
resp.runt_length

8.2.4.3.7.3. Length Error

Sticky clear on read: Have packets with wrong runt length been detected since last read?

Corresponding low-level API class: P_RXRUNTLEN_ERRS

# Runt - Length Error
resp = await port.runt.has_length_errors.get()
resp.status