Search found 10 matches

by MikeWazowski
Mon May 27, 2019 6:44 am
Forum: ESP-IDF
Topic: Is there an HTTP client download file example?
Replies: 4
Views: 9223

Is there an HTTP client download file example?

Is there an HTTP client download file example?

ESP_HTTP_CLIENT example with stream reader can give us a size of file, but it doesn't explain how to retrieve the data.
by MikeWazowski
Wed May 15, 2019 6:55 am
Forum: ESP-IDF
Topic: IP forwarding
Replies: 1
Views: 3628

Re: IP forwarding

So by debugging, I can see that E3 is receiving information about retransmission inside "ip4_route_src_hook()" in ip4.c once IP_FORWARD is set to 1, but HTTP requests still fail.

Still looking for help.

On picture E1 - > E2 -> E3 in order.
by MikeWazowski
Mon May 13, 2019 9:26 am
Forum: ESP-IDF
Topic: IP forwarding
Replies: 1
Views: 3628

IP forwarding

Hi, I am trying to setup IP forwarding in a setup with 3 devices (E1 -> E2 -> E3). I want to send HTTP request from device E1 to device E3 by requesting directly with E3's IP address. I have tried setting "#define IP_FORWARD 1" inside \esp-idf\components\lwip\lwip\src\include\lwip\opt.h, but it did ...
by MikeWazowski
Mon May 13, 2019 9:07 am
Forum: ESP-IDF
Topic: HTTP request in APSTA can only request from AP nodes.
Replies: 2
Views: 3725

Re: HTTP request in APSTA can only request from AP nodes.

Manually assigning IP configuration worked for me.

One of the devices IP and gateway were 192.168.4.X and another 192.168.5.X and they could send HTTP requests.
by MikeWazowski
Fri May 10, 2019 2:38 pm
Forum: ESP-IDF
Topic: HTTP request in APSTA can only request from AP nodes.
Replies: 2
Views: 3725

HTTP request in APSTA can only request from AP nodes.

Hi, Similar question has been asked before: https://www.esp32.com/viewtopic.php?t=6241 But there was no solution provided. The issue is that in APSTA mode, HTTP request can only be sent to devices connected to the AP of my device, but I would like to be able to send requests from the perspective of ...
by MikeWazowski
Tue May 07, 2019 1:14 pm
Forum: ESP-IDF
Topic: How to read downloaded HTTP chunked data?
Replies: 1
Views: 4174

Re: How to read downloaded HTTP chunked data?

esp_http_client_read() seems to do the work.
by MikeWazowski
Fri May 03, 2019 8:32 am
Forum: ESP-IDF
Topic: How to read downloaded HTTP chunked data?
Replies: 1
Views: 4174

How to read downloaded HTTP chunked data?

In the esp_http_client example I am able to get a "200 OK" response in function http_download_chunk(). This indicates chunked data has been successfully downloaded, but how do I read this data as I could not find an API function in HTTP Client to do so. Only way I could access data was through HTTP_...
by MikeWazowski
Fri Apr 12, 2019 8:19 am
Forum: ESP-IDF
Topic: SoftAP + Mesh
Replies: 0
Views: 2876

SoftAP + Mesh

Is it possible to run a mesh network without a router and have each node as access point so that a phone could connect to them? Combining softAP and mesh examples resulted in mesh running normally and an access point occasionally appearing with some number as SSID (not the one defined in my applicat...
by MikeWazowski
Tue Apr 09, 2019 8:34 am
Forum: ESP-IDF
Topic: Merge mesh networks into one.
Replies: 2
Views: 4101

Re: Merge mesh networks into one.

Thank You for response! Just a couple more follow-up questions: Is it possible to change manual root/not-root node configuration during runtime? If yes is there a way to fake the router by manually setting SSID and RSSI? Or if two routerless networks clash, is it possible for either of them to detec...
by MikeWazowski
Mon Apr 08, 2019 12:06 pm
Forum: ESP-IDF
Topic: Merge mesh networks into one.
Replies: 2
Views: 4101

Merge mesh networks into one.

I would like to have a mesh network without using a router. The idea is that a network tries to interconnect as many nodes as possible, but each node may "come and go", so it is impossible to manually assign a SINGLE root node. How would it be possible to elect one node as a root and, if two such ne...