Go to file
Mark D bb0a194bb7 fix WiFiClient.connected() (#3654)
WiFiClient.connected() was hanging thinking there was still a connection when the remote had already closed. The one-liner in this patch addresses recv() returning 0 and errno==128. I couldn't find the corresponding errno for 128 but its caught by the case statement which includes EPIPE, ENOTCONN, ECONNRESET and ECONNABORTED so I assume its one of those. Broken pipe maybe?
```c
[D][WiFiClient.cpp:511] connected(): Disconnected: RES: 0, ERR: 128
```
EDIT: added comment to reflect that recv() can set errno when it returns 0.
2020-01-21 12:36:03 +02:00
.github CI can be used on windows desktop with msys 2019-10-02 20:03:43 +03:00
cores/esp32 Implement rmtLoop to be able to continuously send pulses (#3650) 2020-01-20 19:43:13 +02:00
docs Docs for lib builder (#3415) 2019-11-11 15:30:52 +01:00
libraries fix WiFiClient.connected() (#3654) 2020-01-21 12:36:03 +02:00
package Add ARM toolchain 2019-10-01 21:48:03 +03:00
tools IDF release/v3.3 (#3339) 2020-01-20 22:07:04 +02:00
variants Add HONEYLemon board (#3640) 2020-01-20 16:12:02 +02:00
.gitignore Expand gitignore to cover files created by Visual Micro (#2934) 2019-07-09 19:28:04 +03:00
.gitmodules Set ESP-IDF to 3.2 (#2662) 2019-04-12 15:43:53 +02:00
.travis.yml Use Github Actions for release (#3309) 2019-10-01 10:44:04 +03:00
boards.txt Add HONEYLemon board (#3640) 2020-01-20 16:12:02 +02:00
CMakeLists.txt Fix recent commit d8b2098 (PR #3377) which includes esp_adc_cal component but does not update CMakeLists.txt (#3648) 2020-01-20 18:40:40 +02:00
component.mk Fix compilation errors when used as IDF component 2019-01-26 21:37:03 +01:00
Kconfig.projbuild Make a selective menuconfig option for FFat (#2966) 2019-07-09 19:14:53 +03:00
LICENSE.md Add LGPL 2.1 License 2019-04-16 03:08:50 +02:00
Makefile.projbuild Remove duplicate ota_data flashing under IDF 2018-08-16 13:34:47 +02:00
package.json Initial version of build script for @PlatformIO; CI integration for Linux, macOS and Windows (#153) 2017-01-28 14:19:56 +02:00
platform.txt IDF release/v3.3 (#3339) 2020-01-20 22:07:04 +02:00
programmers.txt initial import 2016-10-06 07:09:44 -06:00
README.md Update README.md (#3353) 2019-10-14 20:38:04 +03:00

Arduino core for the ESP32

Build Status

Need help or have a question? Join the chat at https://gitter.im/espressif/arduino-esp32

Contents

Development Status

Latest stable release Release Version Release Date Downloads

Latest development release Development Version Development Date Downloads

Installation Instructions

Decoding exceptions

You can use EspExceptionDecoder to get meaningful call trace.

Issue/Bug report template

Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as for reference.

Finally, if you are sure no one else had the issue, follow the ISSUE_TEMPLATE while reporting any issue.

ESP32Dev Board PINMAP

Pin Functions

Tip

Sometimes to program ESP32 via serial you must keep GPIO0 LOW during the programming process