Hi Pontus,
I just released version 1.1.0 of my library: https://github.com/bablokb/circuitpytho ... /tag/1.1.0
This release now supports multiple concurrent connections and is as far as I am concerned feature-complete with respect to the native wifi implementation of CircuitPython.
Note that the library should also fully support the RP2040-Wifi MKII (with the ESP32C3) and also the RP2040-Wifi (with the ESP8285) in client mode only (depending on the AT-firmware loaded, it should be something like 2.2.0.0).
I do suggest that you update the firmware and change the number of concurrent connections allowed. The internal TCP/IP stack already allows for 10 (lwip) connections, but the AT interface limits this to 5. I changed this also to 10 on my builds, and this prevents "connection refused" messages in the browser if it opens more than 5 connections. You can find instructions in the document "doc/at_firmware_compile.md" in my repo.
I am happy to test this if you provide an uf2 of your RP2040 flashing utility.
Bernhard
RP2350+Wifi6+BLE: Adding wifi support for CircuitPython
Re: RP2350+Wifi6+BLE: Adding wifi support for CircuitPython
We have created a beta-release for the latest tag from Espressif (v4.0.0.0) of the esp-at interpreter for our Challenger+ RP2350 WiFi6/BLE5 board.
We also created a new format for running FW updates were you get a single self contained UF2 file for downloading directly to your Challenger which will then perform the update automatically. No more messing with esptool will now be needed.
This beta uses all default settings for the build so it should be fairly compatible with the previous version.
Upgrades for the older Challenger RP2040 WiFI/BLE which uses the ESP32C3 will follow shortly but we want to verify that everything works as expected before branching out to other products.
We also created a new format for running FW updates were you get a single self contained UF2 file for downloading directly to your Challenger which will then perform the update automatically. No more messing with esptool will now be needed.
This beta uses all default settings for the build so it should be fairly compatible with the previous version.
Upgrades for the older Challenger RP2040 WiFI/BLE which uses the ESP32C3 will follow shortly but we want to verify that everything works as expected before branching out to other products.
- Attachments
-
- 95-00314-1_loader_V1.0_espat_V4.0.0.0.zip
- (1.1 MiB) Downloaded 152 times
Re: RP2350+Wifi6+BLE: Adding wifi support for CircuitPython
Works fine:
I would still recommend changing the defaults for max-connections from 5 to 10.
Otherwise: will you publish the code for the new loader to enable users to create their own version (e.g. with specific firmware)?
Thanks!
Code: Select all
main.py Ausgabe:
running on board challenger_rp2350_wifi6_ble5
initializing co-processor with default uart-baudrate
AT version:4.0.0.0(3fe3806 - ESP32C6 - Dec 29 2023 11:10:21)
Otherwise: will you publish the code for the new loader to enable users to create their own version (e.g. with specific firmware)?
Thanks!
Re: RP2350+Wifi6+BLE: Adding wifi support for CircuitPython
Thank you very much for checking the fw out.
This first beta is simply to verify that nothing major is broken when moving up to this new version. I will do some additional configuring among other things the max connections so there will be a beta2 as well with all the new settings.
The code used to create the self contained package is available here: https://github.com/PontusO/esp-serial-flasher
And when tested and ready the esp-at interpreter will be uploaded here: https://github.com/PontusO/esp-at
So all is open for anyone to make modifications to.
This first beta is simply to verify that nothing major is broken when moving up to this new version. I will do some additional configuring among other things the max connections so there will be a beta2 as well with all the new settings.
The code used to create the self contained package is available here: https://github.com/PontusO/esp-serial-flasher
And when tested and ready the esp-at interpreter will be uploaded here: https://github.com/PontusO/esp-at
So all is open for anyone to make modifications to.
Re: RP2350+Wifi6+BLE: Adding wifi support for CircuitPython
I actually found that repository but did not identify it as relevant.
I will test building the uf2 too. Seems straightforward.
If there is anything else to test, just ping me.
I will test building the uf2 too. Seems straightforward.
If there is anything else to test, just ping me.
Re: RP2350+Wifi6+BLE: Adding wifi support for CircuitPython
Here's an updated version with support for 10 sockets, if you have to possibility to run all 10 sockets simultaneously it would be great.
/P
/P
- Attachments
-
- 95-00314-1_loader_V1.0_espat_V4.0.0.0-beta2.uf2.zip
- (1.04 MiB) Downloaded 146 times