From 8afe6b884b526f2ec3cf9eb6ae5ad5ac48ebad8f Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Mon, 23 May 2022 14:33:37 -0400 Subject: [PATCH] v1.3.1 to fix typo in `library.json` ### Releases v1.3.1 1. Fix typo in `library.json` 2. Update `Packages' Patches` --- CONTRIBUTING.md | 12 +++++----- README.md | 35 ++++++++++++++++-------------- changelog.md | 6 +++++ library.json | 2 +- library.properties | 2 +- platformio/platformio.ini | 2 ++ src/AsyncPrinter.cpp | 3 ++- src/AsyncPrinter.h | 3 ++- src/DebugPrintMacros.h | 3 ++- src/Portenta_H7_AsyncTCP.cpp | 3 ++- src/Portenta_H7_AsyncTCP.h | 12 ++++++++-- src/Portenta_H7_AsyncTCP_Debug.h | 11 +++++++++- src/Portenta_H7_AsyncTCPbuffer.cpp | 3 ++- src/Portenta_H7_AsyncTCPbuffer.h | 3 ++- src/SyncClient.cpp | 3 ++- src/SyncClient.h | 3 ++- src/async_config.h | 3 ++- src/tcp_axtls.c | 3 ++- src/tcp_axtls.h | 3 ++- 19 files changed, 78 insertions(+), 37 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 24e53c4..15447a3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p Please ensure to specify the following: -* Arduino IDE version (e.g. 1.8.16) or Platform.io version -* `ArduinoCore-mbed` Core Version (e.g. `ArduinoCore-mbed` mbed_portenta core v2.6.1) +* Arduino IDE version (e.g. 1.8.19) or Platform.io version +* `ArduinoCore-mbed` Core Version (e.g. `ArduinoCore-mbed` mbed_portenta core v3.1.1) * `Portenta_H7` Board type (e.g. Portenta_H7 Rev2 ABX00042, etc.) * Contextual information (e.g. what you were trying to achieve) * Simplest possible steps to reproduce @@ -27,11 +27,11 @@ Please ensure to specify the following: ### Example ``` -Arduino IDE version: 1.8.16 -`ArduinoCore-mbed` mbed_portenta core v2.6.1 +Arduino IDE version: 1.8.19 +`ArduinoCore-mbed` mbed_portenta core v3.1.1 Portenta_H7 Rev2 ABX00042 OS: Ubuntu 20.04 LTS -Linux xy-Inspiron-3593 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux +Linux xy-Inspiron-3593 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Context: I encountered a crash while using Ethernet Async_AdvancedWebServer. @@ -52,3 +52,5 @@ There are usually some outstanding feature requests in the [existing issues list ### Sending Pull Requests Pull Requests with changes and fixes are also welcome! + + diff --git a/README.md b/README.md index f35ea51..46f0078 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ [![GitHub issues](https://img.shields.io/github/issues/khoih-prog/Portenta_H7_AsyncTCP.svg)](http://github.com/khoih-prog/Portenta_H7_AsyncTCP/issues) -Buy Me A Coffee +Donate to my libraries using BuyMeACoffee + --- --- @@ -90,7 +91,7 @@ to apply the better and faster **asynchronous** feature of the **powerful** [ESP ## Prerequisites 1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest) - 2. [`ArduinoCore-mbed mbed_portenta core 2.7.2+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino **Portenta_H7** boards, such as **Portenta_H7 Rev2 ABX00042, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) + 2. [`ArduinoCore-mbed mbed_portenta core 3.1.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino **Portenta_H7** boards, such as **Portenta_H7 Rev2 ABX00042, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) --- --- @@ -115,7 +116,7 @@ Another way to install is to: 1. Install [VS Code](https://code.visualstudio.com/) 2. Install [PlatformIO](https://platformio.org/platformio-ide) -3. Install [**Portenta_H7_AsyncTCP** library](https://platformio.org/lib/show/12919/Portenta_H7_AsyncTCP) by using [Library Manager](https://platformio.org/lib/show/12919/Portenta_H7_AsyncTCP/installation). Search for **Portenta_H7_AsyncTCP** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22) +3. Install [**Portenta_H7_AsyncTCP** library](https://registry.platformio.org/libraries/khoih-prog/Portenta_H7_AsyncTCP) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/Portenta_H7_AsyncTCP/installation). Search for **Portenta_H7_AsyncTCP** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22) 4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html) --- @@ -125,12 +126,12 @@ Another way to install is to: #### 1. For Portenta_H7 boards using Arduino IDE in Linux - **To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh). + **To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh). Then run the following command using `sudo` ``` -$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1 +$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1 $ chmod 755 portenta_post_install.sh $ sudo ./portenta_post_install.sh ``` @@ -143,9 +144,9 @@ This will create the file `/etc/udev/rules.d/49-portenta_h7.rules` as follows: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="035b", GROUP="plugdev", MODE="0666" ``` -Supposing the ArduinoCore-mbed core version is 2.6.1. Now only one file must be copied into the directory: +Supposing the ArduinoCore-mbed core version is 3.1.1. Now only one file must be copied into the directory: -- `~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh` +- `~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh` Whenever a new version is installed, remember to copy this files into the new version directory. For example, new version is x.yy.zz @@ -157,7 +158,7 @@ This file must be copied into the directory: #### 2. To fix compile error relating to dns_gethostbyname and LwIP stack -#### Notes: Only for cores v2.5.2-. This fix is not necessary for core v2.6.1+ +#### Notes: Only for cores v2.5.2-. This fix is not necessary for core v3.1.1+ **To be able to compile, run on Portenta_H7 boards**, you have to copy the whole [mbed_portenta Packages_Patches](Packages_Patches/arduino/hardware/mbed_portenta/2.5.2) directory into Arduino mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.5.2). @@ -210,8 +211,8 @@ Following is the debug terminal and screen shot when running example [Async_Adva ``` Start Async_AdvancedWebServer on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library -Portenta_H7_AsyncTCP v1.3.0 -Portenta_H7_AsyncWebServer v1.2.0 +Portenta_H7_AsyncTCP v1.3.1 +Portenta_H7_AsyncWebServer v1.2.1 Using mac index = 4 Connected! IP address: 192.168.2.87 HTTP EthernetWebServer is @ IP : 192.168.2.87 @@ -233,8 +234,8 @@ Following is the debug terminal and screen shot when running example [Async_Adva ``` Start Async_AdvancedWebServer on PORTENTA_H7_M7 with Portenta_H7 WiFi -Portenta_H7_AsyncTCP v1.3.0 -Portenta_H7_AsyncWebServer v1.2.0 +Portenta_H7_AsyncTCP v1.3.1 +Portenta_H7_AsyncWebServer v1.2.1 Connecting to SSID: HueNet1 SSID: HueNet1 Local IP Address: 192.168.2.94 @@ -258,8 +259,8 @@ Following is the debug terminal when running example [AsyncHTTPRequest](https:// ``` Start AsyncHTTPRequest on PORTENTA_H7_M7 -Portenta_H7_AsyncTCP v1.3.0 -Portenta_H7_AsyncHTTPRequest v1.0.0 +Portenta_H7_AsyncTCP v1.3.1 +Portenta_H7_AsyncHTTPRequest v1.2.0 Connecting to SSID: HueNet1 SSID: HueNet1 Local IP Address: 192.168.2.94 @@ -293,8 +294,8 @@ Following is the debug terminal when running example [AsyncHTTPRequest](https:// ``` Start AsyncHTTPRequest on PORTENTA_H7_M7 -Portenta_H7_AsyncTCP v1.3.0 -Portenta_H7_AsyncHTTPRequest v1.0.0 +Portenta_H7_AsyncTCP v1.3.1 +Portenta_H7_AsyncHTTPRequest v1.2.0 Using mac index = 6 Connected! IP address: 192.168.2.87 Request sent @@ -388,6 +389,8 @@ Submit issues to: [Portenta_H7_AsyncTCP issues](https://github.com/khoih-prog/Po Many thanks for everyone for bug reporting, new feature suggesting, testing and contributing to the development of this library. +--- + ### Contributions and Thanks 1. Based on and modified from [Hristo Gochkov's ESPAsyncTCP](https://github.com/me-no-dev/ESPAsyncTCP). Many thanks to [Hristo Gochkov](https://github.com/me-no-dev) for great [ESPAsyncTCP Library](https://github.com/me-no-dev/ESPAsyncTCP) diff --git a/changelog.md b/changelog.md index b95a2b0..1d5ec48 100644 --- a/changelog.md +++ b/changelog.md @@ -11,6 +11,7 @@ ## Table of Contents * [Changelog](#changelog) + * [Releases v1.3.1](#Releases-v131) * [Releases v1.3.0](#Releases-v130) * [Releases v1.2.0](#Releases-v120) * [Releases v1.1.0](#Releases-v110) @@ -21,6 +22,11 @@ ## Changelog +### Releases v1.3.1 + +1. Fix typo in `library.json` +2. Update `Packages' Patches` + ### Releases v1.3.0 1. Fix compile error issue in mbed_portenta v2.6.1+ diff --git a/library.json b/library.json index d54fe6f..88a1a14 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Portenta_H7_AsyncTCP", - "version": "1.3.0", + "version": "1.3.1", "keywords": "http, communication, async, websocket, webserver, async-webserver, async-tcp, async-udp, async-websocket, async-http, ssl, tls, mbed, mbed-portenta, portenta-h7, portentah7, portenta-h7-m7, portenta-h7-m4, portentah7-m7, portentah7-m4, stm32h7", "description": "Asynchronous TCP Library for STM32H7-based Portenta_H7 using mbed_portenta core. This library is the base for future and more advanced Async libraries, such as AsyncWebServer, AsyncHTTPRequest, AsyncHTTPSRequest", "authors": diff --git a/library.properties b/library.properties index 877880c..f076c46 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Portenta_H7_AsyncTCP -version=1.3.0 +version=1.3.1 author=Hristo Gochkov,Khoi Hoang maintainer=Khoi Hoang sentence=Asynchronous TCP Library for STM32H7-based Portenta_H7 using mbed_portenta core diff --git a/platformio/platformio.ini b/platformio/platformio.ini index 14e8bb0..dd48804 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -39,6 +39,8 @@ upload_speed = 921600 ; Checks for the compatibility with frameworks and dev/platforms lib_compat_mode = strict +lib_ldf_mode = chain+ +;lib_ldf_mode = deep+ lib_deps = diff --git a/src/AsyncPrinter.cpp b/src/AsyncPrinter.cpp index 8f2a0f3..c1501e8 100644 --- a/src/AsyncPrinter.cpp +++ b/src/AsyncPrinter.cpp @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* Asynchronous TCP library for Espressif MCUs diff --git a/src/AsyncPrinter.h b/src/AsyncPrinter.h index e3b2e40..9e5454c 100644 --- a/src/AsyncPrinter.h +++ b/src/AsyncPrinter.h @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* Asynchronous TCP library for Espressif MCUs diff --git a/src/DebugPrintMacros.h b/src/DebugPrintMacros.h index a133417..5652023 100644 --- a/src/DebugPrintMacros.h +++ b/src/DebugPrintMacros.h @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ #ifndef _DEBUG_PRINT_MACROS_H diff --git a/src/Portenta_H7_AsyncTCP.cpp b/src/Portenta_H7_AsyncTCP.cpp index 7f3eeef..8f13f71 100644 --- a/src/Portenta_H7_AsyncTCP.cpp +++ b/src/Portenta_H7_AsyncTCP.cpp @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* diff --git a/src/Portenta_H7_AsyncTCP.h b/src/Portenta_H7_AsyncTCP.h index 209a170..f532953 100644 --- a/src/Portenta_H7_AsyncTCP.h +++ b/src/Portenta_H7_AsyncTCP.h @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* Asynchronous TCP library for Espressif MCUs @@ -81,7 +82,14 @@ #include #endif -#define PORTENTA_H7_ASYNC_TCP_VERSION "Portenta_H7_AsyncTCP v1.3.0" +#define PORTENTA_H7_ASYNC_TCP_VERSION "Portenta_H7_AsyncTCP v1.3.1" + +#define PORTENTA_H7_ASYNC_TCP_VERSION_MAJOR 1 +#define PORTENTA_H7_ASYNC_TCP_VERSION_MINOR 3 +#define PORTENTA_H7_ASYNC_TCP_VERSION_PATCH 1 + +#define PORTENTA_H7_ASYNC_TCP_VERSION_INT 1003001 + #define DEBUG_ESP_ASYNC_TCP true diff --git a/src/Portenta_H7_AsyncTCP_Debug.h b/src/Portenta_H7_AsyncTCP_Debug.h index 4fb3953..83ceaa0 100644 --- a/src/Portenta_H7_AsyncTCP_Debug.h +++ b/src/Portenta_H7_AsyncTCP_Debug.h @@ -9,7 +9,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/Portenta_H7_ASYNC_TCP Licensed under MIT license - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -17,6 +17,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ #pragma once @@ -57,22 +58,30 @@ #define ATCP_LOGERROR2(x,y,z) if(_PORTENTA_H7_ATCP_LOGLEVEL_>0) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINTLN(z); } #define ATCP_LOGERROR3(x,y,z,w) if(_PORTENTA_H7_ATCP_LOGLEVEL_>0) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINT(z); ATCP_PRINT_SP; ATCP_PRINTLN(w); } +///////////////////////////////////////////////////////// + #define ATCP_LOGWARN(x) if(_PORTENTA_H7_ATCP_LOGLEVEL_>1) { ATCP_PRINT_MARK; ATCP_PRINTLN(x); } #define ATCP_LOGWARN0(x) if(_PORTENTA_H7_ATCP_LOGLEVEL_>1) { ATCP_PRINT(x); } #define ATCP_LOGWARN1(x,y) if(_PORTENTA_H7_ATCP_LOGLEVEL_>1) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINTLN(y); } #define ATCP_LOGWARN2(x,y,z) if(_PORTENTA_H7_ATCP_LOGLEVEL_>1) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINTLN(z); } #define ATCP_LOGWARN3(x,y,z,w) if(_PORTENTA_H7_ATCP_LOGLEVEL_>1) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINT(z); ATCP_PRINT_SP; ATCP_PRINTLN(w); } +///////////////////////////////////////////////////////// + #define ATCP_LOGINFO(x) if(_PORTENTA_H7_ATCP_LOGLEVEL_>2) { ATCP_PRINT_MARK; ATCP_PRINTLN(x); } #define ATCP_LOGINFO0(x) if(_PORTENTA_H7_ATCP_LOGLEVEL_>2) { ATCP_PRINT(x); } #define ATCP_LOGINFO1(x,y) if(_PORTENTA_H7_ATCP_LOGLEVEL_>2) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINTLN(y); } #define ATCP_LOGINFO2(x,y,z) if(_PORTENTA_H7_ATCP_LOGLEVEL_>2) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINTLN(z); } #define ATCP_LOGINFO3(x,y,z,w) if(_PORTENTA_H7_ATCP_LOGLEVEL_>2) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINT(z); ATCP_PRINT_SP; ATCP_PRINTLN(w); } +///////////////////////////////////////////////////////// + #define ATCP_LOGDEBUG(x) if(_PORTENTA_H7_ATCP_LOGLEVEL_>3) { ATCP_PRINT_MARK; ATCP_PRINTLN(x); } #define ATCP_LOGDEBUG0(x) if(_PORTENTA_H7_ATCP_LOGLEVEL_>3) { ATCP_PRINT(x); } #define ATCP_LOGDEBUG1(x,y) if(_PORTENTA_H7_ATCP_LOGLEVEL_>3) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINTLN(y); } #define ATCP_LOGDEBUG2(x,y,z) if(_PORTENTA_H7_ATCP_LOGLEVEL_>3) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINTLN(z); } #define ATCP_LOGDEBUG3(x,y,z,w) if(_PORTENTA_H7_ATCP_LOGLEVEL_>3) { ATCP_PRINT_MARK; ATCP_PRINT(x); ATCP_PRINT_SP; ATCP_PRINT(y); ATCP_PRINT_SP; ATCP_PRINT(z); ATCP_PRINT_SP; ATCP_PRINTLN(w); } +///////////////////////////////////////////////////////// + #endif //PORTENTA_H7_ASYNC_TCP_DEBUG_H diff --git a/src/Portenta_H7_AsyncTCPbuffer.cpp b/src/Portenta_H7_AsyncTCPbuffer.cpp index 042b055..4b977c2 100644 --- a/src/Portenta_H7_AsyncTCPbuffer.cpp +++ b/src/Portenta_H7_AsyncTCPbuffer.cpp @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /** * @file Portenta_H7_AsyncTCPbuffer.cpp diff --git a/src/Portenta_H7_AsyncTCPbuffer.h b/src/Portenta_H7_AsyncTCPbuffer.h index c56d9d8..0ff73a9 100644 --- a/src/Portenta_H7_AsyncTCPbuffer.h +++ b/src/Portenta_H7_AsyncTCPbuffer.h @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /** * @file Portenta_H7_AsyncTCPbuffer.h diff --git a/src/SyncClient.cpp b/src/SyncClient.cpp index 3043489..b665bb8 100644 --- a/src/SyncClient.cpp +++ b/src/SyncClient.cpp @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* Asynchronous TCP library for Espressif MCUs diff --git a/src/SyncClient.h b/src/SyncClient.h index 01c3688..2b2fd0a 100644 --- a/src/SyncClient.h +++ b/src/SyncClient.h @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* Asynchronous TCP library for Espressif MCUs diff --git a/src/async_config.h b/src/async_config.h index 8babaf5..52621aa 100644 --- a/src/async_config.h +++ b/src/async_config.h @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ #ifndef _PORTENTA_H7_ASYNC_CONFIG_H_ diff --git a/src/tcp_axtls.c b/src/tcp_axtls.c index 4cfc578..32cbf3f 100644 --- a/src/tcp_axtls.c +++ b/src/tcp_axtls.c @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* Asynchronous TCP library for Espressif MCUs diff --git a/src/tcp_axtls.h b/src/tcp_axtls.h index 118c0b3..4a9fafb 100644 --- a/src/tcp_axtls.h +++ b/src/tcp_axtls.h @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . - Version: 1.3.0 + Version: 1.3.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -22,6 +22,7 @@ 1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi 1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2 1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+ + 1.3.1 K Hoang 23/05/2022 Fix typo in `library.json` *****************************************************************************************************************************/ /* Asynchronous TCP library for Espressif MCUs