Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
v1.5.0 to save heap when sending large data
Browse files Browse the repository at this point in the history
#### Releases v1.5.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) and [All memmove() removed - string no longer destroyed #11](khoih-prog/Portenta_H7_AsyncWebServer#11)
2. Add multiple examples to demo the new feature
  • Loading branch information
khoih-prog authored Oct 6, 2022
1 parent ea8c144 commit 4dd023a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `AsyncW
### Manual Install

1. Navigate to [AsyncWebServer_Ethernet](https://github.com/khoih-prog/AsyncWebServer_Ethernet) page.
2. Download the latest release `AsyncWebServer_Ethernet-master.zip`.
3. Extract the zip file to `AsyncWebServer_Ethernet-master` directory
4. Copy the whole `AsyncWebServer_Ethernet-master` folder to Arduino libraries' directory such as `~/Arduino/libraries/`.
2. Download the latest release `AsyncWebServer_Ethernet-main.zip`.
3. Extract the zip file to `AsyncWebServer_Ethernet-main` directory
4. Copy the whole `AsyncWebServer_Ethernet-main` folder to Arduino libraries' directory such as `~/Arduino/libraries/`.

### VS Code & PlatformIO:

Expand Down Expand Up @@ -1577,7 +1577,7 @@ HTTP EthernetWebServer is @ IP : 192.168.2.188
Following is the debug terminal and screen shot when running example [Async_AdvancedWebServer_MemoryIssues_Send_CString](examples/Async_AdvancedWebServer_MemoryIssues_Send_CString), on `ESP8266_NODEMCU_ESP12E with ESP8266_W5500 Ethernet`, to demonstrate the new and powerful `HEAP-saving` feature


##### Using CString ===> smaller heap (116,280 bytes)
##### Using CString ===> smaller heap (16,280 bytes)

```
Start Async_AdvancedWebServer_MemoryIssues_Send_CString on ESP8266_NODEMCU_ESP12E with ESP8266_W5500 Ethernet
Expand Down

0 comments on commit 4dd023a

Please sign in to comment.