Changed class name to Mqtt Service

This commit is contained in:
Salman Zafar committed 2019-03-11 15:24:24 +05:00
1 parent a65d3421e4
commit 199c767ddc
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ class Mqtt
public function ConnectAndPublish($topic, $msg)
{
$client = new phpMQTT($this->host,$this->port, rand(0,100), $this->cert_file, $this->debug);
$client = new MqttService($this->host,$this->port, rand(0,100), $this->cert_file, $this->debug);
if ($client->connect(true))
{