Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinherron committed Dec 28, 2024
1 parent 4007018 commit ffbba2d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[![Maven Central](https://img.shields.io/maven-central/v/com.digitalpetri.modbus/modbus.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.digitalpetri.modbus%22%20AND%20a%3A%22modbus%22)

A modern, performant, easy to use client and server implementation of Modbus TCP, Modbus RTU/TCP, and Modbus RTU/Serial for Java 17+.
A modern, performant, easy to use client and server implementation of Modbus, supporting:
- Modbus TCP
- Modbus TCP Security (Modbus TCP with TLS)
- Modbus RTU on Serial
- Modbus RTU on TCP

### Quick Start Examples

Expand All @@ -22,7 +26,7 @@ ReadHoldingRegistersResponse response = client.readHoldingRegisters(
System.out.println("Response: " + response);
```

#### Modbus RTU/Serial Client
#### Modbus RTU on Serial Client
```java
var transport = SerialPortClientTransport.create(cfg -> {
cfg.serialPort = "/dev/ttyUSB0";
Expand Down Expand Up @@ -51,7 +55,7 @@ System.out.println("Response: " + response);
<dependency>
<groupId>com.digitalpetri.modbus</groupId>
<artifactId>modbus-tcp</artifactId>
<version>2.0.1</version>
<version>2.1.0</version>
</dependency>
```

Expand All @@ -60,7 +64,7 @@ System.out.println("Response: " + response);
<dependency>
<groupId>com.digitalpetri.modbus</groupId>
<artifactId>modbus-serial</artifactId>
<version>2.0.1</version>
<version>2.1.0</version>
</dependency>
```

Expand Down

0 comments on commit ffbba2d

Please sign in to comment.