X-Git-Url: https://git.giacomolli.uk/onehouse/blobdiff_plain/af9b6f942b1296e915ff49abae3e0e3ee4068e0f..db3091ee257788c92421a5b8b1af49d429ce8f8e:/driver/m31/client.go diff --git a/driver/m31/client.go b/driver/m31/client.go index 140e13e..8c65d03 100644 --- a/driver/m31/client.go +++ b/driver/m31/client.go @@ -5,8 +5,8 @@ import "context" // Client owns one serialized Modbus connection. Connect replaces a closed // connection and selects a unit from one through 247. Reads must return the // exact requested count. Writes validate their acknowledgements. All operations -// honor caller cancellation. The driver closes each connection before retry. -// A caller must not use the client concurrently. +// honor caller cancellation. The driver closes each connection before retry. A +// caller must not use the client concurrently. type Client interface { Connect(ctx context.Context, address string, unit byte) error Close() error