RC

Dependents:   WizFi250_AP_HelloWorld

Fork of WizFi250Interface by DongEun Koak

Revision:
7:ba28fe711055
Parent:
5:8a0702aa91e3
Child:
8:431172d536ee
--- a/WizFi250/WizFi250_msg.cpp	Fri Nov 14 15:22:27 2014 +0900
+++ b/WizFi250/WizFi250_msg.cpp	Fri Nov 14 15:27:47 2014 +0900
@@ -303,7 +303,10 @@
         strncpy(_state.mac, buf, sizeof(_state.mac));
         _state.mac[17] = 0;
         _state.res = RES_NULL;
-        //DBG("mac %s\r\n", _state.mac);
+        if(strncmp(_state.mac,CFG_DEFAULT_MAC,sizeof(CFG_DEFAULT_MAC)) == 0)
+        	_state.ok = false;
+
+        _state.ok = true;
     }
 }