@@ -90,7 +90,7 @@ function sendConfig($topic,$config)
0
);
echo 'publish end'.PHP_EOL;
- $matt->loop(true,true);
+ $mqtt->loop(true,true);
$mqtt->disconnect();
return $res;
}