Preamble

RX Preamble Insert

Insert preambles to the incoming frames.

Corresponding low-level API class: P_RXPREAMBLE_INSERT

# RX Preamble Insert
await port.preamble.rx_insert.set(on_off=enums.OnOff.ON)
await port.preamble.rx_insert.set(on_off=enums.OnOff.OFF)

resp = await port.preamble.rx_insert.get()
resp.on_off

TX Preamble Removal

Remove preamble from outgoing frames.

Corresponding low-level API class: P_TXPREAMBLE_REMOVE

# TX Preamble Removal
await port.preamble.tx_remove.set(on_off=enums.OnOff.ON)
await port.preamble.tx_remove.set(on_off=enums.OnOff.OFF)

resp = await port.preamble.tx_remove.get()
resp.on_off