This is library for using WizFi250

Dependents:   WebSocket_WizFi250_HelloWorld IFTTT_WizFi250 AxedaGo-WizFi250 FANARM_AP_udp_server ... more

Revision:
6:e149bf87a1bd
Parent:
5:8a0702aa91e3
Child:
7:ba28fe711055
--- a/WizFi250/WizFi250.h	Fri Nov 14 15:14:56 2014 +0900
+++ b/WizFi250/WizFi250.h	Fri Nov 14 15:22:27 2014 +0900
@@ -117,9 +117,7 @@
     };
 
 
-    WizFi250 (PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm = NC, int baud = 115200);
-
-
+    WizFi250 (PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm = NC, int baud = 115200, mbed::Serial *debug = NULL);
 
     // --------- WizFi250_at.cpp ---------
     void clearFlags     ();
@@ -145,11 +143,6 @@
         return _inst;
     };
 
-    Serial *getDebug() {
-        return &_debug;
-    }
-
-
 
     // --------- WizFi2550_sock.cpp ---------
     int getHostByName   (const char * host, char *ip);
@@ -178,12 +171,7 @@
     DigitalIn *_cts;
     DigitalOut *_rts;
     int _flow;
-    Serial _debug;
-
-
-#if defined(TARGET_FRDM_KL25Z)
-    UART_Type * _uart;
-#endif
+    mbed::Serial *_debug;
 
     DigitalInOut _reset;