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
{{ message }}
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
#### Releases v1.6.0
1. Support using `CString` to save heap to send `very large data`. Check [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](khoih-prog/Portenta_H7_AsyncWebServer#8)
2. Add multiple examples to demo the new feature
*[1. AsyncMultiWebServer_WT32_ETH01 on WT32-ETH01 with ETH_PHY_LAN8720](#1-asyncmultiwebserver_wt32_eth01-on-wt32-eth01-with-eth_phy_lan8720)
94
+
*[2. Async_AdvancedWebServer_MemoryIssues_Send_CString on WT32-ETH01 with ETH_PHY_LAN8720](#2-Async_AdvancedWebServer_MemoryIssues_Send_CString-on-wt32-eth01-with-eth_phy_lan8720)
91
95
*[Debug](#debug)
92
96
*[Troubleshooting](#troubleshooting)
93
97
*[Issues](#issues)
@@ -98,6 +102,62 @@
98
102
*[License](#license)
99
103
*[Copyright](#copyright)
100
104
105
+
---
106
+
---
107
+
108
+
### Important Note from v1.6.0
109
+
110
+
The new `v1.6.0` has added a new and powerful feature to permit using `CString` to save heap to send `very large data`.
111
+
112
+
Check the `marvelleous` PR of **@salasidis**[request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8) and these new examples
#### 8. Async_AdvancedWebServer_MemoryIssues_Send_CString on RASPBERRY_PI_PICO_W
1474
+
1475
+
Following is the debug terminal and screen shot when running example [Async_AdvancedWebServer_MemoryIssues_Send_CString](examples/Async_AdvancedWebServer_MemoryIssues_Send_CString) on RASPBERRY_PI_PICO_W to demonstrate the new and powerful `HEAP-saving` feature
1476
+
1477
+
1478
+
##### Using CString ===> smaller heap (120,876 bytes)
1479
+
1480
+
```
1481
+
Start Async_AdvancedWebServer_MemoryIssues_Send_CString on WT32-ETH01 with ETH_PHY_LAN8720
1482
+
AsyncWebServer_WT32_ETH01 v1.6.0 for core v2.0.0+
1483
+
1484
+
ETH Started
1485
+
ETH Connected
1486
+
ETH MAC: A8:48:FA:08:4B:FF, IPv4: 192.168.2.76
1487
+
FULL_DUPLEX, 100Mbps
1488
+
HTTP EthernetWebServer is @ IP : 192.168.2.232
1489
+
1490
+
HEAP DATA - Pre Create Arduino String Max heap: 326680 Free heap: 216212 Used heap: 110468
1491
+
.
1492
+
HEAP DATA - Pre Send Max heap: 326680 Free heap: 212292 Used heap: 114388
1493
+
1494
+
HEAP DATA - Post Send Max heap: 326680 Free heap: 205848 Used heap: 120832
1495
+
.
1496
+
HEAP DATA - Post Send Max heap: 326680 Free heap: 205816 Used heap: 120864
1497
+
..
1498
+
HEAP DATA - Post Send Max heap: 326680 Free heap: 205812 Used heap: 120868
1499
+
...... ..
1500
+
HEAP DATA - Post Send Max heap: 326680 Free heap: 205804 Used heap: 120876
@@ -1451,19 +1581,22 @@ Submit issues to: [AsyncWebServer_WT32_ETH01 issues](https://github.com/khoih-pr
1451
1581
6. Auto detect ESP32 core v1.0.6- or v2.0.0+ to use correct settings
1452
1582
7. Display compiler `#warning` only when DEBUG_LEVEL is 3+
1453
1583
8. Fix AsyncWebSocket bug
1454
-
1584
+
9. Support using `CString` to save heap to send `very large data`. Check [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8)
1585
+
1586
+
1455
1587
---
1456
1588
---
1457
1589
1458
1590
1459
1591
### Contributions and Thanks
1460
1592
1461
1593
1. Based on and modified from [Hristo Gochkov's ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer). Many thanks to [Hristo Gochkov](https://github.com/me-no-dev) for great [ESPAsyncWebServer Library](https://github.com/me-no-dev/ESPAsyncWebServer)
1462
-
1594
+
2. Thanks to [salasidis](https://github.com/salasidis) aka [rs77can](https://forum.arduino.cc/u/rs77can) to discuss and make the mavellous PR [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8), leading to `v1.2.0` to support using `CString` to save heap to send `very large data`
0 commit comments