Communicates with the WiFi - be very careful when using as it is tempremental.
Dependencies: mbed
Diff: initiateWifi.cpp
- Revision:
- 6:99841ed0c8a8
- Parent:
- 5:79618eee4d54
- Child:
- 7:bfb2b5142c29
--- a/initiateWifi.cpp Thu May 25 11:41:21 2017 +0000 +++ b/initiateWifi.cpp Thu May 25 12:12:09 2017 +0000 @@ -21,11 +21,10 @@ "AT", "AT+RST", "AT+CWMODE=1", - "AT+CWJAP=\"Hotspot\",\"password\"", - "AT+CIFSR", - "AT+CIPMUX=1", - "AT+CIPSERVER=1,8080", - "AT+CIPSEND=0," + //"AT+CWJAP=\"Hotspot\",\"password\"", skip signing in for debugging purposes + "AT+CIPMUX=0", + "AT+CIPSTART=\"TCP\",\"172.217.23.19\",80", // change to 172.217.23.19\", \"80\"", + "AT+CIPSEND=0", };