Skip to content

Commit 9fbd0e0

Browse files
authored
Merge pull request #1410 from eclipse-thingweb/sebastiankb-modbus-readme-update1
WIP: Update Modbus README.md
2 parents 21fd9cd + a883280 commit 9fbd0e0

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

packages/binding-modbus/README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,20 @@ W3C WoT Binding Template for Modbus can be found [here](https://w3c.github.io/wo
88

99
Current Maintainer(s): [@relu91](https://github.com/relu91) [@fillobotto](https://github.com/fillobotto)
1010

11-
## Client Example
11+
## Protocol specifier
12+
13+
The protocol prefix handled by this binding is `modbus+tcp://`.
14+
15+
## Getting Started
16+
17+
In the following examples it is shown how to use the Modbus binding of node-wot.
18+
19+
### Prerequisites
20+
21+
- `npm install @node-wot/core`
22+
- `npm install @node-wot/binding-modbus`
23+
24+
### Client Example
1225

1326
You can use a code like the following to use the binding. This specific code is interacting with one of the Eclipse Thingweb Test Things at <https://github.com/eclipse-thingweb/test-things/tree/main/things/elevator>.
1427

@@ -42,10 +55,6 @@ main();
4255

4356
## Binding Information
4457

45-
### Protocol specifier
46-
47-
The protocol prefix handled by this binding is `modbus+tcp://`.
48-
4958
### New Form Fields for the Modbus Binding
5059

5160
**Note**: for further details please refer to the [documentation](https://github.com/eclipse-thingweb/node-wot/blob/master/packages/binding-modbus/src/modbus.ts).

0 commit comments

Comments
 (0)