Simple HTTP GET and POST with ESP8266.

Dependencies:   ESP8266Interface HTTPClient-SSL WebSocketClient mbed-rtos mbed

Fork of ESP8266_HTTP_HelloWorld by ESP8266

Files at this revision

API Documentation at this revision

Comitter:
janjongboom
Date:
Tue May 03 13:42:28 2016 +0000
Parent:
19:cd46817e9acf
Commit message:
Put placeholders for SSID/PWD

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue May 03 13:41:35 2016 +0000
+++ b/main.cpp	Tue May 03 13:42:28 2016 +0000
@@ -4,8 +4,8 @@
 #include "TCPSocketConnection.h"
 #include "Websocket.h"
 
-const char* ssid = "janUK";
-const char* pwd = "0624710192";
+const char* ssid = "YOUR_SSID";
+const char* pwd = "YOUR_PWD";
 
 ESP8266Interface wifi(D8, D2, D7, ssid, pwd, 115200); // TX,RX,Reset,SSID,Password,Baud
 RawSerial pc(USBTX, USBRX); // tx, rx