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 Socket/UDPSocket.cpp

Revision Date Message Actions
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
40:0a83315aea0a 2015-05-04 Update so close exits transparent mode without depending on state from the application File  Diff  Annotate
39:89e259295728 2015-05-02 trying to merge a previous rev 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
34:7ccda5d68a00 2015-05-01 safety commit File  Diff  Annotate
31:fd0eaf273b11 2015-04-30 safety commit File  Diff  Annotate
30:c035696b9397 2015-04-29 Safety Save File  Diff  Annotate
27:9c6cefc12f0c 2015-04-20 Blocking 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
21:690526f05fe6 2014-12-02 Fix recieveFrom loop to have 2 stage timeout in non-blocking case, return 0 bytes File  Diff  Annotate
19:fb8d5bff2076 2014-12-01 sync File  Diff  Annotate
16:3f0efaa57a12 2014-12-01 sync File  Diff  Annotate
13:41098c907200 2014-11-30 First commit function templates for lightweight UDP client interface to ESP8266 File  Diff  Annotate
12:c5f0eac67a8a 2014-10-08 Debug File  Diff  Annotate
4:0bcec6272784 2012-12-20 proper join after reboot - increase size flush File  Diff  Annotate
1:fb4494783863 2012-08-24 first commit File  Diff  Annotate