for WIZwiki-W7500 board

Dependencies:   FP MQTTPacket

Dependents:   IBMIoTClientEthernetExample_WIZnet

Fork of MQTT by MQTT

Files at this revision

API Documentation at this revision

Comitter:
hkjung
Date:
Sun Sep 06 23:54:14 2015 +0000
Parent:
45:d8c12dce71b9
Child:
47:0f7cec2a7058
Commit message:
use DHCP

Changed in this revision

MQTTEthernet.h Show annotated file Show diff for this revision Revisions of this file
--- a/MQTTEthernet.h	Mon Jun 29 11:55:39 2015 +0000
+++ b/MQTTEthernet.h	Sun Sep 06 23:54:14 2015 +0000
@@ -19,7 +19,8 @@
     {
         wait(1);
         this->createSocket();
-        eth.init(mac_addr,ip_addr,snmask,gw_addr);                          // Use DHCP
+        //eth.init(mac_addr,ip_addr,snmask,gw_addr);                          // Use Static IP
+        eth.init(mac_addr);                          // Use DHCP
         eth.connect();
     }