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

WiFi Health Tool #148

Open
bplattenburg opened this issue Aug 30, 2024 · 0 comments
Open

WiFi Health Tool #148

bplattenburg opened this issue Aug 30, 2024 · 0 comments

Comments

@bplattenburg
Copy link
Member

Add a new tool to check the health of the local WiFi network. This includes both a UI and a HealthMetricProvider implementation. We should be able to leverage Apple's NEHotspotNetwork and related code to get the data.

This tool gets the values for first whether WiFi is connected, and if it is the ssid, bssid (the specific access point, useful to see if a single AP is overloaded), and signalStrength (based on rssi but not synonymous, see https://developer.apple.com/documentation/networkextension/nehotspotnetwork/1618923-signalstrength) of the connected network.

The UI simply displays all these values

The HealthMetricProvider always provides the same connected boolean, and if connected the ssid, bssid, and signalStrength as the UI.

Its 'healthy boolean is somewhat configurable:

  • if the device is not connected to WiFi it is always unhealthy
  • If the ssid does not match an optional configuration value of "expectedSSID", it is unhealthy (covers enterprise scenarios where the customer wants to validate the devices are on the correct WiFi with the other peers).
  • If the signalStrength is below an optional configured minimum value.
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

1 participant