Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate functionality for Communication #2

Open
ms1963 opened this issue Feb 27, 2021 · 2 comments
Open

Separate functionality for Communication #2

ms1963 opened this issue Feb 27, 2021 · 2 comments

Comments

@ms1963
Copy link

ms1963 commented Feb 27, 2021

Just an idea.
I know, this is going to be a Webserver using ESP8266 and RPi Pico.
My suggestion would be to separate communication from all other functionality by introducing a separate WiFi class in charge of handling initialization, connection establishment and data transfer.
Doing this, the project would offer two benefits: providing an example for combining Pico with the ESP8266, AND,
offering a library so that others could build their own WiFi-based examples. This library could provide a simular interface such as Wireless (from pythonwifi.iwLibs) or other proven libraries.

@s60sc
Copy link
Owner

s60sc commented Feb 27, 2021

A good point, but I wrote it as an exercise - I'm still using ESP32s for my projects. Someone else is welcome to improve it, it could also be simplified as I used it to try out various concepts in the Pico SDK.

@ms1963
Copy link
Author

ms1963 commented Feb 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants