Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions packages/binding-modbus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ W3C WoT Binding Template for Modbus can be found [here](https://w3c.github.io/wo

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

## Client Example
## Protocol specifier

The protocol prefix handled by this binding is `modbus+tcp://`.

## Getting Started

In the following examples it is shown how to use the Modbus binding of node-wot.

### Prerequisites

- `npm install @node-wot/core`
- `npm install @node-wot/binding-modbus`

### Client Example

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>.

Expand Down Expand Up @@ -42,10 +55,6 @@ main();

## Binding Information

### Protocol specifier

The protocol prefix handled by this binding is `modbus+tcp://`.

### New Form Fields for the Modbus Binding

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