2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 16:05:19 +00:00

98_Modbus.pm: snall Bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@28133 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
StefanStrobel 2023-11-07 18:38:22 +00:00
parent 61a3d7a971
commit 921433b210

View File

@ -263,7 +263,7 @@ BEGIN { # functions / variables needed from package main
};
my $Module_Version = '4.5.5 - 9.5.2023';
my $Module_Version = '4.5.6 - 7.11.2023';
my $PhysAttrs = join (' ',
'queueDelay',
@ -732,6 +732,7 @@ sub DefineLDFn {
delete $hash->{TCPServer};
delete $hash->{TCPChild};
}
$hash->{devioNoSTATE} = 1;
GoToState($hash, 'disconnected'); # initial state after define - might modify to disabled / inactive
# connection will be opened later in NotifyFN (INITIALIZED, DEFINED, MODIFIED, ...)
# for serial connections we use a separate physical device. This is set in Notify
@ -5576,6 +5577,9 @@ sub TryCall {
this attribute controls at what loglevel reconnect messages from devIO will be logged. Without this attribute they will be logged at level 3.
If this attribute is set to 1 then such messages will be logged at level 4.
</li>
<li><a id="Modbus-attr-showError">showError</a><br>
if this attribute is set to 1 then a new reading LAST_ERROR will be created in case of errors or timeouts.
</li>
<li><a id="Modbus-attr-skipGarbage">skipGarbage</a><br>