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:
Tue Sep 15 00:42:21 2015 +0000
Parent:
47:0f7cec2a7058
Child:
49:66f37eda441b
Commit message:
Modified for Ethernet connection of WIZnet device

Changed in this revision

MQTTEthernet.h Show annotated file Show diff for this revision Revisions of this file
--- a/MQTTEthernet.h	Mon Sep 07 00:03:23 2015 +0000
+++ b/MQTTEthernet.h	Tue Sep 15 00:42:21 2015 +0000
@@ -6,8 +6,8 @@
 #include "EthernetInterface.h"
 #include "MQTTSocket.h"
 
-//uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0x1D, 0x69, 0xF3};
-uint8_t mac_addr[6] = {0x00, 0x02, 0xf7, 0xf2, 0x05, 0x00};
+uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0x1D, 0x69, 0xF3};
+//uint8_t mac_addr[6] = {0x00, 0x02, 0xf7, 0xf2, 0x05, 0x00};
 //const char * ip_addr = "222.98.173.213";
 //const char * gw_addr = "222.98.173.254";
 //const char * snmask = "255.255.255.192";
@@ -32,7 +32,7 @@
     void reconnect()
     {
         eth.connect();  // nothing I've tried actually works to reconnect 
-    }
+    } 
     
 private: