8.2.4.3.6. Preamble

8.2.4.3.6.1. 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

8.2.4.3.6.2. 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