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

Commit

Permalink
v1.2.0 to save heap when sending large data
Browse files Browse the repository at this point in the history
### Release v1.2.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
  • Loading branch information
khoih-prog committed Oct 3, 2022
1 parent 51d3fd1 commit 7c0a410
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/MQTT_ThingStream/MQTT_ThingStream.ino
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(115200);
while (!Serial);
while (!Serial && millis() < 5000);

Serial.print("\nStart MQTT_ThingStream on "); Serial.print(BOARD_NAME);
Serial.print(" with "); Serial.println(SHIELD_TYPE);
Expand Down
2 changes: 1 addition & 1 deletion examples/WebClient/WebClient.ino
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(115200);
while (!Serial);
while (!Serial && millis() < 5000);

Serial.print("\nStart WebClient on "); Serial.print(BOARD_NAME);
Serial.print(" with "); Serial.println(SHIELD_TYPE);
Expand Down
2 changes: 1 addition & 1 deletion examples/WebClientRepeating/WebClientRepeating.ino
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(115200);
while (!Serial);
while (!Serial && millis() < 5000);

Serial.print("\nStart WebClientRepeating on "); Serial.print(BOARD_NAME);
Serial.print(" with "); Serial.println(SHIELD_TYPE);
Expand Down

0 comments on commit 7c0a410

Please sign in to comment.