This is MQTT library for WIZwiki-W7500
Dependents: openHAB_mqtt_W7500 kakaoIoTchatbot
Fork of MQTTforLecture by
Revision 49:28bae99b34f4, committed 2015-12-29
- Comitter:
- kaizen
- Date:
- Tue Dec 29 07:34:10 2015 +0000
- Parent:
- 48:4d790a810311
- Commit message:
- release mqtt example for openHAB
Changed in this revision
MQTTEthernet.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4d790a810311 -r 28bae99b34f4 MQTTEthernet.h --- a/MQTTEthernet.h Mon Sep 21 23:38:42 2015 +0000 +++ b/MQTTEthernet.h Tue Dec 29 07:34:10 2015 +0000 @@ -7,10 +7,10 @@ #include "MQTTSocket.h" -uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0x1E, 0x72, 0x1B}; // your mac address -const char * ip_addr = "222.98.173.249"; // your ip -const char * gw_addr = "222.98.173.254"; // your gateway -const char * snmask = "255.255.255.192"; // your subnetmask +uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0x1E, 0x72, 0x1F}; // your mac address +const char * ip_addr = "192.168.0.200"; // your ip +const char * gw_addr = "192.168.0.1"; // your gateway +const char * snmask = "255.255.255.0"; // your subnetmask class MQTTEthernet : public MQTTSocket {