diff --git a/.idea/MQTT_Laravel.iml b/.idea/MQTT_Laravel.iml
new file mode 100644
index 0000000..c956989
--- /dev/null
+++ b/.idea/MQTT_Laravel.iml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..15a15b2
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..28a804d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..4562a68
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..88c005a
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $PROJECT_DIR$/composer.json
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1551080016687
+
+
+ 1551080016687
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MqttClass/Mqtt.php b/src/MqttClass/Mqtt.php
index 4acb84b..78a59f2 100644
--- a/src/MqttClass/Mqtt.php
+++ b/src/MqttClass/Mqtt.php
@@ -27,8 +27,6 @@ class Mqtt
$this->port = config('mqtt.port');
$this->debug = config('mqtt.debug');
-// $this->client = new phpMQTT($this->host, $this->port, 25,$this-$this->cert_file);
-// $this->client = new MQTTClient($this->host,$this->port);
}
@@ -46,24 +44,6 @@ class Mqtt
return false;
-
-
-// $this->client->setAuthentication($this->username,$this->password);
-// $this->client->setEncryption($this->cert_file);
-// $success = $this->client->sendConnect(rand(0,63)); // set your client ID
-// if ($success) {
-// $this->client->sendPublish($topic, $msg);
-// $messages = $this->client->getPublishMessages(); // now read and acknowledge all messages waiting
-// foreach ($messages as $message) {
-// echo $message['topic'] .': '. $message['message'] . PHP_EOL;
-// }
-//
-// $this->client->sendDisconnect();
-// echo 'success';
-// }
-//
-// $this->client->close();
-// echo 'error';
}
}