# `AVModbus.Server.ASCII`
[🔗](https://github.com/piyopiyoex/avmodbus/blob/v0.1.0/lib/avmodbus/server/ascii.ex#L1)

AtomVM UART または injected serial transport 上で動作する Modbus ASCII server です。

request policy、diagnostics、lifecycle recovery、UART ownership は
`AVModbus.Server.RTU` と共有し、ASCII/LRC framing と delimiter behavior を選択します。

# `option`

```elixir
@type option() :: AVModbus.Server.RTU.option()
```

# `server`

```elixir
@type server() :: pid() | atom()
```

# `start_link`

```elixir
@spec start_link(AVModbus.Server.handler(), [option()]) ::
  {:ok, pid()} | {:error, term()}
```

configured UART を開いて ASCII server を起動します。

# `start_link`

```elixir
@spec start_link(module(), term(), AVModbus.Server.handler(), [option()]) ::
  {:ok, pid()} | {:error, term()}
```

open 済み transport handle 上で ASCII server を起動します。

# `status`

```elixir
@spec status(server()) :: :connected | {:disconnected, term()}
```

UART connection state を返します。

# `stop`

```elixir
@spec stop(server()) :: :ok
```

ASCII server を停止します。

---

*Consult [api-reference.md](api-reference.md) for complete listing*
