Skip to content

Commit 4afc739

Browse files
committed
Add new Version and describe new protocol parameter
1 parent c22d5f0 commit 4afc739

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Container image: [DockerHub](https://hub.docker.com/r/oitc/modbus-server)
2323

2424
# Supported tags and respective `Dockerfile` links
2525

26-
* [`latest`, `1.3.2`](https://github.com/cybcon/modbus-server/blob/v1.3.2/Dockerfile)
26+
* [`latest`, `1.4.0`](https://github.com/cybcon/modbus-server/blob/v1.4.0/Dockerfile)
27+
* [`1.3.2`](https://github.com/cybcon/modbus-server/blob/v1.3.2/Dockerfile)
2728
* [`1.3.1`](https://github.com/cybcon/modbus-server/blob/v1.3.1/Dockerfile)
2829
* [`1.3.0`](https://github.com/cybcon/modbus-server/blob/v1.3.0/Dockerfile)
2930
* [`1.2.0`](https://github.com/cybcon/modbus-server/blob/v1.2.0/Dockerfile)
@@ -92,6 +93,7 @@ The `/app/modbus_server.json` file comes with following content:
9293
"server": {
9394
"listenerAddress": "0.0.0.0",
9495
"listenerPort": 5020,
96+
"protocol": "TCP",
9597
"tlsParams": {
9698
"description": "path to certificate and private key to enable tls",
9799
"privateKey": null,
@@ -120,7 +122,8 @@ The `/app/modbus_server.json` file comes with following content:
120122
|------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------|
121123
| `server` | Object | Modbus slave specific runtime parameters. |
122124
| `server.listenerAddress` | String | The IPv4 Address to bound to when starting the server. `"0.0.0.0"` let the server listens on all interface addresses. |
123-
| `server.listenerPort` | Integer | The TCP port number of the modbus slave to listen to. |
125+
| `server.listenerPort` | Integer | The port number of the modbus slave to listen to. |
126+
| `server.protocol` | String | Defines if the server should use `TCP` or `UDP` (default: `TCP`) |
124127
| `server.tlsParams` | Object | Configuration parameters to use TLS encrypted modbus tcp slave. (untested) |
125128
| `server.tlsParams.description` | String | No configuration option, just a description of the parameters. |
126129
| `server.tlsParams.privateKey` | String | Filesystem path of the private key to use for a TLS encrypted communication. |

0 commit comments

Comments
 (0)