Update ESP8266.h to increase size of ssid & phrase to Wifi standards of 32 & 64
Fork of ESP8266Interface by
Diff: ESP8266Interface.h
- Revision:
- 28:91e65e22e63a
- Parent:
- 16:3f0efaa57a12
diff -r 9c6cefc12f0c -r 91e65e22e63a ESP8266Interface.h --- a/ESP8266Interface.h Mon Apr 20 20:27:11 2015 +0000 +++ b/ESP8266Interface.h Tue Apr 28 18:52:20 2015 +0000 @@ -37,8 +37,9 @@ * \param reset reset pin of the wifi module () * \param ssid ssid of the network * \param phrase WEP or WPA key + * \param baud the baudrate of the serial connection (defaults to 115200, diff revs of the firmware use diff baud rates */ - ESP8266Interface(PinName tx, PinName rx, PinName reset, const char * ssid, const char * phrase ); + ESP8266Interface(PinName tx, PinName rx, PinName reset, const char * ssid, const char * phrase, uint32_t baud = 115200 ); /** Initialize the interface with DHCP. * Initialize the interface and configure it to use DHCP (no connection at this point).