EtherCAT.Simulator.Status (ethercat v0.5.0)

Copy Markdown View Source

Stable machine-readable simulator runtime status.

backend: nil means the simulator runtime is detached and has no live transport/backend attached.

Summary

Types

lifecycle()

@type lifecycle() :: :stopped | :running

t()

@type t() :: %EtherCAT.Simulator.Status{
  backend: EtherCAT.Backend.t() | nil,
  connections: [map()],
  devices: [map()],
  injected_faults: map(),
  lifecycle: lifecycle(),
  scheduled_faults: [map()],
  subscriptions: [map()],
  topology: map() | nil
}

Functions

stopped()

@spec stopped() :: t()