ESP8266 Socket Library. AT Thinker firmware.

Dependents:   ESP8266_MQTT_HelloWorld ESP8266_IFTTT_Test ECE_4180_Lab_4 websocketmbed ... more

Fork of ESP8266Interface by ESP8266

This repository has been superceded

This project has moved to https://developer.mbed.org/teams/ESP8266/code/esp8266-driver/

This library works with the AT Thinker firmware.

Note

This library is currently in Beta. It is not feature complete and has some bugs, proceed with caution! Fixes and patches are welcome and appreciated!

Currently the ESP8266Interface Library has the following Abilities:

Working

  • TCP Client
  • UDP Client
  • Transparent mode (single connection of 1 type at a time)
  • Station Mode (connects to AP)

To be implemented

  • TCP Server
  • UDP Server
  • Multi Connection Mode (able to have up to 5 sockets at a time)
  • AP Mode (Make ESP Chip act like access point)
  • DNS Support (currently websites must be looked up by IP)
  • Error Recovery

Nice but not necessary

  • colorized text for ESP AT Commands in Command line (easier to differentiate from other text)

Revisions of ESP8266/ESP8266.cpp

Revision Date Message Actions
48:03fd9333670d 2015-06-10 ESP8266 was changing ssid spaces to "$". Unecessary. Removed this feature. File  Diff  Annotate
47:1f4dd0e91837 2015-06-08 turned off info print messages File  Diff  Annotate
46:913d07795182 2015-06-05 Debug messages off File  Diff  Annotate
45:c180905b5b79 2015-06-03 merging in fixes from various members across various branches together. File  Diff  Annotate
44:3a7b6083210b 2015-06-03 -UDP Client working ; -Interfaces with WebSocketClient; -General improvements File  Diff  Annotate
43:2e326d95fe2c 2015-05-07 added warning about sending messages > 2048 bytes File  Diff  Annotate
42:3f62103a4f3c 2015-05-07 enabled TCPConnection debug messages, made tcpconnection and socket messages more verbose (file and line number included in output) File  Diff  Annotate
41:264902b160ea 2015-05-07 cleaned up DBG printf messages, made print pretty File  Diff  Annotate
40:0a83315aea0a 2015-05-04 Update so close exits transparent mode without depending on state from the application File  Diff  Annotate
38:86e75901efc1 2015-05-02 trying to merge things together... File  Diff  Annotate
37:6887e61cf674 2015-05-02 Updated UDP LIbrary sentto command to initialize endpoint flag. was lost in a previous commit on accident. File  Diff  Annotate
36:e1545c6c2cb3 2015-05-02 updated debug command prints File  Diff  Annotate
34:7ccda5d68a00 2015-05-01 safety commit File  Diff  Annotate
32:cf071dc33972 2015-04-30 TCP Send / Recieve Working File  Diff  Annotate
30:c035696b9397 2015-04-29 Safety Save File  Diff  Annotate
29:939372104145 2015-04-28 Added IP Function, made all Serials RAWSerials; File  Diff  Annotate
28:91e65e22e63a 2015-04-28 aquiring IP Address correctly, but not returning it from inner call level. Safety commit before mucking around File  Diff  Annotate
26:0d5bcb3903e2 2014-12-30 set baud rate and remove printf from rx handler File  Diff  Annotate
25:8e2b04473830 2014-12-30 Starting AT v0.2 support for ESP8266 File  Diff  Annotate
24:03585a13ff3b 2014-12-11 Added hardware reset File  Diff  Annotate
23:de9221771e96 2014-12-08 Added CWMODE command to join() File  Diff  Annotate
22:c4360e61486a 2014-12-02 Add state.cmdMode and some cleanup File  Diff  Annotate
20:d764237405c2 2014-12-01 cleanup File  Diff  Annotate
19:fb8d5bff2076 2014-12-01 sync File  Diff  Annotate
18:60422852e99c 2014-12-01 sending stuff File  Diff  Annotate
17:d11fa4c3ac65 2014-12-01 working sort of File  Diff  Annotate
16:3f0efaa57a12 2014-12-01 sync File  Diff  Annotate
15:37a7a56a424f 2014-11-30 reorganize File  Diff  Annotate
14:4d1128f72e00 2014-11-30 Add getIPAddress File  Diff  Annotate
13:41098c907200 2014-11-30 First commit function templates for lightweight UDP client interface to ESP8266 File  Diff  Annotate | base