50_MOBILEALERTSGW: Send http 200 after receive before decode to prevent timeout.

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19394 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
MarkusF 2019-05-17 18:23:31 +00:00
parent ce8073d4d8
commit 8dbea4a41f

View File

@ -464,14 +464,14 @@ sub MOBILEALERTSGW_Read($$) {
if ( $actioncode eq "00" ) {
Log3 $MA_wname, 4,
"$MA_wname MOBILEALERTSGW: $MA_cname: Initrequest from $gwserial $gwmac";
MOBILEALERTSGW_DecodeInit( $hash, $POSTdata );
MOBILEALERTSGW_DefaultAnswer($hash);
MOBILEALERTSGW_DecodeInit( $hash, $POSTdata );
}
elsif ( $actioncode eq "C0" ) {
Log3 $MA_wname, 4,
"$MA_wname MOBILEALERTSGW: $MA_cname: Data from $gwserial $gwmac";
MOBILEALERTSGW_DecodeData( $hash, $POSTdata );
MOBILEALERTSGW_DefaultAnswer($hash);
MOBILEALERTSGW_DecodeData( $hash, $POSTdata );
}
else {
TcpServer_WriteBlocking( $MA_chash,