The MQTTEthernet.h and MQTTSocket.h file is changed for W7500.

Dependencies:   FP MQTTPacket

Dependents:   w7500-paho-mqtt w7500-RFID-mqtt w7500-mqtt-wizfi310 w7500-mqtt-wizfi310_tested

Fork of MQTT by Bohyun Bang

Files at this revision

API Documentation at this revision

Comitter:
bangbh
Date:
Mon Sep 21 23:38:42 2015 +0000
Parent:
47:85fefcf0b231
Commit message:
a molla

Changed in this revision

MQTTEthernet.h Show annotated file Show diff for this revision Revisions of this file
diff -r 85fefcf0b231 -r 4d790a810311 MQTTEthernet.h
--- a/MQTTEthernet.h	Sun Sep 20 05:13:46 2015 +0000
+++ b/MQTTEthernet.h	Mon Sep 21 23:38:42 2015 +0000
@@ -19,7 +19,8 @@
     {
         wait(1);
         this->createSocket();
-        eth.init(mac_addr,ip_addr,snmask,gw_addr);                          // Do not use DHCP! If you use DHCP use "eth.init(mac_addr);".
+        //eth.init(mac_addr,ip_addr,snmask,gw_addr);                          // Do not use DHCP! If you use DHCP use "eth.init(mac_addr);".
+        eth.init(mac_addr);
         eth.connect();
     }