Changed class name to Mqtt Service
This commit is contained in:
1 parent
a65d3421e4
commit
199c767ddc
2 files changed
+4
-2
No files matched your search
@@ -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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user