Replies: 4 comments 6 replies
-
the WiFi library for Pico W uses the LwIP TCP/IP stack from the Pico SDK and an implementation for the Pico W WiFi chip as network interface for LwIP. But your Challenger boards have esp32 for WiFi. To integrate it with LwIP in RP2040 (or any other host MCU with LwIP stack), the esp32 would have to run a firmware which would allow implementation of LwIP network interface on host MCU. |
Beta Was this translation helpful? Give feedback.
-
You need to be able to send and receive packets at the ETH link layer and pass to the LWIP stack running on the Pico cores. Then you'd subclass the lwip_XXX (see the ESP8266 libraries for W5100/W5500/ENC28J) and provide the ~4 or 5 methods and "things would just work." Hooking in at the IP layer seems like it would be a challenge. Not sure LWIP provides for that. |
Beta Was this translation helpful? Give feedback.
-
Another option might be to implement a subclass of Things like the webserver and httpclient should be able to work with that (potentially with some template adjustments) |
Beta Was this translation helpful? Give feedback.
-
So I've started to play around with different type of implementations for this and I have come up with something that works pretty seamlessly in the Arduino environmen, although not the prettiest solution. Would this master...PontusO:arduino-pico:dev-add-espat-support be an acceptable solution to this. Note, only the WiFiClass has been ported but it builds and works for both the pico-w and ESPAT boards. |
Beta Was this translation helpful? Give feedback.
-
I am currently looking into adding support for the Challenger series WiFi boards into the new WiFi library.
It seems to me that adding the WiFi functions is rather simple (although I can not see any real driver API) but I am unsure how the MAC later would integrate towards our AT based higher level TCP/UDP stuff.
Beta Was this translation helpful? Give feedback.
All reactions