MAXLAN: add set reconnect

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2012-11-23 07:33:23 +00:00
parent 721440b3c2
commit a0c6aa77a9

View File

@@ -171,8 +171,13 @@ MAXLAN_Set($@)
}elsif($setting eq "factoryReset") {
MAXLAN_RequestReset($hash);
}elsif($setting eq "reconnect") {
DevIo_CloseDev($hash);
RemoveInternalTimer($hash);
MAXLAN_Connect($hash);
}else{
return "Unknown argument $setting, choose one of pairmode raw clock factoryReset";
return "Unknown argument $setting, choose one of pairmode raw clock factoryReset reconnect";
}
return undef;
}