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

WIP: Network Refactor #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

WIP: Network Refactor #39

wants to merge 2 commits into from

Conversation

keenanjohnson
Copy link
Member

@keenanjohnson keenanjohnson commented Jul 27, 2023

Objectives

  • Support GSM modems
  • Support Ethernet featherwings
  • Support Wifi in AP mode

@keenanjohnson keenanjohnson changed the title WIP: Keenan network WIP: Network Refactor Jul 27, 2023
@keenanjohnson
Copy link
Member Author

There is still some remaining work to here to investigate whether it's possible to automatically detect the network hardware and switch to the correct network settings.

The benefit of this is that for users building the Frog kit with a cellular modem, wouldn't have to use Curl / a command line tool to change the network config and existing Frogs could be updated with no config changes.

I am imagining for example the priority would be:

  1. Ethernet
  2. Wifi
  3. Cellular

So the algorithm in my head would be:

  • IF Ethernet hardware is installed
    • THEN set the config to ethernet
  • ELSE IF Wifi configuration (SSID and password) are set
    • THEN set config to WIFI
  • ELSE Then assume a cellular connection and set config to cellular

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

Successfully merging this pull request may close these issues.

2 participants