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

Commit 6d2b6f5

Browse files
authored
v1.6.2 for ESP32 + ENC28J60
#### Releases v1.6.2 1. Initial coding to port [ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer) to ESP32 boards using ENC28J60 Ethernet. 2. Bump up to `v1.6.2` to sync with [AsyncWebServer_ESP32_ENC v1.6.2](https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC). 3. Use `allman astyle`
1 parent e11b91e commit 6d2b6f5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ This is very critical in use-cases where sending `very large data` is necessary,
131131

132132
1. The traditional function used to send `Arduino String` is
133133

134-
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/6c499f1d3e91b1e33f86f3d9c6a36fa60470a38f/src/AsyncWebServer_ESP32_ENC.h#L518
134+
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/e11b91ed539146ded506b2e9453d10a0e54b1bcb/src/AsyncWebServer_ESP32_ENC.h#L498
135135

136136
```cpp
137137
void send(int code, const String& contentType = String(), const String& content = String());
@@ -147,7 +147,7 @@ The required additional HEAP is about **3 times of the String size**
147147

148148
2. To use `CString` with copying while sending. Use function
149149

150-
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/6c499f1d3e91b1e33f86f3d9c6a36fa60470a38f/src/AsyncWebServer_ESP32_ENC.h#L520
150+
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/e11b91ed539146ded506b2e9453d10a0e54b1bcb/src/AsyncWebServer_ESP32_ENC.h#L500
151151

152152
```cpp
153153
void send(int code, const String& contentType, const char *content, bool nonDetructiveSend = true); // RSMOD
@@ -164,7 +164,7 @@ The required additional HEAP is also about **2 times of the CString size** becau
164164

165165
3. To use `CString` without copying while sending. Use function
166166

167-
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/6c499f1d3e91b1e33f86f3d9c6a36fa60470a38f/src/AsyncWebServer_ESP32_ENC.h#L520
167+
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/e11b91ed539146ded506b2e9453d10a0e54b1bcb/src/AsyncWebServer_ESP32_ENC.h#L500
168168

169169
```cpp
170170
void send(int code, const String& contentType, const char *content, bool nonDetructiveSend = true); // RSMOD
@@ -1488,7 +1488,7 @@ build_flags =
14881488

14891489
### Example [Async_AdvancedWebServer](examples/Async_AdvancedWebServer)
14901490

1491-
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/b24816d562013bb868e450863c1ab8bbb77fb8ee/examples/Async_AdvancedWebServer/Async_AdvancedWebServer.ino#L41-L194
1491+
https://github.com/khoih-prog/AsyncWebServer_ESP32_ENC/blob/e11b91ed539146ded506b2e9453d10a0e54b1bcb/examples/Async_AdvancedWebServer/Async_AdvancedWebServer.ino#L41-L252
14921492

14931493

14941494
You can access the Async Advanced WebServer @ the server IP
@@ -1554,7 +1554,7 @@ You can access the Async Advanced WebServers @ the server IP and corresponding p
15541554
Following is the debug terminal and screen shot when running example [Async_AdvancedWebServer_MemoryIssues_Send_CString](examples/Async_AdvancedWebServer_MemoryIssues_Send_CString), on `ESP32_DEV with ESP32_ENC28J60`, to demonstrate the new and powerful `HEAP-saving` feature
15551555
15561556
1557-
##### Using CString ===> smaller heap (120,880 bytes)
1557+
##### Using CString ===> smaller heap (112,772 bytes)
15581558
15591559
```cpp
15601560
Start Async_AdvancedWebServer_MemoryIssues_Send_CString on ESP32_DEV with ESP32_ENC28J60
@@ -1586,7 +1586,7 @@ HEAP DATA - Post Send Max heap: 322992 Free heap: 210148 Used heap: 112772
15861586
While using `Arduino String`, the HEAP usage is very large
15871587

15881588

1589-
#### Async_AdvancedWebServer_MemoryIssues_SendArduinoString ===> very large heap (152,136 bytes)
1589+
#### Async_AdvancedWebServer_MemoryIssues_SendArduinoString ===> very large heap (143,988 bytes)
15901590

15911591
```cpp
15921592
Start Async_AdvancedWebServer_MemoryIssues_SendArduinoString on ESP32_DEV with ESP32_ENC28J60

0 commit comments

Comments
 (0)