Skip to content

feat(wifi): enhance error handling for Wi-Fi connection failures - #2355

Merged
sharjeelyunus merged 1 commit into
mainfrom
connect-to-wifi-fixes
Aug 31, 2026
Merged

feat(wifi): enhance error handling for Wi-Fi connection failures#2355
sharjeelyunus merged 1 commit into
mainfrom
connect-to-wifi-fixes

Conversation

@sharjeelyunus

Copy link
Copy Markdown
Member
  • Introduced WifiLocationDisabledException and WifiPermissionDeniedException to handle specific error cases when location services are disabled or permission is denied.
  • Updated _handleWifiError to accept a status parameter for more informative error handling.
  • Added new callback parameters onPermissionDenied and onLocationDisabled to ConnectToWifiAction for improved user feedback.
  • Updated documentation to reflect new error handling mechanisms and callback parameters.

- Introduced `WifiLocationDisabledException` and `WifiPermissionDeniedException` to handle specific error cases when location services are disabled or permission is denied.
- Updated `_handleWifiError` to accept a status parameter for more informative error handling.
- Added new callback parameters `onPermissionDenied` and `onLocationDisabled` to `ConnectToWifiAction` for improved user feedback.
- Updated documentation to reflect new error handling mechanisms and callback parameters.
@sharjeelyunus
sharjeelyunus requested a review from M-Talha4 August 27, 2026 13:23
@sharjeelyunus sharjeelyunus self-assigned this Aug 27, 2026
@sharjeelyunus sharjeelyunus added the bug Something isn't working label Aug 27, 2026
@sharjeelyunus
sharjeelyunus merged commit 91e71af into main Aug 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ensemble_wifi: Add explicit permission and location-disabled callbacks for connectToWifi

2 participants