eclipse-thingweb / eclipse-thingweb/node-wot

Modbus polling rate is understood false

Open
#1,236 0 comments 0 reactions 0 assignees View on GitHub
binding-modbus
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

Modbus polling rate is taken for the subscription interval whereas it is the maximum polling rate in [the modbus binding](https://w3c.github.io/wot-binding-templates/bindings/protocols/modbus/ontology.html#haspollingtime). Even though this is a false understanding, I do not know how to fix it in the best possible way. Some thoughts:

1. The polling rate can be given as an interaction option. node-wot can check whether it is lower than the max rate. Is this clear from scripting api perspective?
2. The polling rate can be set in the config. Even though this would work, it would limit it to same number to all affordances and this may go against the binding template spec.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.