Commit 0f7eb3835621cfa94d7d7acbf2dc2d5e2eb7fd9b
1 parent
a840e131
Type in README.md
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
| ... | ... | @@ -49,7 +49,7 @@ All these functions take an OpenTherm DATA-ID as _first_ parameter. The DATA-ID |
| 49 | 49 | ## Error handling |
| 50 | 50 | The function ```error()``` is used to get information about the last call to one of the functions ```read()```, ```write()``` or ```readWrite()```. All these functions return ```false``` if an |
| 51 | 51 | error occurred in the _communication_ between thermostat (primary) and boiler or HVAC (secondary). These functions return ```true``` if everything is fine, but also upon an error on |
| 52 | -_application level_. You will get this error if e.g. you _read out_ your boiler or HVAC with a DATA-ID that is not supported. Also, if you _write data to_ your boiler or HVAC, the value can be out of range, e.g. a setpoint is to low or to high. In this case ```error()``` will return ```INVALID_DATA```. | |
| 52 | +_application level_. You will get this error if e.g. you _read out_ your boiler or HVAC with a DATA-ID that is not supported. Also, if you _write data to_ your boiler or HVAC, the value can be out of range, e.g. a setpoint is too low or too high. In this case ```error()``` will return ```INVALID_DATA```. | |
| 53 | 53 | |
| 54 | 54 | All error codes: |
| 55 | 55 | - ```OK```: everything is fine! | ... | ... |