You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project moved to [ESP32Async](https://github.com/ESP32Async) organization at [https://github.com/ESP32Async/AsyncTCP](https://github.com/ESP32Async/AsyncTCP)
-`https://github.com/ESP32Async/AsyncTCPSock/archive/refs/tags/v1.0.3-dev.zip` (AsyncTCP alternative for ESP32)
19
-
-`khoih-prog/AsyncTCP_RP2040W` (RP2040)
20
-
21
-
### Async TCP Library for ESP32 Arduino
11
+
## Async TCP Library for ESP32 Arduino
22
12
23
13
This is a fully asynchronous TCP library, aimed at enabling trouble-free, multi-connection network environment for Espressif's ESP32 MCUs.
24
14
25
15
This library is the base for [ESPAsyncWebServer](https://github.com/ESP32Async/ESPAsyncWebServer)
26
16
17
+
## How to install
18
+
19
+
The library can be downloaded from the releases page at [https://github.com/ESP32Async/AsyncTCP/releases](https://github.com/ESP32Async/AsyncTCP/releases).
- Use: `lib_deps=ESP32Async/AsyncTCP` to point to latest version
30
+
- Use: `lib_deps=ESP32Async/AsyncTCP @ ^<x.y.z>` to point to latest version with the same major version
31
+
- Use: `lib_deps=ESP32Async/AsyncTCP @ <x.y.z>` to always point to the same version (reproductible build)
32
+
27
33
## AsyncClient and AsyncServer
28
34
29
35
The base classes on which everything else is built. They expose all possible scenarios, but are really raw and require more skills to use.
30
36
31
-
## Changes
32
-
33
-
-`library.properties` for Arduino IDE users
34
-
- Add `CONFIG_ASYNC_TCP_MAX_ACK_TIME`
35
-
- Add `CONFIG_ASYNC_TCP_PRIORITY`
36
-
- Add `CONFIG_ASYNC_TCP_QUEUE_SIZE`
37
-
- Add `setKeepAlive()`
38
-
- Arduino 3 / ESP-IDF 5 compatibility
39
-
- Better CI
40
-
- Better example
41
-
- Customizable macros
42
-
- Fix for "Required to lock TCPIP core functionality". Ref: https://github.com/ESP32Async/AsyncTCP/issues/27 and https://github.com/espressif/arduino-esp32/issues/10526
43
-
- Fix for "ack timeout 4" client disconnects.
44
-
- Fix from https://github.com/me-no-dev/AsyncTCP/pull/173 (partially applied)
45
-
- Fix from https://github.com/me-no-dev/AsyncTCP/pull/184
46
-
- IPv6
47
-
- LIBRETINY support
48
-
- LibreTuya
49
-
- Reduce logging of non critical messages
50
-
- Use IPADDR6_INIT() macro to set connecting IPv6 address
51
-
- xTaskCreateUniversal function
52
-
53
37
## Important recommendations
54
38
55
39
Most of the crashes are caused by improper configuration of the library for the project.
@@ -64,3 +48,8 @@ I personally use the following configuration in my projects:
64
48
-D CONFIG_ASYNC_TCP_RUNNING_CORE=1// force async_tcp task to be on same core as the app (default is core 0)
65
49
-D CONFIG_ASYNC_TCP_STACK_SIZE=4096// reduce the stack size (default is 16K)
0 commit comments