Kevin Rhyne / Whiffy

Dependencies:   4DGL-uLCD-SE mbed

Revision:
13:ef68cbcb4e9a
Parent:
12:ef988c7fe8a4
Child:
14:8d31d304eeb3
--- a/src/WifiControl.h	Mon Oct 19 21:09:22 2015 +0000
+++ b/src/WifiControl.h	Mon Oct 19 22:25:18 2015 +0000
@@ -11,11 +11,12 @@
     Serial *esp;
 
     WifiControl();
-    void wifiGo();
-    char pollAP();
-    void ESPsetbaudrate();
-    void ESPconfig();
-    void SendCMD();
+    void pollAP(char *); // 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 SendCMD(); 
     void getreply();
 
 private:
@@ -25,9 +26,6 @@
     char buf[1024];
     char snd[255];
 
-    char ssid[32];     // enter WiFi router ssid inside the quotes
-    char pwd [32]; // enter WiFi router password inside the quotes
-
 
 };