Public raw transport surface for EtherCAT.Simulator.
Raw transport runs one primary endpoint in single-link mode or paired primary/secondary endpoints in redundant mode. This module exposes raw-edge transport controls and mode-aware introspection without leaking the endpoint worker module into public tests and tooling.
Summary
Types
@type endpoint_selector() :: :primary | :secondary | :all
@type fault() :: {:delay_response, endpoint_selector(), non_neg_integer(), ingress_selector()}
@type ingress_selector() :: :primary | :secondary | :all
Functions
@spec clear_faults() :: :ok | {:error, :not_found}
@spec info() :: {:ok, map()} | {:error, :not_found}
@spec inject_fault(EtherCAT.Simulator.Transport.Raw.Fault.t() | fault()) :: :ok | {:error, :invalid_fault | :not_found}