Library to use a wifly module: RN 131 C/G

Dependents:   RN-XV_simple_server

Revision:
19:cf1a7a5cc8d6
Parent:
17:56f3c4da1ea8
--- a/Wifly.h	Mon Feb 20 16:08:42 2012 +0000
+++ b/Wifly.h	Wed May 09 11:46:39 2012 +0000
@@ -101,12 +101,12 @@
     *
     *
     * @param str string to be sent
-    * @param ACK string which must be acknowledge by the wifi module. If "ACK" == "NO", 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 acknoledged. (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 ACK has been found in the response from the wifi module. False otherwise or if there is no response in 5s.
     */
-    bool send(char * str, char * ACK = "NO", char * res = NULL);
+    bool send(char * str, char * ACK = NULL, char * res = NULL);
 
     /**
     * Connect the wifi module to the ssid contained in the constructor.