AVModbus.Server.Identification (avmodbus v0.1.0)

Copy Markdown View Source

Read Device Identification (0x2B/0x0E) の validation と response paging を提供します。

identification object は object id (0..255) から binary value への map です。 Modbus specification では object 0、1、2 が必須です。

Summary

Functions

server identification object map を検証します。

Types

objects()

@type objects() :: %{required(byte()) => binary()}

Functions

validate(objects)

@spec validate(term()) :: {:ok, objects()} | {:error, term()}

server identification object map を検証します。