Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TW#28560] OTA Buffer Size #2998

Closed
gregjesl opened this issue Jan 28, 2019 · 0 comments
Closed

[TW#28560] OTA Buffer Size #2998

gregjesl opened this issue Jan 28, 2019 · 0 comments

Comments

@gregjesl
Copy link
Contributor

The OTA buffer used in esp_https_ota is currently a fixed size:

We are hosting our binaries using Azure Functions. Azure Functions will close connections after five minutes (see the Azure Functions documentation). With a buffer size of 256, we often experience a timeout. We can fix the issue by changing the size of the OTA buffer but currently the only way to do so is by forking and modifying the IDF.

I'd like to propose a change: instead of fixing the OTA buffer size, set the OTA buffer size to the same value as buffer_size in esp_http_client_config_t.

@Alvin1Zhang Alvin1Zhang changed the title OTA Buffer Size [TW#28560] OTA Buffer Size Jan 29, 2019
@igrr igrr closed this as completed in b912d0f Jan 31, 2019
0xFEEDC0DE64 pushed a commit to 0xFEEDC0DE64/esp-idf that referenced this issue May 5, 2021
* add timed wait

* Added Notification/Indication data and status callbacks

* imply null-object pattern for BLE callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant