You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the HttpClient library and I have an issue, where whenever i call the GET function my controller completly stops working. It does not actually crash, but rather it seems like it is locked. I am not able to reach the controller at that point or get any serial communication. The only way to get it back to working is to actually reset the controller.
I am using a Arduino Pico with a W5500 ethernet board, through which it is connected to the internet.
This is the relevant code snippet. After this point no more code is executed. Is there a problem with using the HttpClient library using Ethernet?
I also tried to make an effort to understand where in the library the lock occurs and where i ende up was, that once the following line is executed the controller is in a lock: tcp_pcb* pcb = tcp_new();
It is hard for me to say, whether the problem lies here, but this is where i ended up. If i am correct in my assesment, is this issue related to https://github.com/earlephilhower/arduino-pico/issues/775? Does this issue occur since the lwip_w5500 library is not ported yet?
If you need any additional information please let me know. Thank you
The text was updated successfully, but these errors were encountered:
The HTTPClient library in this core only uses the WiFiClient object that goes through LWIP and ends up in the CYW... wifi chip driver. Thus works only on a Pico W. So yes it's exactly that issue #775.
If you want this to work right now, you'd either need to work directly with the EthernetClient class provided by Ethernet.h (example), or clone + modify the HTTPClient library to use a EthernetClient instead of a WiFiClient at its base.
If you are using HTTPS, you further need an EthernetClientSecure thing.
Hi,
I am using the HttpClient library and I have an issue, where whenever i call the GET function my controller completly stops working. It does not actually crash, but rather it seems like it is locked. I am not able to reach the controller at that point or get any serial communication. The only way to get it back to working is to actually reset the controller.
I am using a Arduino Pico with a W5500 ethernet board, through which it is connected to the internet.
This is the relevant code snippet. After this point no more code is executed. Is there a problem with using the HttpClient library using Ethernet?
I also tried to make an effort to understand where in the library the lock occurs and where i ende up was, that once the following line is executed the controller is in a lock:
tcp_pcb* pcb = tcp_new();
It is hard for me to say, whether the problem lies here, but this is where i ended up. If i am correct in my assesment, is this issue related to https://github.com/earlephilhower/arduino-pico/issues/775? Does this issue occur since the lwip_w5500 library is not ported yet?
If you need any additional information please let me know. Thank you
The text was updated successfully, but these errors were encountered: