8.2.4.4.5.1. Auto-Negotiation

8.2.4.4.5.1.1. Configuration

Auto-negotiation configuration.

Corresponding low-level API class: PP_AUTONEG

# Auto-Negotiation Settings
resp = await port.pcs_pma.auto_neg.settings.get()
resp.tec_ability
resp.fec_capable
resp.fec_requested
resp.pause_mode

8.2.4.4.5.1.2. Status

Status of auto-negotiation.

Corresponding low-level API class: PP_AUTONEGSTATUS

a# Auto-Negotiation Status
resp = await port.pcs_pma.auto_neg.status.get()
resp.mode
resp.auto_state
resp.tec_ability
resp.fec_capable
resp.fec_requested
resp.fec
resp.pause_mode

8.2.4.4.5.1.3. Selection

Whether the port responds to incoming auto-negotiation requests.

Note

Only applicable to RJ45 ports

Corresponding low-level API class: P_AUTONEGSELECTION

# Auto-Negotiation Selection
# Only applicable to RJ45 ports
await port.autoneg_selection.set(on_off=enums.OnOff.ON)
await port.autoneg_selection.set_on()
await port.autoneg_selection.set(on_off=enums.OnOff.OFF)
await port.autoneg_selection.set_off()

resp = await port.autoneg_selection.get()
resp.on_off