ESP8266 web sockets
Dependencies: ESP8266Interface WebSocketClient mbed
Fork of ESP8266_Test 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 websockets. It will connect and send a message to this web socket server location: 192.168.1.20 : 8888.
You can find the python server code here.
ESP8266_WebSockets_HelloWorld
- Initiliaze ESP8266 with DHCP enabled
- Create a socketed connection with the above server
- It will send this message "n WebSocket Hello World over wifi", where n is the number of times it has sent.
- Websocket server echoes the string sent (backwards)
You can view the debug messages of this program by using a serial terminal set to 115200 baud.
History
Added send message printf(), removed unnecessary pc.printf. Made UART baud rate 9600 to match default of others.
2015-06-08, by mbedAustin [Mon, 08 Jun 2015 21:32:56 +0000] rev 14
Added send message printf(), removed unnecessary pc.printf. Made UART baud rate 9600 to match default of others.
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.
safety commit, working on UDP
2015-05-01, by mbedAustin [Fri, 01 May 2015 15:40:01 +0000] rev 8
safety commit, working on UDP
Validation of TCP with TCPEchoClient (http://developer.mbed.org/teams/mbed/code/TCPEchoClient/)
2015-04-30, by mbedAustin [Thu, 30 Apr 2015 21:26:41 +0000] rev 7
Validation of TCP with TCPEchoClient (http://developer.mbed.org/teams/mbed/code/TCPEchoClient/)
TCP Send / Receive Working
2015-04-30, by mbedAustin [Thu, 30 Apr 2015 19:07:47 +0000] rev 6
TCP Send / Receive Working
safety commit
2015-04-30, by mbedAustin [Thu, 30 Apr 2015 04:53:26 +0000] rev 5
safety commit