Update ESP8266.h to increase size of ssid & phrase to Wifi standards of 32 & 64
Fork of ESP8266Interface by
Diff: Wifly/Wifly.cpp
- Revision:
- 4:0bcec6272784
- Parent:
- 3:9aa05e19c62e
- Child:
- 8:04afe20d7927
- Child:
- 10:131675c17372
--- a/Wifly/Wifly.cpp Thu Dec 20 10:37:52 2012 +0000 +++ b/Wifly/Wifly.cpp Thu Dec 20 15:08:58 2012 +0000 @@ -80,11 +80,11 @@ continue; // set time - if (!sendCommand("set c t 20\r", "AOK")) + if (!sendCommand("set c t 30\r", "AOK")) continue; // set size - if (!sendCommand("set c s 128\r", "AOK")) + if (!sendCommand("set c s 1024\r", "AOK")) continue; // red led on when tcp connection active @@ -188,11 +188,9 @@ break; case UDP: // set ip flags: udp auto pairing enabled - if (!sendCommand("set i f 0x40\r", "AOK")) - return false; if (!sendCommand("set i h 0.0.0.0\r", "AOK")) return false; - if (!sendCommand("set i r 0\r", "AOK")) + if (!sendCommand("set i f 0x40\r", "AOK")) return false; break; }