Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
855 changes: 773 additions & 82 deletions ESP8266.cpp

Large diffs are not rendered by default.

376 changes: 318 additions & 58 deletions ESP8266.h

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ will be useful for Arduino lovers.
bool setOprToSoftAP (void) : Set operation mode to softap.

bool setOprToStationSoftAP (void) : Set operation mode to station + softap.

uint8_t getOprMode(void) : Get the operation mode.

String getAPList (void) : Search available AP list and return it.

Expand Down Expand Up @@ -85,6 +87,10 @@ will be useful for Arduino lovers.
bool send (const uint8_t *buffer, uint32_t len) : Send data based on TCP or UDP builded already in single mode.

bool send (uint8_t mux_id, const uint8_t *buffer, uint32_t len) : Send data based on one of TCP or UDP builded already in multiple mode.

bool sendFromFlash (const uint8_t *buffer, uint32_t len) : Send data based on TCP or UDP builded already in single mode.

bool sendFromFlash (uint8_t mux_id, const uint8_t *buffer, uint32_t len) : Send data based on one of TCP or UDP builded already in multiple mode.

uint32_t recv (uint8_t *buffer, uint32_t buffer_size, uint32_t timeout=1000) : Receive data from TCP or UDP builded already in single mode.

Expand All @@ -105,6 +111,18 @@ will be useful for Arduino lovers.
- [Iteaduino UNO](http://imall.iteadstudio.com/im130312001.html)
- [WBoard Pro](http://imall.iteadstudio.com/im141125005.html)

# Select the version of ESP8266 AT Firmware

At present, this library supports ESP8266 AT 0.18 version and 0.22 version. You
can select one of them to fit your module by modifing this line in `ESP8266.h`:

#define USER_SEL_VERSION VERSION_18

If you want to select 0.22 version, it should be like below after modification:

#define USER_SEL_VERSION VERSION_22


# Using SoftwareSerial

If you want to use SoftwareSerial to communicate with ESP8266, you need to modify
Expand Down
6 changes: 3 additions & 3 deletions doc/API-html/_connect_wi_fi_8ino-example.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions doc/API-html/_connect_wi_fi_8ino_source.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion doc/API-html/_e_s_p8266_8cpp.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading