mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
MAXLAN: add set reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@2164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d1ff00567c
commit
fe00ba6619
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user