HTTP Client with ESP8266 working example
Dependencies: ESP8266Interface HTTPClient-SSL WebSocketClient mbed-rtos mbed
Fork of ESP8266_WebSockets_HelloWorld by
This repository has been superceded
This project has moved to https://developer.mbed.org/teams/ESP8266/code/mbed-os-example-esp8266/
Introduction
This is a basic Hello World program for interfacing the ESP8266 chip with HTTP. It will execute a GET on httpbin.org/get, and a POST to httpbin.org/post.
ESP8266_HTTP_HelloWorld
- change ssid and passphrase to match your wifi connection
- Initialize ESP8266 with DHCP enabled
- Get mbed.org
- Print the information retrieved
- Post to httbin.org
- Print the information retrieved
You can view the information retrieved through a serial terminal set to 9600 baud.
Successful Execution
you should see something like the following on the terminal if the program successfully executes.
History
Unincluded TCPSocketServer-not needed
2015-06-09, by sarahmarshy [Tue, 09 Jun 2015 17:49:47 +0000] rev 18
Unincluded TCPSocketServer-not needed
New page to get from. Larger buffer for getting headers.
2015-06-09, by sarahmarshy [Tue, 09 Jun 2015 16:31:03 +0000] rev 17
New page to get from. Larger buffer for getting headers.
Changed print messagess. Changed baud to 9600.
2015-06-08, by sarahmarshy [Mon, 08 Jun 2015 17:48:22 +0000] rev 16
Changed print messagess. Changed baud to 9600.
New demossid;
2015-06-05, by sarahmarshy [Fri, 05 Jun 2015 21:10:48 +0000] rev 15
New demossid;
Main program working
2015-06-05, by sarahmarshy [Fri, 05 Jun 2015 16:17:26 +0000] rev 14
Main program working
Changed message sent
2015-06-03, by sarahmarshy [Wed, 03 Jun 2015 19:03:50 +0000] rev 13
Changed message sent
Web sockets for ESP8266!
2015-06-03, by sarahmarshy [Wed, 03 Jun 2015 18:47:14 +0000] rev 12
Web sockets for ESP8266!
Schenanigans
2015-05-01, by mbedAustin [Fri, 01 May 2015 18:29:45 +0000] rev 11
Schenanigans
TCP Working, UDP Not Working
2015-05-01, by mbedAustin [Fri, 01 May 2015 17:56:04 +0000] rev 10
TCP Working, UDP Not Working
Working with TCP, not working with UDP yet.
2015-05-01, by mbedAustin [Fri, 01 May 2015 17:54:08 +0000] rev 9
Working with TCP, not working with UDP yet.