write sketch version to internal value VERSION

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3869 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-09-07 08:46:36 +00:00
parent c66f8614af
commit 0a4b98fc34

View File

@@ -414,10 +414,14 @@ JeeLink_Parse($$$$)
#Log3, $name, 5, "$name: $dmsg $rssi $lqi";
next if(!$dmsg || length($dmsg) < 1); # Bogus messages
return if($dmsg =~ m/^\[pcaSerial/ ); # ignore startup messages
return if($dmsg =~ m/^Available commands:/ ); # ignore startup messages
return if($dmsg =~ m/^ .* - / ); # ignore startup messages
return if($dmsg =~ m/^-> ack/ ); # ignore send ack
return if($dmsg =~ m/^Available commands:/ ); # ignore startup messages
return if($dmsg =~ m/^ .* - / ); # ignore startup messages
return if($dmsg =~ m/^-> ack/ ); # ignore send ack
if($dmsg =~ m/^\[pcaSerial/ ) {
$hash->{VERSION} = $dmsg;
return;
}
$hash->{"${name}_MSGCNT"}++;
$hash->{"${name}_TIME"} = TimeNow();