pengfei wu
/
ESP8266Program
For test
Diff: uartWiFi.h
- Revision:
- 8:577f955031ea
- Parent:
- 7:a11e381ce969
- Child:
- 9:95a0ce98e12b
diff -r a11e381ce969 -r 577f955031ea uartWiFi.h --- a/uartWiFi.h Sat Jan 31 07:01:08 2015 +0000 +++ b/uartWiFi.h Sat Jan 31 11:33:31 2015 +0000 @@ -1,9 +1,11 @@ #ifndef __UARTWIFI_H__ #define __UARTWIFI_H__ +#if 0 #include "mbed.h" #include "WString.h" +#include "misc.h" typedef unsigned char byte; @@ -78,7 +80,7 @@ String showMux(void); //set the connection mode(sigle:0 or multiple:1) - bool confMux(bool a); + bool confMux(int a); //create new tcp or udp connection (sigle connection mode) bool newMux(byte type, String addr, int port); @@ -99,5 +101,5 @@ bool confServer(byte mode, int port); }; - +#endif #endif \ No newline at end of file