Search found 28 matches

by pdemianczuk
Tue May 25, 2021 10:54 am
Forum: ESP-IDF
Topic: inncorrect length of esp_http_client_read()
Replies: 0
Views: 1164

inncorrect length of esp_http_client_read()

Hi,
I use example eth basic with W5500 by SPI;
I have tried read data from server;

On 4 attempt is everything ok

on 5 attempt I have read inncorect part of data and I cannt contiunue process
by pdemianczuk
Mon May 24, 2021 3:22 pm
Forum: ESP-IDF
Topic: how debug, configure or resolve problem with http_client and LWIP
Replies: 0
Views: 1242

how debug, configure or resolve problem with http_client and LWIP

Hi, I have strange situatuion; I have WROOM ESP32D , run example ethernet with W5500 by SPI; ESP32 with wiznet is connecting by RJ45 to router/access point; example works when I have resposne GET from my laptop in connection peer-to-peer; dhcp run on laptop; Zrzut ekranu z 2021-05-24 16-52-37.png I ...
by pdemianczuk
Fri May 14, 2021 11:13 am
Forum: ESP-IDF
Topic: Ethernet-WiFi bridge with ENC28J60
Replies: 2
Views: 3580

Re: Ethernet-WiFi bridge with ENC28J60

Hi, I think you should use functuon esp_read_mac(...) from <esp_system.h> module. you migh use the array of mac like a globall value or include appropriate function. uchar mac_base[6] = {0}; esp_read_mac(mac_base,0); if you were read/check this value (for some logs or something) in appropriate way, ...
by pdemianczuk
Thu May 13, 2021 2:16 pm
Forum: ESP-IDF
Topic: debuging http_client and LWIP
Replies: 2
Views: 2560

Re: debuging http_client and LWIP

Any could help me, and know what it mean? I have problem with packet or rather fragments of packet. for example (screen 2nd) I have recieved 11799 B of 48000. And debug logs isn't tell me anything or I cant read logs appropriate is ZZZ value says how many Bytes I have already read? but it dosnt make...
by pdemianczuk
Mon May 10, 2021 1:26 pm
Forum: ESP-IDF
Topic: debuging http_client and LWIP
Replies: 2
Views: 2560

debuging http_client and LWIP

I have some problem with downloading files from server. Do anyone knows what does mean log tcp_recved:(in LWIP comopnent); esspecialy the last value in (ZZZ) I think that wnd does mean size availe window_buffor for TCP; tcp_recved: received XXX bytes, wnd YYYY, (ZZZ) Zrzut ekranu z 2021-05-10 14-23-...
by pdemianczuk
Tue May 04, 2021 7:47 am
Forum: ESP-IDF
Topic: Add custom headers to OTA update
Replies: 4
Views: 5482

Re: Add custom headers to OTA update

Thank you, indeed Callback solve this aspect.
by pdemianczuk
Fri Apr 23, 2021 11:36 am
Forum: ESP-IDF
Topic: Add custom headers to OTA update
Replies: 4
Views: 5482

Re: Add custom headers to OTA update

If I understand well, the method/function esp_http_client_set_header(...) base on esp_http_client and used a param whis is type esp_http_client_handle_t but functions esp_https_ota_get_img_desc(...) or esp_https_ota_perform(...) used a param https_ota_handle_t and this a diffrent object/type Am I ri...
by pdemianczuk
Wed Feb 17, 2021 1:14 pm
Forum: ESP-IDF
Topic: ESP32 Ethernet basic example + W5500 external by SPI - problem to get IP
Replies: 7
Views: 14114

Re: ESP32 Ethernet basic example + W5500 external by SPI - problem to get IP

The problem was solved. Probably configuration for PIN Interrupt oraz quality of connection (wires) was a problem.
The topic is to closed.
by pdemianczuk
Fri Jan 15, 2021 3:06 pm
Forum: ESP-IDF
Topic: ESP32 Ethernet basic example + W5500 external by SPI - problem to get IP
Replies: 7
Views: 14114

Re: ESP32 Ethernet basic example + W5500 external by SPI - problem to get IP

Do anyone know what could be interesting in this log?
I see something in DHCP frame with string "espressif"
Zrzut ekranu z 2021-01-15 16-02-22.png
wireshark frames
Zrzut ekranu z 2021-01-15 16-02-22.png (214.83 KiB) Viewed 14039 times
by pdemianczuk
Fri Jan 15, 2021 2:26 pm
Forum: ESP-IDF
Topic: ESP32 Ethernet basic example + W5500 external by SPI - problem to get IP
Replies: 7
Views: 14114

Re: ESP32 Ethernet basic example + W5500 external by SPI - problem to get IP

thx @falmue In reference to your post, I had made next instance of project on example and I did this mistake. Thx for your attention ;) but the problem with IP is still exist Zrzut ekranu z 2021-01-15 15-20-25.png Could share your sdk file? maybe some setting is LWIP section is imporatant. update: i...