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

(EVK) Initial provisioning fails over Ethernet #363

Open
nseidle opened this issue Jun 19, 2024 · 0 comments
Open

(EVK) Initial provisioning fails over Ethernet #363

nseidle opened this issue Jun 19, 2024 · 0 comments
Assignees

Comments

@nseidle
Copy link
Member

nseidle commented Jun 19, 2024

The device should use ethernet, if available, to provision/update keys during POR.

To replicate:

  • Factory reset
  • Disable network failover
  • Set default network to ethernet
  • Enable PointPerfect
  • Exit menus to save settings
  • Reset the device

Device will fail to provision because in States.ino the line:

else if (wifiNetworkCount() == 0 && strlen(settings.pointPerfectCurrentKey) == 0)

is WiFi centric.

Instead, we should check for ethernet connectivity as well and enter STATE_KEYS_PROVISION_WIFI_STARTED (please rename states as needed) or add states to start ethernet.

@nseidle nseidle changed the title Getting keys over Ethernet or WiFi Initial provisioning fails over Ethernet Jun 19, 2024
@nseidle nseidle changed the title Initial provisioning fails over Ethernet (EVK) Initial provisioning fails over Ethernet Jun 19, 2024
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