Replies: 3 comments 2 replies
-
Why not post something in the author's repo directly? Might be much faster getting answers straight from the author... |
Beta Was this translation helpful? Give feedback.
-
Thanks, I did that but no response so far. Let me ask this then: Since the compile failed because "'class CRC32' has no member named 'add'", is there another CRC32 library that is compatible with the Arduino-Pico core that does have an "add" member function? |
Beta Was this translation helpful? Give feedback.
-
To wrap this up - mission accomplished, the very nice WiFi Manager is working on the PicoW. I believe the CRC32 library in the original was this one: https://github.com/RobTillaart/CRC/releases But my example uses the one that can be obtained with the Arduino Library Manager and it does the job as well. The captive portal will come up on a fresh PicoW and allow you to enter the network WiFi credentials, which will be used thereafter, a nice library. As promised, my minimal example is attached. |
Beta Was this translation helpful? Give feedback.
-
I've got a PicoW webserver running using the AsyncWebServer library but the wi-fi credentials have to be manually edited. The ESP32 world has a WiFi credentials manager that first brings the PicoW up in AP mode so the network credentials can be entered. They are stored in pseudo-EEPROM and can be used from that point on. This is a really nice feature to have - especially when non-technical users are involved.
This project has implemented the same for the PicoW using the Arduino-Pico core:
https://github.com/mthorley/wifimanager-pico
My problem is, there are no examples or any information (at my level) to explain how to use it. I've written a test program based on my best guess but it failed first because it needed a CRC32 library. So I installed CRC32 from the Arduino library manager and now it fails because that library has no "Add" function. So I reckon I guessed wrong and there's another CRC32 library - somewhere.
If anyone has used mthorley's library and could help me get it going I'd appreciate it and in return I'll document a working example for others. Or, if there are other WiFi Managers that work the same way, that would be OK too. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions