Search found 6 matches

by mikea101
Wed Sep 23, 2020 3:55 pm
Forum: ESP-IDF
Topic: esp_http_client - How to POST Chunked Data?
Replies: 3
Views: 10438

Re: esp_http_client - How to POST Chunked Data?

Thanks boarchuz, this is the way to do it. I have this working and there are some details/corrections I can add:

You do NOT need to do "esp_http_client_set_header(client, "Transfer-Encoding", "chunked");"

Instead, you do this:
esp_http_client_open(client, -1);

When you open with a write_len of ...
by mikea101
Sat Sep 12, 2020 6:25 pm
Forum: ESP-IDF
Topic: esp_http_client - How to POST Chunked Data?
Replies: 3
Views: 10438

esp_http_client - How to POST Chunked Data?

I need to be able to POST large amounts of data to a server. That is, the size of the data exceeds the ESP32 memory size (to big to malloc)

However, I cannot find any esp_http_client documentation or examples to do this as a chunked transfer.
by mikea101
Sat Sep 12, 2020 6:22 pm
Forum: ESP-IDF
Topic: esp_http_client chunked REQUEST
Replies: 1
Views: 3494

Re: esp_http_client chunked REQUEST

Espressif: Any solution for this?

Without a chunked method, the esp_http_client is not very useful!!
by mikea101
Tue Aug 13, 2019 1:10 am
Forum: Hardware
Topic: Proper EMAC/PHY design: RMII Timing Documentation Missing
Replies: 3
Views: 9087

Proper EMAC/PHY design: RMII Timing Documentation Missing

EMAC RMII Timing Documentation Missing
I have combed through the ESP32 and WROOM documentation and cannot find any information on the EMAC signal AC specifications such as:
Clock-to-out timing of outputs such as transmit data TXD[0,1], TX_EN
Input setup/hold times for input signals such as RXD[0,1 ...
by mikea101
Tue Dec 04, 2018 7:56 pm
Forum: Report Bugs
Topic: Function getpeername() doesn't work, trying to determine remote IP Address
Replies: 1
Views: 6926

Function getpeername() doesn't work, trying to determine remote IP Address

Hi,

I'm trying to determine the remote IP of a browser connected to the HTTP server (httpd).

When I use the function getpeername() to get the IP address of the remote client browser it is always "0.0.0.0" (which is wrong).


esp_err_t MyHttpHandler(httpd_req_t *req)
{
int len = 0;
char buf[200 ...
by mikea101
Wed Nov 21, 2018 7:14 pm
Forum: General Discussion
Topic: Custom 404 handler for HTTP Server?
Replies: 0
Views: 2517

Custom 404 handler for HTTP Server?

Hi,

How does one handle the case of a URI that doesn't match one of the httpd_register_uri_handler() handlers?

By default it generates the response: "This URI doesn't exist"

I want to be able to make a custom response.

Thanks.

Go to advanced search