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

[esp8266] Investigate direct HTTP AT Commands #2

Open
kammce opened this issue Mar 10, 2024 · 0 comments
Open

[esp8266] Investigate direct HTTP AT Commands #2

kammce opened this issue Mar 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kammce
Copy link
Member

kammce commented Mar 10, 2024

See the various helper AT commands here: https://docs.espressif.com/projects/esp-at/en/release-v2.2.0.0_esp8266/AT_Command_Set/HTTP_AT_Commands.html

The benefits of using these commands are:

  1. Reduced boiler plate for users. NOTE: that this is a weak argument as utility functions could be made to perform this boilerplate.
  2. Reduction in .rodata size due to smaller strings. Before a whole HTTP request header had to be passed to the server_write function. With this, only the URLs and payload template strings data must be stored in flash.
  3. Receive buffers become smaller? This depends on what the devices respond with. If the HTTP headers are removed, then this reduces the size required for the serial buffer and the receive buffers. Otherwise, this doesn't help in this regard.
@kammce kammce added the enhancement New feature or request label Mar 10, 2024
@kammce kammce transferred this issue from libhal/libhal-esp8266 Aug 18, 2024
@kammce kammce changed the title Investigate direct HTTP AT Commands [esp8266] Investigate direct HTTP AT Commands Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant