mac

Dependencies:   Adafruit_GFX WIZnetInterface mbed

Fork of Weather_Forecast_Helloworld_WIZwiki-W7500 by IOP

Files at this revision

API Documentation at this revision

Comitter:
vvvf
Date:
Thu Dec 10 06:29:09 2015 +0000
Parent:
3:246564796e88
Commit message:
mac

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 246564796e88 -r 61192a124202 main.cpp
--- a/main.cpp	Mon Sep 07 04:10:41 2015 +0000
+++ b/main.cpp	Thu Dec 10 06:29:09 2015 +0000
@@ -108,7 +108,7 @@
    
     int phy_link;
     printf("Wait a second...\r\n");
-    uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0x03, 0x04, 0x02}; 
+    uint8_t mac_addr[6] = {0x00, 0x08, 0xDC, 0xff, 0xff, 0x05}; 
 
     EthernetInterface eth;    
     
@@ -140,7 +140,7 @@
    /*  
     *    GET method, to request weather forecast  
     */
-    char http_cmd[] = "GET /data/2.5/weather?q=Seoul,kr HTTP/1.0\n\n";
+    char http_cmd[] = "GET /data/2.5/weather?q=London,uk&appid=2de143494c0b295cca9337e1e96b00e0 HTTP/1.0\n\n";
     //char http_cmd[] = "GET /data/2.5/weather?q=London,uk HTTP/1.0\n\n";
     //char http_cmd[] = "GET /data/2.5/weather?q=Berlin,de HTTP/1.0\n\n";
     sock.send_all(http_cmd, sizeof(http_cmd)-1);