Socket interface for ESP8266. Implements the NetworkSocketAPI. Requires device to use the Espressif Firmware.

Dependencies:   ESP8266

Dependents:   ESP8266InterfaceTests HelloESP8266Interface

Fork of ESP8266Interface by NetworkSocketAPI

Note

This library assumes your ESP8266 is running the Espressif Firmware. For instructions on how to update your ESP8266 to use the correct firmware see the Firmware Update Wiki Page.

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 implimented

  • 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 ESP8266Interface.h

Revision Date Message Actions
57:2ad35ade7a83 2016-05-10 Minor documentation changes File  Diff  Annotate
56:34829ec3a3da 2016-04-21 Match changes to the NSAPI File  Diff  Annotate
53:8ded612adb96 2016-03-09 change ESP8266Socket from struct to class File  Diff  Annotate
51:eb8c3577e22d 2016-02-29 Moved ESP8266Socket into private class in ESP8266Interface File  Diff  Annotate
50:2d7f6b97234e 2016-02-29 Matched changes to NetworkSocketAPI File  Diff  Annotate
49:750ed1b67483 2016-02-26 Updated file summary in comment File  Diff  Annotate
46:6b1bd1268074 2016-02-25 Removed storing IP address locally File  Diff  Annotate
42:4bf09cadf328 2016-02-24 Moved ESP8266Socket entirely into ESP8266Interface.cpp File  Diff  Annotate
40:83c6b4129468 2016-02-24 Moved ESP8266SocketInterface into ESP8266Interface File  Diff  Annotate
38:eb1e46561a19 2016-02-23 Matched changes to NetworkSocketAPI File  Diff  Annotate
36:3d55c7187e34 2016-02-23 Increased delay on connect File  Diff  Annotate
34:9c26a3dcdc1f 2016-02-22 Matched changes in NetworkSocketAPI File  Diff  Annotate
30:c19f1e61063b 2015-12-28 expose debug through the constructor. Fix bug when deallocating sockets if they haven't been allocated (check for null) File  Diff  Annotate
26:6e36dd3cec3f 2015-07-27 Merge File  Diff  Annotate
25:91c4e9d34b77 2015-07-27 DnsQuery support File  Diff  Annotate
24:37504440f296 2015-07-26 Updates File  Diff  Annotate
23:fd0f3197c30b 2015-07-23 Moved AT commands to driver File  Diff  Annotate
22:312453862371 2015-07-22 Updated socket internals. Implemented getHandle function in ESP8266. File  Diff  Annotate
20:5d0762aa4680 2015-07-21 Fixed getIPAddress File  Diff  Annotate
18:9fc7976c7b27 2015-07-17 ESP8266 driver implemented on top of NetworkSocketAPI File  Diff  Annotate
10:80ece8d5aa2d 2015-06-17 Giving it a name. Being abstract was making thing confusing File  Diff  Annotate