Update ESP8266.h to increase size of ssid & phrase to Wifi standards of 32 & 64
Fork of ESP8266Interface by
Diff: ESP8266/ESP8266.h
- Revision:
- 44:3a7b6083210b
- Parent:
- 32:cf071dc33972
- Child:
- 45:c180905b5b79
diff -r 22d30e936e4c -r 3a7b6083210b ESP8266/ESP8266.h --- a/ESP8266/ESP8266.h Fri May 01 18:29:38 2015 +0000 +++ b/ESP8266/ESP8266.h Wed Jun 03 18:21:19 2015 +0000 @@ -92,9 +92,17 @@ /* * Legacy Start for UDP only connection in transparent mode * @param ip A string that contains the IP, no quotes + * @param id number between 0-4 * @param port Numerical port number to connect to + * @param length number of characters in the message being sent */ - bool startUDP(char* ip, int port); + bool startUDP(char* ip, int port, int id, int length); + + /* + *Starts the ESP chip as a TCP Server + *@param port Numerical port of the server, default is 333 + */ + bool startTCPServer(int port = 333); /** * Close a connection @@ -162,7 +170,7 @@ * Send a command to the wifi module. Check if the module is in command mode. If not enter in command mode * * @param str string to be sent - * @param ACK string which must be acknowledge by the wifi module. If ACK == NULL, no string has to be acknoledged. (default: "NO") + * @param ACK string which must be acknowledge by the wifi module. If ACK == NULL, no string has to be acknowledged. (default: "NO") * @param res this field will contain the response from the wifi module, result of a command sent. This field is available only if ACK = "NO" AND res != NULL (default: NULL) * * @return true if successful