Communicates with the WiFi - be very careful when using as it is tempremental.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
qdanilc
Date:
Fri May 26 12:01:49 2017 +0000
Parent:
9:8cf34e4f9ca0
Commit message:
Final commit

Changed in this revision

initiateWifi.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8cf34e4f9ca0 -r e5eee7bc1a7d initiateWifi.cpp
--- a/initiateWifi.cpp	Fri May 26 09:47:27 2017 +0000
+++ b/initiateWifi.cpp	Fri May 26 12:01:49 2017 +0000
@@ -26,7 +26,7 @@
 char* startCommands[5]= {
     "AT+RST",
     "AT+CWMODE=1",
-    //"AT+CWJAP=\"Hotspot\",\"password\"", skip signing in for debugging purposes
+    "AT+CWJAP=\"Hotspot\",\"password\"", skip signing in for debugging purposes
     "AT+CIPMUX=1",
     "AT+CIPSTART=1,\"TCP\",\"time.jsontest.com\",80" //time.jsontest.com
 };
@@ -156,7 +156,3 @@
     pc.printf("%d",dateTime[1]);
     */
 }
-
-
-
-
diff -r 8cf34e4f9ca0 -r e5eee7bc1a7d main.cpp
--- a/main.cpp	Fri May 26 09:47:27 2017 +0000
+++ b/main.cpp	Fri May 26 12:01:49 2017 +0000
@@ -1,5 +1,6 @@
 #include "mbed.h"
 #include "WifiReceiver.h"
+
 int main() {
     initiateWifi();
 }
\ No newline at end of file