Closed tsr8 closed 1 year ago
WHy you do not make a PR in the libmbus project to have it adjusted there?
Thank you for the answer. They already have special "adjustable-timeout" branch for this, which adds "-t" parameter. I have created an libmbus issue: https://github.com/rscada/libmbus/issues/186 I think that node-mbus shoud provide some setting to change timeouts easy way.
In fact thet PR is aloready included in their project and also in mine
https://github.com/Apollon77/libmbus/blob/build-windows/mbus/mbus-serial.c#L155
you need even higher values?
you need even higher values?
By testing, I need minimum 1100ms at 2400 baudrate. It fails with 1000ms.
yes so it only makes sense to make it configurable completely ... puhhh ...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.
Timeout in generlsa can be ast as options.timeout already ... doyou reallyneed to adjust these "sub timeouts" or is the normalone enougth? Did you tried that?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.
This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.
In my project I need longer timeouts in libmbus to work properly.
I can change source of libmbus and compile it and test it but: how to compile node-mbus (need it in node-red)?
Resolved by myself using node-gyp:
node-gyp install node-gyp configure node-gyp build