You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/binding-modbus/README.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,20 @@ W3C WoT Binding Template for Modbus can be found [here](https://w3c.github.io/wo
8
8
9
9
Current Maintainer(s): [@relu91](https://github.com/relu91)[@fillobotto](https://github.com/fillobotto)
10
10
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
12
25
13
26
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>.
14
27
@@ -42,10 +55,6 @@ main();
42
55
43
56
## Binding Information
44
57
45
-
### Protocol specifier
46
-
47
-
The protocol prefix handled by this binding is `modbus+tcp://`.
48
-
49
58
### New Form Fields for the Modbus Binding
50
59
51
60
**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