Kevin Rhyne / Whiffy

Dependencies:   4DGL-uLCD-SE mbed

Revision:
14:8d31d304eeb3
Parent:
13:ef68cbcb4e9a
--- a/src/WifiControl.h	Mon Oct 19 22:25:18 2015 +0000
+++ b/src/WifiControl.h	Tue Oct 20 09:10:31 2015 +0000
@@ -3,19 +3,21 @@
 
 #include <stdio.h>
 #include "mbed.h"
+#include <string>
 
 class WifiControl
 {
 public:
-    Serial *pc;
-    Serial *esp;
+    Serial pc;
+    Serial esp;
 
     WifiControl();
-    void pollAP(char *); // Return buffer of access points
+    string pollAP(); // Return buffer of access points
     void getIPMAC();
     void connect(char *, char *); // Connect to SSID with PWD
     void ESPsetbaudrate(); // Set baud rates
     void ESPconfig(); // Setup code
+    void quickConfig();
     void SendCMD(); 
     void getreply();