From 1cb531b203d22a202ddc605c40b773de6f0539df Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Sun, 14 Jan 2024 23:17:49 +0100 Subject: [PATCH] Switch to AsyncTCP fork from ESPHome which supports ipv6 and also allows to configure the async_http task stack size with CONFIG_ASYNC_TCP_STACK_SIZE --- .github/workflows/build_arduino-ide.yml | 2 +- .github/workflows/build_platformio.yml | 4 ++-- README.md | 2 +- docs/index.md | 2 +- library.json | 12 ++++++------ 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_arduino-ide.yml b/.github/workflows/build_arduino-ide.yml index 1580201..acbd95b 100644 --- a/.github/workflows/build_arduino-ide.yml +++ b/.github/workflows/build_arduino-ide.yml @@ -58,5 +58,5 @@ jobs: libraries: | - name: espMqttClient source-path: ./ - - name: ESPAsyncTCP + - name: AsyncTCP source-url: https://github.com/me-no-dev/AsyncTCP.git diff --git a/.github/workflows/build_platformio.yml b/.github/workflows/build_platformio.yml index 7435dee..0c4348b 100644 --- a/.github/workflows/build_platformio.yml +++ b/.github/workflows/build_platformio.yml @@ -28,7 +28,7 @@ jobs: - name: Install PlatformIO Core run: pip install --upgrade platformio - name: Download external libraries - run: pio pkg install --global --library me-no-dev/EspAsyncTCP + run: pio pkg install --global --library esphome/EspAsyncTCP-esphome - name: Build PlatformIO examples run: pio ci --lib="." --board=d1_mini env: @@ -58,7 +58,7 @@ jobs: - name: Install PlatformIO Core run: pip install --upgrade platformio - name: Download external libraries - run: pio pkg install --global --library me-no-dev/AsyncTCP + run: pio pkg install --global --library esphome/AsyncTCP-esphome - name: Build PlatformIO examples run: pio ci --lib="." --board=lolin32 env: diff --git a/README.md b/README.md index b330fdd..7034003 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Aims to be a non-blocking, fully compliant MQTT 3.1.1 client. - TCP and TCP/TLS using standard WiFiClient and WiFiClientSecure connections - Virtually unlimited incoming and outgoing payload sizes - Readable and understandable code -- Fully async clients available via [AsyncTCP](https://github.com/me-no-dev/AsyncTCP) or [ESPAsnycTCP](https://github.com/me-no-dev/ESPAsyncTCP) (no TLS supported) +- Fully async clients available via [AsyncTCP](https://github.com/esphome/AsyncTCP) or [ESPAsnycTCP](https://github.com/esphome/ESPAsyncTCP) (no TLS supported) - Supported platforms: - Espressif ESP8266 and ESP32 using the Arduino framework - Espressif ESP32 using the ESP IDF, see [esp idf component](https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html) diff --git a/docs/index.md b/docs/index.md index 152690a..077686b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,7 +10,7 @@ - TCP and TCP/TLS using standard WiFiClient and WiFiClientSecure connections - Virtually unlimited incoming and outgoing payload sizes - Readable and understandable code -- Fully async clients available via [AsyncTCP](https://github.com/me-no-dev/AsyncTCP) or [ESPAsnycTCP](https://github.com/me-no-dev/ESPAsyncTCP) (no TLS supported) +- Fully async clients available via [AsyncTCP](https://github.com/esphome/AsyncTCP) or [ESPAsnycTCP](https://github.com/esphome/ESPAsyncTCP) (no TLS supported) - Supported platforms: - Espressif ESP8266 and ESP32 using the Arduino framework - Basic Linux compatibility*. This includes WSL on Windows diff --git a/library.json b/library.json index 6e6dbbc..4c7c929 100644 --- a/library.json +++ b/library.json @@ -20,15 +20,15 @@ "headers": ["espMqttClient.h", "espMqttClientAsync.h"], "dependencies": [ { - "owner": "me-no-dev", - "name": "ESPAsyncTCP", - "version": ">=1.2.2", + "owner": "esphome", + "name": "ESPAsyncTCP-esphome", + "version": ">=2.0.0", "platforms": "espressif8266" }, { - "owner": "me-no-dev", - "name": "AsyncTCP", - "version": ">=1.1.1", + "owner": "esphome", + "name": "AsyncTCP-esphome", + "version": ">=2.1.1", "platforms": "espressif32" } ],