iobroker.idm-multitalent_002 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/io-package.json +4 -1
- package/main.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,9 @@ Settings of the serial adapter:
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
## Changelog
|
|
51
|
+
### 1.2.3 (2024-01-21)
|
|
52
|
+
* (zloe) improve handling of data transmission problems
|
|
53
|
+
|
|
51
54
|
### 1.2.2 (2024-01-21)
|
|
52
55
|
* (zloe) fix handling of data transmission problems which lead to stopping requesting data
|
|
53
56
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "idm-multitalent_002",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.3",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.2.3": {
|
|
7
|
+
"en": "* improve handling of data transmission problems\n\n## License\nMIT License\n\nCopyright (c) 2024 zloe <klaus@zloebl.net>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
|
8
|
+
},
|
|
6
9
|
"1.2.2": {
|
|
7
10
|
"en": "* fix handling of data transmission problems which lead to stopping requesting data\n\n## License\nMIT License\n\nCopyright (c) 2024 zloe <klaus@zloebl.net>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
|
8
11
|
},
|
package/main.js
CHANGED
|
@@ -468,6 +468,7 @@ class IdmMultitalent002 extends utils.Adapter {
|
|
|
468
468
|
} else if (state > 3) {
|
|
469
469
|
this.log.warn('wrong state in receiving data, state is ' + state + ' resetting the transmission and retrying to continue communication');
|
|
470
470
|
idm.reset();
|
|
471
|
+
this.idmProtocolState = 0;
|
|
471
472
|
this.setTimeout(this.send_init.bind(this), this.requestInitDelay * 2);
|
|
472
473
|
}
|
|
473
474
|
|